SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Guru
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    971
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    control list-type-image in IE6

    Hi,

    when I replace the regular bullet for an image, the image will not position inline with <li> contents. And this happens only in IE6, is there a way to fix this ?

  2. #2
    SitePoint Wizard bronze trophy Centauri's Avatar
    Join Date
    May 2007
    Location
    Newcastle, Australia
    Posts
    3,718
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rather than use list-style-image you have more control by giving the <li>s some left padding and setting the image as a background to the <li>s.

  3. #3
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,724
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by runrunforest View Post
    Hi,

    when I replace the regular bullet for an image, the image will not position inline with <li> contents. And this happens only in IE6, is there a way to fix this ?
    Hi,
    As Centauri said you could possibly do that, however if you need to use an image or can't do Centauris then posting code / a site would be great help-you should know by now we need one .
    Always looking for web design/development work.
    http://www.CodeFundamentals.com

  4. #4
    SitePoint Guru
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    971
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I do list-style-image for li in general style sheet and background image for li in IE style sheet. Although I can do background image for li in general style sheet , it will be compatible with all browsers.

  5. #5
    Ripe Tomatos silver trophybronze trophy Rayzur's Avatar
    Join Date
    Jun 2007
    Location
    Texas
    Posts
    4,174
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    I do list-style-image for li in general style sheet and background image for li in IE style sheet
    Or you can do it once as Centauri suggested and be done with it.

    Background Bullet Image


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
  •