![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
It's interesting if it is possible to use CSS rules for styling child elements inline? What I mean is if there is a way to apply CSS rules like this: ul style="li{ margin: 0; }"> <!-- NOT SURE if it is possible in some way -- |
#3
| |||
| |||
|
|
alainfri (AT) gmail (DOT) com wrote: It's interesting if it is possible to use CSS rules for styling child elements inline? What I mean is if there is a way to apply CSS rules like this: ul style="li{ margin: 0; }"> <!-- NOT SURE if it is possible in some way -- I don't think it is possible, the style attribute value is a list of CSS properties with property name and value. You are trying to put a CSS rule in there but that is not possible. |
#4
| |||
| |||
|
|
It's interesting if it is possible to use CSS rules for styling child elements inline? |
|
ul style="li{ margin: 0; }"> <!-- NOT SURE if it is possible in some way -- |
#5
| |||
| |||
|
|
Scripsit alain... (AT) gmail (DOT) com: It's interesting if it is possible to use CSS rules for styling child elements inline? It's off-topic in this group. ul style="li{ margin: 0; }"> <!-- *NOT SURE if it is possible in some way -- You're apparently thinking that there's something that prevents you from using CSS normally. Making things up won't help. Please note that all c.i.w.a.* groups are supposed to discuss authoring of WWW pages. -- Jukka K. Korpela ("Yucca")http://www.cs.tut.fi/~jkorpela/ |
#6
| |||
| |||
|
|
Hi, It's interesting if it is possible to use CSS rules for styling child elements inline? What I mean is if there is a way to apply CSS rules like this: ul style="li{ margin: 0; }"> <!-- NOT SURE if it is possible in some way -- li>Item1</li li>Item2</li li>Item3</li /ul |
#7
| |||
| |||
|
|
If you don't have anything to contribute, then don't post. |
![]() |
| Thread Tools | |
| Display Modes | |
| |