OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
Adding DOCTYPE causes CSS weirdness
This page's ID:
21967
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Before those questions can really be answered, there are a lot of things in the code that need addressing. 1) You should always have your doctype in place while designing/developing. That way there are no suprises when you add it. The doctype tells the browser how to interpret your code, based on the definition provided in the doctype declaration via the url. One thing I would recommend is using strict rather than transitional. Why? It tells the browser to stick to the standards. It makes it easier to be sure things work the way they should. 2) Using tables for layout in this case is *totally* unneccesary and is simply bad practice. This would be one of those old bad habits ;) 3) you vary a great deal in the way you use quotation marks in your tags. ANywhere you have a this="that", the "that" should be in quotes. You also should be using your CSS, preferably in an external stlyesheet (as opposed to using style="...") to specify the height/width/border of your boxes. 4) <font> tags :o The logo: the image is actually 101 pixels tall, yet in the HTML you specify it as 100px. I have to assume that is part of the problem. The <p> wrapped around can't help matters much either, nor can the fact that the background image is 150px. Getting all that straightened out should help matters..
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »