Topic: CSS Newbie - Problems with boxes...
Hey, hey,
As the title suggests, I'm new to this fun filled world.
I'm trying to create a rounded edge box, and I've followed a few web tutorials on line, but for whatever reason it's just not working, could someone have a look at my code and let me know if there's any obvious problem:
HTML:
<div style="width: 700px;" class="bl"><div
class="br"><div class="tl"><div class="tr">
<ul><li style="width: 538px;">
<--my content-->
</div></div></div></div> <div class="clear"> </div>
CSS:
.bl { background: url (images/bl.jpg) 0 100% no-repeat #8BC159; width: 20em }
.br { background: url (images/br.jpg) 100% 100% no-repeat }
.tl { background: url (images/tl.jpg) 0 0 no-repeat }
.tr { background: url (images/tr.jpg) 100% 0 no-repeat; padding:10px }
.clear { font-size: 1px; height: 1px }
I've put the CSS section into the "content" part of the script - not that I'm sure that it matters.
It seems that Kompozer is having trouble attaching the images to the box - as the box is set out "in ghost form", but not in the colour I suggested.
Can anyone help?
Thanks
