Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS ie css problem…

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #32862
    slev
    Member

    Hi im new to here, css and dreamweaver.

    ive made this basic site http://www.pegasusproperty.co.uk and it works fine in firefox, safari, chrome ect but in internet explorer the text is always thrown to the left any ideas ? heres the css for the first page?



    #wrapper-home {
    height:500px;
    width:500px;
    margin:100px auto;
    }


    #PP-circle {
    height:300px;
    width:300px;
    margin:auto auto 30px auto;
    }


    #pp-text {
    margin:auto;
    padding-bottom:5px;
    width:320px;
    border-bottom:1px #333 solid;
    }

    #pp-text h1 {
    font-family:Century Gothic, futura;
    font-size:18px;
    color:#333333;
    font-style:normal;
    text-align:center;
    line-height:150%;
    margin:auto;
    width:320px;
    }



    #enter {
    font-family:Century Gothic, futura;
    font-size:20px;
    color:#333333;
    font-style:normal;
    text-align:center;
    margin:30px auto;
    }



    #enter a:link {color:#333333;text-decoration:none; font-family:Century Gothic, futura;}
    #enter a:visited {color:#333333;text-decoration:none; font-family:Century Gothic, futura;}
    #enter a:active {color:#333333;text-decoration:none; font-family:Century Gothic, futura;}
    #enter a:focus {color:#333333;text-decoration:none; font-family:Century Gothic, futura;}
    #enter a:hover {color:#333333;text-decoration:none; font-family:Century Gothic, futura;}

    #75458
    slev
    Member

    bump?

    #75459
    TheDoc
    Member

    You are missing a doctype.

    #75439
    slev
    Member

    is the doc type in the html or the css ? which is the right doctype i need ?

    #75440
    TheDoc
    Member

    The doctype goes in the html. It’s the very first thing in any file.

    https://css-tricks.com/snippets/html/the-common-doctypes/

    #75443
    slev
    Member

    thank you

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘CSS’ is closed to new topics and replies.