css ?
css ?
Out of context: Reply #24
- Started
- Last post
- 25 Responses
- matt310
i haven't read anything above but use classes. also you don't need the UL id for the coloring:
<ul>
<li class="red">content 1</li>
<li class="white">content 2</li>
<li class="black>content 3</li>
</ul>styles are:
.red {
background-color: #c00;
padding: 5px; (might want to pad it out a bit)
}.white {
background-color: #fff;
padding: 5px;
}.black {
background-color: #000;
padding: 5px;
}that's it that's all.
- maybe you should have read everything aboveflyingnowhere
- hahajsaul
- hahamoth
- garymatt31