Siddan
01-23-2005, 10:15 PM
hmm
I have tried and I have tried setting the margins of one ul list a bit wider.. but nothing happens. first now I have realized that my other UL is the priority.
ok, I have 3 different ULs so far with different margings, so how would I do so they are independent of eachother without having to insert a class into every LI tag on the entire site?... would be enough for UL only
it would be easy to set this in inbedded styles, but in external style I find it very difficult.
hehe itīs late and I am tired, hope I made some sense
better make an example anyways:
external stylesheet --
ul.style1, li {padding:10px}
ul.style2, li {padding:20px}
ul.style3, li {padding:0px}
Page 1 --
<ul class="style1">
<li> link1 </li>
<li> link2 </li>
<li> link3 </li>
</ul>
Page 2 --
<ul class="style2">
<li> home </li>
<li> start </li>
<li> end </li>
</ul>
Page 3 --
<ul class="style3">
<li> get </li>
<li> set </li>
<li> go </li>
</ul>
--------------------------------------
thatīs how I thought it would be,, but it isnīt, one style affects them all. and again... I really do not prefer setting a class for every LI :/
I have tried and I have tried setting the margins of one ul list a bit wider.. but nothing happens. first now I have realized that my other UL is the priority.
ok, I have 3 different ULs so far with different margings, so how would I do so they are independent of eachother without having to insert a class into every LI tag on the entire site?... would be enough for UL only
it would be easy to set this in inbedded styles, but in external style I find it very difficult.
hehe itīs late and I am tired, hope I made some sense
better make an example anyways:
external stylesheet --
ul.style1, li {padding:10px}
ul.style2, li {padding:20px}
ul.style3, li {padding:0px}
Page 1 --
<ul class="style1">
<li> link1 </li>
<li> link2 </li>
<li> link3 </li>
</ul>
Page 2 --
<ul class="style2">
<li> home </li>
<li> start </li>
<li> end </li>
</ul>
Page 3 --
<ul class="style3">
<li> get </li>
<li> set </li>
<li> go </li>
</ul>
--------------------------------------
thatīs how I thought it would be,, but it isnīt, one style affects them all. and again... I really do not prefer setting a class for every LI :/