hey guys. dunno if anyone here is any good at CSS, but I thought I'd ask. I'm trying to learn and I am running into a problem.
I DL'd and printed the W3C specs for CSS2 and according to them if i put:
Code:
P DIV{
TEXT-INDENT: 5em;
}
it should make the following code have indented paragraphs without the empty line between them.
Code:
<P>This is LIne 1<BR>
<DIV>This should be line 2, indented</P>
but for some reason it doesn't.
If i took out the P in the CSS code it will work, but i don't want every <div> to be an indent, just the ones in a <p>.
i am using IE 5.5, is it possible that it doesn't support decendant selectors??
thanks for any help.