SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    Non-Member lostseed's Avatar
    Join Date
    Sep 2005
    Location
    Zurconion Soon!
    Posts
    1,549
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    IE List-Style-Image Vertical Align.

    In IE: http://www.jream.com/ (Orange Menu list images)

    Code:
    ul {
    	list-style-type: none;
    	list-style-image: url(/images/arrow.gif);
    	line-height: 20px;
    	display: block;
    	margin: 0 0 0 2px;
    	padding: 0 0 0 0px;
    }
    Anyway to make the list image appear vertically correct in IE?

    Am i forced to take this route?
    HTML Code:
    ul li {
    	padding: 0 0 0 16px;
    	background: url(/images/arrow.gif) 0 50% no-repeat;
    }
    Reason I don't want to is because It interferes with

    HTML Code:
    ul.gallery {list-style-type: none}
    ul.gallery li {display: inline;}

  2. #2
    Non-Member lostseed's Avatar
    Join Date
    Sep 2005
    Location
    Zurconion Soon!
    Posts
    1,549
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i went with the bg design, there isnt a way to align the listitem bg


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
  •