* html for IE hack, *+html for IE7 only, for IE8 ??????

Discussion in 'CSS' started by robinko, Feb 2, 2009.

  1. #1
    I need to find hack code for IE8 only to fix margin:, left: or something to fix to position of view on screen. because my web look good in Firefox, Opera, Safari, Netscape and all IE except IE8.
    Thank you.
     
    robinko, Feb 2, 2009 IP
  2. katendarcy

    katendarcy Peon

    Messages:
    115
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Can you post the code or a link to the site with the problem? : )
     
    katendarcy, Feb 2, 2009 IP
  3. shallowink

    shallowink Well-Known Member

    Messages:
    1,218
    Likes Received:
    64
    Best Answers:
    2
    Trophy Points:
    150
    #3
    shallowink, Feb 2, 2009 IP
  4. robinko

    robinko Peon

    Messages:
    79
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I don't know the rule of this forum about leave the link.
    If you kindly visit here xiiuscom, please include "."
    I'm a stater theme develop for wordpress and very enjoy my hobby.
    Your theme of inditethewebcom is very nice.:cool:
     
    robinko, Feb 2, 2009 IP
  5. katendarcy

    katendarcy Peon

    Messages:
    115
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks, I appreciate the feedback. : )

    Now, about your site. I'm actually not running IE8 yet (!). (Sorry!) But, can you describe what the issue is? Obviously shallowink gave a solution of using conditionals, which would work. But, we might be able to get to the root of the problem if you give some more details. Up to you, though. : )
     
    katendarcy, Feb 3, 2009 IP
  6. shallowink

    shallowink Well-Known Member

    Messages:
    1,218
    Likes Received:
    64
    Best Answers:
    2
    Trophy Points:
    150
    #6
    Are you trying to fix the gap to the right of the blog in IE ? Is a small gap to the left too. That's showing up in IE7.
     
    shallowink, Feb 3, 2009 IP
  7. robinko

    robinko Peon

    Messages:
    79
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I try to shift text in left bar and right bar to right about 25px
    My CSS are here.
    /*Main page*/
    #container {padding-left: 175px; padding-right: 166px;}
    #container .column {position: relative; float: left; }
    #centrecontent {padding: 0px 15px 5px 10px;width: 100%; list-style:none; }

    /*Left bar*/
    #sidebar { text-align:left;float: left; width: 165px; padding: 0px 0px 0px 0px;margin:0px 0px 0px 0px; margin-left: -100%;right: 195px; }
    /* IE */
    *html #sidebar {left: 147px;}
    /* IE7 */
    *+html #sidebar {left: 147px;}

    /*Right bar*/
    #sidebarright { width: 125px; padding: 20px 0px 20px 5px;margin:0px 0px 0px 0px; margin-right: -100%; right: 0px; }
     
    robinko, Feb 3, 2009 IP