Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   HTML (http://www.velocityreviews.com/forums/f31-html.html)
-   -   How to apply width style to <a> (http://www.velocityreviews.com/forums/t157937-how-to-apply-width-style-to-a.html)

Disco Octopus 05-06-2004 12:18 AM

How to apply width style to <a>
 
Hi,

How would I get this to work in Mozilaa browsers?....

<html>
<head>
<style type="text/css">
.fsuhcikt {width:100px; border:1px solid red;}
</style>
</head>

<body>
<p>
<a class="fsuhcikt" href="squeezmee.html">asdf</a>
</p>
</body>
</html>






In IE and Opera, I get the 100px wide link, but in Mozilla, it does not
resize at all.
Thanks



Andrew Urquhart 05-06-2004 12:33 AM

Re: How to apply width style to <a>
 
*Disco Octopus* wrote:
> How would I get this to work in Mozilaa browsers?....
>
> <html>
> <head>
> <style type="text/css">
> .fsuhcikt {width:100px; border:1px solid red;}
> </style>
> </head>
> <body>
> <p>
> <a class="fsuhcikt" href="squeezmee.html">asdf</a>
> </p>
> </body>
> </html>


display: block;

(BTW interesting class-name anagram)
--
Andrew Urquhart
- FAQ: www.html-faq.com
- Archive: www.google.com/groups?q=alt.html
- My reply address is invalid, use: www.andrewu.co.uk/contact/




All times are GMT. The time now is 08:03 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.