html Doctype help

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
Smackie
Forum Contributor
Posts: 302
Joined: Sat Jan 29, 2005 2:33 pm

html Doctype help

Post by Smackie »

Alright i recently added a Floating bar menu onto a site I'm working on. I added a doctype which makes it so IE7 will let it stay where its at when scrolling down the page. well in FireFox and other browsers the doctype is messing up my other menus that are on the page (not on the floating bar menu) I'm not sure if its the css or the html script im using is having issues with the doctype or what.

I even done a
Body { margin: 0px; padding: 0px; }
to see if that would change anything but nothing happens
and im clueless.

I have added a screen show of one of the menus to show you what its doing.

oh and here is the doctype im using
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Please help me
Thank you
Smackie
Attachments
Screenshot
Screenshot
FF.gif (3.11 KiB) Viewed 1779 times
User avatar
omniuni
Forum Regular
Posts: 738
Joined: Tue Jul 15, 2008 10:50 pm
Location: Carolina, USA

Re: html Doctype help

Post by omniuni »

I suspect this has to do with how you're fixing the menu, (I've done this successfully myself before), but without some code, or a link to the website, I can't begin to guess at how to fix it. Can you provide one of these? A link is preferable.
Post Reply