SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Wizard silver trophy TheOriginalH's Avatar
    Join Date
    Aug 2000
    Location
    Thailand
    Posts
    4,810
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Initializr and IE8

    Screen Shot 2013-10-22 at 14.48.21.pngnormal.pngAnyone else come across problems with the default menu?

    I've just started playing with this as a starting point for a new site. Generally loving it, but got about half a day into tinkering before firing up IE8 on a Win xp box (error) and discovered everything is snafu. Not my tinkering, as the issue presents on their demo site.
    Last edited by TheOriginalH; Oct 22, 2013 at 01:51. Reason: To add images for clarity
    ~The Artist Latterly Known as Crazy Hamster~
    922ee590a26bd62eb9b33cf2877a00df
    Currently delving into Django, GIT & CentOS

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,355
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    The problem is that they are using last-child to remove the last margin n the nav but IE8 doesn't understand last-child so you need to duplicate it with a class.

    Code:
    nav li:first-child a { margin-left: 0; }
    nav li:last-child a { margin-right: 0; }
    nav li.last-child a { margin-right: 0; }
    
    Code:
    <ul>
    		<li><a href="#">nav ul li a</a></li>
    		<li><a href="#">nav ul li a</a></li>
    		<li class="last-child"><a href="#">nav ul li a</a></li>
    </ul>

  3. #3
    SitePoint Wizard silver trophy TheOriginalH's Avatar
    Join Date
    Aug 2000
    Location
    Thailand
    Posts
    4,810
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Aha. Nice one, thanks Paul - they should have you on the team!
    ~The Artist Latterly Known as Crazy Hamster~
    922ee590a26bd62eb9b33cf2877a00df
    Currently delving into Django, GIT & CentOS

  4. #4
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,355
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    Quote Originally Posted by TheOriginalH View Post
    Aha. Nice one, thanks Paul - they should have you on the team!
    lol -true

    It seems that some people are forgetting about IE8 already and it will be nice when it's of no concern any more.


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
  •