SitePoint Sponsor

User Tag List

Results 1 to 9 of 9
  1. #1
    SitePoint Member
    Join Date
    Feb 2002
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question anyone know howto..

    im working on a webpage where im going to have a meny with links, and i want a ►(or a image i made myself)infront of the links, so i just wonder if i have to put it in front of the linke every time, or is it an easyer way.. (my brother sayid it was possible to let the css take care of it, but he didnt know how..)

    -------------------
    im -newbie-

  2. #2
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can try using a combination of CSS with the <li> tag:
    http://www.w3.org/TR/REC-CSS2/generate.html
    and
    http://www.w3.org/TR/REC-CSS2/generate.html#lists
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  3. #3
    SitePoint Wizard Ian Glass's Avatar
    Join Date
    Oct 2001
    Location
    Beyond yonder
    Posts
    2,384
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You don't even need to use the <LI> :-(though it still doesn't work in IE)! You can use the before pseudo-element with the content property to put an image at the beginning of your links quite easily. :-)


    ~~Ian

  4. #4
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's an interesting element Ian, but as it doesn't work in IE why even bother posting it? Not trying to be rude, but since IE has over 90% of the browser market why post tags that don't work in IE?

    Silly Ian.
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  5. #5
    SitePoint Wizard iTec's Avatar
    Join Date
    May 2001
    Location
    Sydney, Australia
    Posts
    2,243
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by creole
    That's an interesting element Ian, but as it doesn't work in IE why even bother posting it? Not trying to be rude, but since IE has over 90% of the browser market why post tags that don't work in IE?
    because hes trying to broden your horizon (or make himself look good )

  6. #6
    SitePoint Wizard Ian Glass's Avatar
    Join Date
    Oct 2001
    Location
    Beyond yonder
    Posts
    2,384
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by iTec
    because hes trying to broden your horizon (or make himself look good )
    A littel of both...

    :-p

  7. #7
    Back in Action Winged Spider's Avatar
    Join Date
    Jun 2001
    Location
    outside my mind
    Posts
    900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    When is the next release of IE coming out anyway? I have a bunch of projects that could use this element ( thanks Ian :-) ) but I don't want to code it in now if it's going to be useless for 6 months.

    3 months wouldn't bother me.


  8. #8
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    IE6 has been out right around a year. I would say possibly within the next year. Although not many people have really adopted v6.0 yet. I know that I haven't. TheCounter says that only around 23% of users have v6.
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  9. #9
    SitePoint Wizard Ian Glass's Avatar
    Join Date
    Oct 2001
    Location
    Beyond yonder
    Posts
    2,384
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by Winged Spider
    When is the next release of IE coming out anyway? I have a bunch of projects that could use this element ( thanks Ian :-) )
    I hope it will come out soon. I think that one of the reasons that masses haven't upgraded to 6.0 yet is because it's really not much of an upgrade and never deserved the full version number. Hopefully by the time that IE6.5 comes out before and after will be included, along with the content property. Those portions of CSS alone have the potential to drastically change how we design with HTML.

    After that, I think I'd like to see SVG implemented along with a bit of CSS3. Hey, we can all dream, can't we? :-)

    Anyway, there isn't any damage with using this because it's ignored by IE6 (thank goodness it isn't partially implemented so it doesn't screw anything up). If you still don't want to use it, I think you can apply a display type of list-item and use it's associated properties to achieve that effect in IE without using <UL> and <LI>, if you want. I don't know if v.5 supports it though.

    ~~Ian


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
  •