formatting options?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • luminary4him
    New Member
    • Jun 2006
    • 4

    formatting options?

    Yes, like most everyone else here I am also building a site. ;) I am used to formatting with tables just because that's what I learned. However, I'm realizing that my formatting methods are not appreciated in FF like they are in IE. (My solution to something slightly off is to insert a "margin-left: -2px;" or something like that and I'm beginning to think that's not such a good idea...)

    Does anyone have any suggestions as far as methods of formatting your page. I know it is done, but obviously I'm not getting it.

    the page I'm working on can be viewed at http://www.healthy-connections.org/index2.php

    Thanks!
    Elizabeth
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    The problem is that your DOCTYPE is wrong it should be

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

    because it is wrong IE is working in quirks mode and interpreting your CSS values differently to everyone else.

    Fix this first.

    Then go to

    W3C's easy-to-use markup validation service, based on SGML and XML parsers.


    and validate you html and correct any errors.

    Then you may be able to get you page working correctly in IE and Firefox and everyone else.

    Comment

    Working...