SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict buildakicker's Avatar
    Join Date
    Jun 2005
    Location
    NorCal
    Posts
    378
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up Only in IE do my UL's line up wrong

    How do I delete this message???
    Last edited by buildakicker; Jan 15, 2008 at 12:58.
    SKILEASES.COM - FREE rental listings!
    WILDFIREBLOG.COM - Wildland Fire microblog!

  2. #2
    SitePoint Wizard holmescreek's Avatar
    Join Date
    Mar 2001
    Location
    Northwest Florida
    Posts
    1,707
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    To answer your question, if you haven't figured it out already, Firefox and IE display user lists differently. What I had to do is in my default.css style sheet is set the left margin for the ul to work with Firefox. Next, I inserted a conditional include after default.css where if IE is detected it includes iefix.css that overrides the ul.

    Like so :

    Code:
    <link href="/css/default.css" rel="stylesheet" type="text/css" />
    
    <!--[if IE]>  <link rel="stylesheet" type="text/css" href="/css/iefix.css" />  <![endif]-->
    iefix.css contains and override for the ul for ie :

    Code:
     #two_col1 ul {  margin-left:12px; }
    intragenesis, llc professional web & graphic design


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
  •