SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Feb 2006
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Navigation Problems

    Hi, the dummy with another ?.
    The navigation at the bottom will not line up to look right in Fire Fox if I get it to look right in IE7. Could I get some help please?

    http://www.redbirdhosting.com/hosting/

  2. #2
    Design Your Site Team bronze trophy Erik J's Avatar
    Join Date
    May 2007
    Location
    Countryside, Sweden
    Posts
    3,407
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The vertical misalignment is on the IE side as it is not collapsing margins when it has hasLayout, change to padding or stop collapsing margins in good browsers with overflow:hidden.

    The horizontal misalignment I think is caused by the bullet-position you have ruled tobe inside, maybe skip that rule and use left padding instead.
    Code:
    ul#nav4,
    ul#nav4a{
    	margin: 0;
    	padding-left: 20px;
    	list-style-position: outside;
    }
    The anchor forground images could rather be backgrounds for semantic reasons (and maintaining, the only backside is the need for new classes). Make room for it with left padding. Maybe use height and line-height for vertical text-centering.The anchor width is flexible but the container is fix, I suggest anchor be too.
    Code:
    ul#nav4 li a.details{
    	display: block;
    	padding-left: 20px;
    	width: 159px;
    	height: 20px;
      	background: url(/hosting/images/details.gif) no-repeat 0 50%;
    	color: #002f3f;
    	text-decoration: none;
    	font-size: 1.2em;
    	line-height: 20px;
    }
    Last edited by Erik J; Aug 18, 2008 at 03:00. Reason: Double sentence.
    Happy ADD/ADHD with Asperger's

  3. #3
    SitePoint Enthusiast
    Join Date
    Feb 2006
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just to let you know that did the trick.

    Thank You

  4. #4
    Design Your Site Team bronze trophy Erik J's Avatar
    Join Date
    May 2007
    Location
    Countryside, Sweden
    Posts
    3,407
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by tncandle
    Just to let you know that did the trick.
    It is always good to get feedback.

    Thanks!
    Happy ADD/ADHD with Asperger's


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
  •