View Single Post
10-24-2011, 05:57 AM
#6
dgryan is offline dgryan
Status: Member
Join date: Jun 2009
Location: Syndey
Expertise: Ruby On Rails
Software:
 
Posts: 109
iTrader: 3 / 100%
 

dgryan is on a distinguished road

Send a message via Skype™ to dgryan

  Old

You're setting the width to 110px but you're also adding padding onto the button which will make it longer (122px?) by the looks of it.


do,

Code:
#nav a {
  float: left;
  height: 35px;
  line-height: 32px;
  padding: 0 0 0 10px;
  width: 100px; 
  text-transform: uppercase;
}
ps: you shouldn't use set width on navigation items, especially for people that don't have hardware acceleration (if someone zooms in more then once the text will be bigger then the button itself.)

And yes people do it.