Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

CSS and Doctypes

Options
  • 03-11-2004 2:56pm
    #1
    Closed Accounts Posts: 4,655 ✭✭✭


    I have seen the following doctype around

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;

    however when used in conjunction with css, specifically height:100% on certain <div> tags, it ignores it completely.

    But if I change the doctype to something else, say

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

    it works perfectly

    Can anyone answer why this is so


Comments

Advertisement