Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Need Help with my website CSS.

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #35062
    menaaboud
    Member

    Hello, My name is Mena, I’m Learning CSS more and more but i have problems with my website http://tangyandbrightdesigns.com css in IE9, and setting a specified css file for IE9 is kind a problem for me.

    could you help me out how to adjust my current CSS file or resources to help me figure it out right.

    Thank you,
    Mena

    #90250
    gilgimech
    Participant

    if you put these conditional comments at the beginning of your page just after the doctype you can use the html class to style for IE






    Just put the class .ie9 before the class or id you want to style

    for example

    .my-margins{
    margin:10px;
    }

    .ie9 .my-margins{
    margin:20px;
    }

    The conditional comments add a class to every html element on you page. If the visitor is using IE7 it adds the .ie7 class. If the visitor is using IE9 it adds the .ie9 class.

    Check out Paul Irish’s site for further explanation here.

    #90261
    menaaboud
    Member

    thank you :), will try it.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Other’ is closed to new topics and replies.