Posted by Steve Pugh on 04/10/06 14:23
Clues wrote:
> I have a div element (id="content") that contains another div, named
> "gallery".
> Inside the div content element, I have this structure:
> <h2></h2>
> <p></p>
> <h2></h2>
> <p></p>
> <h2></h2>
> <p></p>
>
> then I have
> <h2></h2>
> <div id='gallery'><p><img /></p></div>
>
> Now: I don't want this div (gallery) to inherit from its parent some
> properties (or having the possiiblity to overwrite some).
>
> Is it possible?
Yes. It's pretty much the standard behaviour for CSS.
What have you tried and what problems have you run into?
Steve
[Back to original message]
|