Results 1 to 4 of 4

Thread: How to create CSS for all browsers?

  1. #1
    Join Date
    Sep 2006
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to create CSS for all browsers?

    Hi,
    I want to creating CSS for all browsers:
    IE, FireFox, Netscape Navigator etc...
    what's the right methods?
    how to star?
    i have good information about CSS , but i have a problem with compatible with all browsers! for example: my web site is working 100% but on FirFox 80% !!!!!!!!!
    any idea or information please?
    thanks

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    run it through a validator Fix the errors and warnings that come up and it should be good to go.

    If not, post specifically what you are having problems with.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  3. #3
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by web.designer.iq View Post
    I want to creating CSS for all browsers:
    IE, FireFox, Netscape Navigator etc...
    what's the right methods?
    Start by authoring according to the HTML 4.01 and CSS 2/2.1 specifications. Ensure that you trigger "Standards" mode by including a complete document type declaration (DOCTYPE, including URI) and check your work primarily against browsers like Firefox and Opera. This will help you see what you're really asking the browser to render.

    If MSIE shows something different than other, better browsers then you may need to write rules especially for it. These can be added to a separate style sheet included using Microsoft's conditional comments.

    for example: my web site is working 100% but on FirFox 80% !!!!!!!!!
    That typically means that you're invoking rendering bugs in IE that other browsers aren't emulating.

    Mike

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Fix the errors and warnings that come up and it should be good to go.
    If it's working in IE but not Firefox, I suspect that validating will break it completely However, some things have to get worse before they can get better.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •