scouse
07-17-2008, 09:57 AM
Hi
I'm having problems applying some styles to some text on my website. Basically its something like this:
<div id="panel2">
<ilayer name="nscontainer">
<layer name="nscontent" id="nscontentcss">
THIS IS THE TEXT I WANT STYLEING
</layer>
</ilayer>
</div>
I've managed to edit the text color/size etc by targeting #panel2 but I want to apply some top padding to it, but when I did this:
#panel2{
padding-top: 5px;
}
This put padding around the ilayer, which I don't want, I just want it on the text. So I tried putting the padding style on the "ilayer" and the "layer" but I couldn't get either to work.
Thanks
I'm having problems applying some styles to some text on my website. Basically its something like this:
<div id="panel2">
<ilayer name="nscontainer">
<layer name="nscontent" id="nscontentcss">
THIS IS THE TEXT I WANT STYLEING
</layer>
</ilayer>
</div>
I've managed to edit the text color/size etc by targeting #panel2 but I want to apply some top padding to it, but when I did this:
#panel2{
padding-top: 5px;
}
This put padding around the ilayer, which I don't want, I just want it on the text. So I tried putting the padding style on the "ilayer" and the "layer" but I couldn't get either to work.
Thanks