www.webdeveloper.com
Results 1 to 5 of 5

Thread: IE and FF hacks

  1. #1
    Join Date
    Jan 2005
    Location
    GŁtersloh / Europe
    Posts
    175

    IE and FF hacks

    can anybody tell me or link me with an overview of the diffent ways to talk with a specific browser,

    i seem to recal ppl saying for instance

    if you put a "/" or something infront of this or that, it would only be for IE or FF

    things like that

    i hope you know what i mean

    cheers

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654

  3. #3
    Join Date
    Jan 2005
    Location
    GŁtersloh / Europe
    Posts
    175
    yea, i found that site yesterday, but well it didnt seem very lets say straight forward to me...

    seeing as different things aply to different versions of different browsers... , my head is spinning allready

    but now that ive heard from you it IS actualy what im looking for, ill get my head stuck into it properly

    cheers

  4. #4
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    One very simple method to send different values to FF or IE:
    Code:
    #anyID {width:100px !important; width:200px;}
    FF understands the !important declaration so will use the value that comes before it.
    IE does not understand !important so uses the second value.
    FF > width:100px;
    IE > width:200px;

  5. #5
    Join Date
    Jan 2005
    Location
    GŁtersloh / Europe
    Posts
    175
    ah, thanx thats probably all i need

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles