Topic: how to put images after each list? |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: NZ |
posted 10-28-2003 01:52
Hi, guys. How are you? |
Paranoid (IV) Mad Scientist From: KC, KS |
posted 10-28-2003 01:56
http://css.maxdesign.com.au/listutorial/introduction.htm |
Paranoid (IV) Inmate From: NZ |
posted 10-28-2003 02:14
Hi, Thanks for the link. |
Maniac (V) Inmate From: under the bed |
posted 10-28-2003 02:39
Not sure I follow you. |
Paranoid (IV) Inmate From: NZ |
posted 10-28-2003 03:24
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 |
posted 10-28-2003 03:42
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 |
posted 10-28-2003 03:56
yeah, Rule is: |
Maniac (V) Inmate From: out of a sleepy funk |
posted 10-28-2003 03:59
code: <li>shop <img src="dollar.gif" width="9" height="6" alt="dollar" /></li> |
Paranoid (IV) Inmate From: France |
posted 10-28-2003 04:18
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 |
posted 10-28-2003 04:28
Hi, Thanks for your help! |
Maniac (V) Inmate From: under the bed |
posted 10-28-2003 16:23
Actually Poi, that CSS seems rather overdone, considering that what JK did would more than suffice. |
Paranoid (IV) Inmate From: France |
posted 10-28-2003 17:18
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 |
posted 10-28-2003 17:58
"and if you're not on the XHTML+CSS bandwagon" |
Paranoid (IV) Inmate From: France |
posted 10-28-2003 18:50
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 |
posted 10-28-2003 19:44
quote:
|