3 Responsed To This Post
Subsribes to this topic Comment RSS or TrackBack URL
mygif_alt
corey Says, in 5-8-2007 at 13:14:17 from 66.109.231.50    

Hey I found you while doing a search for “link width firefox”. I have just wrestled with the same problem, setting the width property on a link tag in FF. Here’s how I got it to work on a document with no doc type….

a.navLink{ float: left; font: 15pt/22pt arial; font-weight: bold; margin: 0px 0px 0px 8px; width: 130px; border: 1px solid #768193; background-color: #FFFFFF; text-align: center; text-decoration: none; }
a.navLink:visited{ text-decoration: none; }
a.navLink:active{ text-decoration: none; }

Using the float property seems to achieve the display: block effect you’re looking for. Without the float: left, the links’ widths are defined by the length of the text. With the float, they obey your defined width value.

mygif
Christy Says, in 4-11-2008 at 02:11:11 from 62.213.86.252    

Do you really think this is new thing? Your blog is really good to me, I read it to get useful info, but sometimes I’m bored to tears.

Leave A Reply

 Username (*required)

 Email Address (*private)

 Website (*optional)

Inform me when someone post new message here

Please Note: Comments Moderation maybe active so there is no need to resubmit your comment
NeverBlue Offers