Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > How to apply width style to <a>

Reply
Thread Tools

How to apply width style to <a>

 
 
Disco Octopus
Guest
Posts: n/a
 
      05-06-2004
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


 
Reply With Quote
 
 
 
 
Andrew Urquhart
Guest
Posts: n/a
 
      05-06-2004
*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/


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Textbox width scaling to width of data not width of page? AndrewF ASP .Net 1 10-10-2005 04:38 PM
Need help with Style conversion from Style object to Style key/value collection. Ken Varn ASP .Net Building Controls 0 04-26-2004 07:06 PM
Apply style to a dynamic table in ASP.NET page Hardy Wang ASP .Net 2 04-14-2004 12:15 AM
how to apply css class style to web controls =?Utf-8?B?bnN2a2V5YW4=?= ASP .Net 1 02-20-2004 03:47 PM
[XSLT] could not apply "apply-templates" Stefan Siegl XML 1 07-18-2003 09:43 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57