Look Different in Firework then IE

Discussion in 'HTML & Website Design' started by Cbrackett, Jun 16, 2009.

  1. #1
    I run into this problem all the time... Why is it that I design a site and it looks good in IE then I look at it in Firefox there is all kinds of problems... and visa versa....

    Anyone have any insight for me... Here is my latest example
    http://permanon-usa.com/

    I need to figure this out... Its important :confused:
     
    Cbrackett, Jun 16, 2009 IP
  2. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #2
    You mean Firefox, not Fireworks.

    The answer is simple. You are doing it backwards. You are writing your markup and looking at it in an antique browser. Then you look at a modern browser and want it to look the same. Ain't gonna happen.

    Never, ever use IE as a reference for anything. It's 11 years behind all other browsers in modern standards and practices and the worst browser, by far, on the planet. Always, always use any other browser to test your markup. Then look at IE to see if/when it screws things up. The hundreds of bugs in IE are known but so far the hacks to fix it.

    Part 2 of all this is you will never get IE to attempt to perform like the more modern browsers without a proper doctype. Add this to your first line:

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">

    Unfortunately it may make your page change a bit because now IE is being pulled into the 21st century but let us know what happens.
     
    drhowarddrfine, Jun 16, 2009 IP
  3. pipisdicelana

    pipisdicelana Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    dont use body style="text-align: center" use style='margin:auto;'

    and better to make a layout using Div's
     
    pipisdicelana, Jun 16, 2009 IP
  4. Cbrackett

    Cbrackett Peon

    Messages:
    93
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks guys,

    I have never used DIV tags for a page layout... What advanges does it give you... and where is the best place to go to read up on them?

    Thanks again!
     
    Cbrackett, Jun 17, 2009 IP