Please Help, Before I Smash My Comp
- Boltrig
-
Boltrig
- Member since: Mar. 17, 2006
- Offline.
-
- Forum Stats
- Member
- Level 17
- Blank Slate
Ive just put up a new navbar to my site, but I cant get the spacing right.
If you take a look here.
I cant get the black spacing between the buttons to dissapear, despite the fact that Ive put the border=0 on every one.
Any suggestions?
Thanks in advance as always guys.
- theblinddevil
-
theblinddevil
- Member since: Jun. 5, 2004
- Offline.
-
- Forum Stats
- Member
- Level 25
- Blank Slate
Try this. It appears to work fine in i.e, firefox and opera. I changed quite a lot of stuff though. First of all, it was nowhere near validating as XHTML strict, so i changed it to transitional and also correctly ended (/>) some tags. You also had some tables without tr's or td's, and i moved some often-repeated stuff into the stylesheet (i assume you want ALL div's text-align:center'd and all images in the menu <td> are now set to 125px long and 30px high (you put them as 50px for some reason). After i did that the menu seemed to fix itself (maybe because i changed to xhtml transitional? who knows).
Your code now fully validates as XHTML Transitional and (as far as i know) works fine in the major browsers. If you don't like what i modified or if you need any help, just ask. Hope this helped :)
Gr
- theblinddevil
-
theblinddevil
- Member since: Jun. 5, 2004
- Offline.
-
- Forum Stats
- Member
- Level 25
- Blank Slate
grr sorry wouldn't let me post the code, here it is: http://paste-it.net/d599a45

