centering a div with xhtml strict [solved]

    Date: 02/26/05 (WebDesign)    Keywords: html, web, microsoft

    hi guys!

    before you all start shouting out: margin-left: auto; margin-right: auto; let me surprise you. I'm not after the obvious solution. i'm after the microsoft solution. (pls, don't kill me)

    i'm trying to get my website to validate through xhtml1.1 and i have it all nice and neat on firefox. but on IE the div won't center (unless i use the deprecated tag

    ).

    since i believe all users should be able to see a correct (even if lacking some effects) view of the website, i have to try to center this damned div. :P

    but i also want it to validate.

    So if anyone could help me out, i'd be thankful.

    edit
    solved. thanks to '[info]'geisha_doll

    Source: http://www.livejournal.com/community/webdesign/816361.html

« New here || please help »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home