I should mention the page looks somewhat ok in IE7 but completely broken in FF2.0.
I know it has something to do with the tables, I know eww, but that’s the way site was built in the first place.
hey prosam
your doctype is wrong!
try this
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN”
“http://www.w3.org/TR/xhtml1/DTD/ xhtml1-transitional.dtd”>
the table is left aligned coz its not in the cente div add that and you should be good to go.
IE doesn’t care what you write in there but firefox is deligent!
Dude you’re awesome! I would’ve never figure that out. I will make a mental note of it.
Now the only thing out of whack is the gaps in the menu, there shouldn’t be any.
Any ideas?
Well I’ve tweaked as far as I could. All I need is to fix the menu and it’s good to go. If anyone can chime in on this I would really appreciate it.
Just hang this code onto the bottom of your style.css file and it’ll be dandy.
p.menulink {
margin-bottom: 0;
}
If you do not want the gap to be that small, change 0
to #px
(there must be no gap between the number and the px
!).
Incidentally, I don’t know what your control of the situation is but that site is not particularly pleasant HTML. You have tables in tables in tables, for god’s sake! What you’re doing in the sidebar could be so much easier done using a <ul>
element. Are you using Frontpage or something?
Please, it’ll be much less work for you if you use clean HTML; at least in future! Tables are so very rarely a good solution.
Yeah I know the HTML is quite horrid. I was not the original webmaster and I don’t get enough to clean that mess .
I have suggested several times that the site be overhauled but the owner does not want to spring for it.
Oh Well.
Thanks for the style update it fixed it right up.