Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9
  1. #1
    Regular Coder
    Join Date
    Feb 2005
    Location
    Lawrence, Kansas
    Posts
    125
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Macintosh Lists in IE are WAY too spaced out

    Here's a website I've been working on:

    http://www.grubesteak.com/4stateAPN/

    The navigational list looks great in Firefox, but if you look at it with IE, the lists get really spaced out, too much so.

    Any ideas on how to give this a fix?

    Thanks!

  • #2
    Senior Coder whizard's Avatar
    Join Date
    Jan 2005
    Location
    Philadelphia, PA, USA
    Posts
    1,662
    Thanks
    14
    Thanked 76 Times in 76 Posts
    Hi. I think, if you removed the display;block; from your <li>'s, it might work better.

    (not sure)

    Dan
    PHP Tip: If you want to use short tags (<? or <?=$var) then make sure short_open_tag is set to "1". It really helps.

    Don't forget to save everyone time and mark your thread as Resolved :)

    "Also note that it is your responsibility to die() if necessary."

    DON'T USE THE MYSQL_ EXTENSION

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Width?

    I don't think the "display: block;" should be a problem; I do think adding an appropriate width to them for IE might help (you've got a hack to supply the correct width to compliant browsers in there, anyway), and this will certainly make the links actually fill the list items as intended (which, in IE6.0, they don't) by setting them to block display.
    If all else fails, apply some temporary borders to see where your elements are at.

    Also, I frown upon thigh use of a list item as a header... You've got a wrapper div anyway, so why not stick a couple of actual headers in front of those lists? Saves a class, is equally stylable, and slightly more semantic.
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #4
    Regular Coder
    Join Date
    Feb 2005
    Location
    Lawrence, Kansas
    Posts
    125
    Thanks
    0
    Thanked 0 Times in 0 Posts
    No, that wasn't it.

    Sorry, to clarify, this was to the post about removing the display: block;. That didn't work.
    Last edited by grubesteak; 02-24-2005 at 04:25 PM.

  • #5
    Regular Coder
    Join Date
    Feb 2005
    Location
    Lawrence, Kansas
    Posts
    125
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'll have to give that a try later. Oh, how I hate IE.

    As far as my heading as part of a list, I did that orignally because the nav bar looked totally different. I'll have to go back and do some fixin I suppose.

  • #6
    Regular Coder
    Join Date
    Jul 2004
    Location
    mile high city
    Posts
    482
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Try adding a height declaration here:
    Code:
    #navbar ul li a {
    	display: block; height:1em;
    	color: #666;
    	text-decoration: none;
    	padding: 3px;
    }
    Computer, kill Flanders... Did I hear my name? My ears are burning...
    Good start. Now finish the job.

  • #7
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Width: auto

    I checked back on a test menu I did a while ago, and width: auto on the link is all IE6.0 needs; list items were set to a specific width and height (I don't know if that's even necessary), and they stack on top of eachother as intended.

    You could look up the listutorial (yeah, I know, there I go again... ) for some more pointers.
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #8
    Regular Coder
    Join Date
    Feb 2005
    Location
    Lawrence, Kansas
    Posts
    125
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I added what you said, it didn't work.

  • #9
    Regular Coder
    Join Date
    Feb 2005
    Location
    Lawrence, Kansas
    Posts
    125
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thanks, mcdougals4all

    Thanks, mcdougals4all. That worked perfectly. Thanks again!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •