Topic: how to put images after each list? (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: NZ |
![]() Hi, guys. How are you? |
Paranoid (IV) Mad Scientist From: KC, KS |
![]() http://css.maxdesign.com.au/listutorial/introduction.htm |
Paranoid (IV) Inmate From: NZ |
![]() Hi, Thanks for the link. |
Maniac (V) Inmate From: under the bed |
![]() Not sure I follow you. |
Paranoid (IV) Inmate From: NZ |
![]() I mean an icon like graphic following each list-item. But each graphic is going to be different. I want graphic which represents each menu,. You know what I mean? |
Paranoid (IV) Inmate From: France |
![]() Hiroki: Do you have a given number of images or any rule that tells you which image to give to which li ? If so, you could use a CSS with a set of class for each image/type of li, and voilà. |
Paranoid (IV) Inmate From: NZ |
![]() yeah, Rule is: |
Maniac (V) Inmate From: out of a sleepy funk |
![]() code: <li>shop <img src="dollar.gif" width="9" height="6" alt="dollar" /></li> |
Paranoid (IV) Inmate From: France |
![]() Hiroki: Well, I hadn't re-read the Listutorial, but the 11th step does what I said ... which almost what you want. code: ul#basket li
|
Paranoid (IV) Inmate From: NZ |
![]() Hi, Thanks for your help! |
Maniac (V) Inmate From: under the bed |
![]() Actually Poi, that CSS seems rather overdone, considering that what JK did would more than suffice. |
Paranoid (IV) Inmate From: France |
![]() DL-44: Your point makes sense with small lists and if you're not on the XHTML+CSS bandwagon. But if you have many items in the lists, and the images are not linked to a page or a script, then the CSS way seems quite appropriate, and it'd save a lot of bytes. |
Maniac (V) Inmate From: under the bed |
![]() "and if you're not on the XHTML+CSS bandwagon" |
Paranoid (IV) Inmate From: France |
![]() DL-44: My XHTML+CSS bandwagon remarks makes sense in the case that the images are just decoratives and a simple class can categorize the type of a li. |
Maniac (V) Inmate From: under the bed |
![]() quote:
|