Forums

Cross Browser Compatability Help (4 posts)

  1. LPee
    Member
    Posted 11 months ago #

    Hey everyone,
    I'm a little new to coding but I've been doing my best getting my Wordpress site up and running from a template [the templates the newer Revolution 2 TV template btw].

    I've set up the template and it looks great in Firefox. I didn't really make any major changes. I installed everything basically by the book how the creator intended it to be installed.

    I'm finding I'm having a problem though when switching back and forth between IE and Firefox though. Basically the page loses its margins on either side and stops being centered.

    Here's a link to the temporary site
    http://telekast.quotaless.com/index/

    Firefox - http://i34.tinypic.com/dgpftt.png
    IE - http://i37.tinypic.com/2z81c77.png

    I'd really appreciate any help anyone could give me.
    Thanks :)

  2. chaoskaizer
    Member
    Posted 11 months ago #

    you can use "IE conditional comments" to tweak IE CSS.
    ref: http://www.quirksmode.org/css/condcom.html

  3. LPee
    Member
    Posted 11 months ago #

    Thanks for your help.
    I was gonna try loading up an "if IE" andload up another fixed style sheet.

    I just found the center code for IE though.
    body
    {_text-align:center;}
    #main
    { width:960px;
    margin:0 auto;
    _text-align:left;}

    It solved some of my problems.
    There's still a bit of a jaggedy texture to the IE version. I'll work some more on it tomorrow though and hopefully figure it out before I start populating the pages.

  4. chaoskaizer
    Member
    Posted 11 months ago #

    Im strongly against CSS hack. Those little hack for IE will actually bug another browser. My advice that you should write standards CSS as it will stay relevant with future browser and used IE conditional comments for tweaking IE browser specifically.

Reply

You must log in to post.

About this Topic