| Author |
Problem hiding div within div
|
nick angel
Ranch Hand
Joined: Dec 14, 2005
Posts: 39
|
|
Hello to everyone. Not too long ago I began working with css files. The problem I am currently having is hiding a div within a div. My overall jsp page looks like the following: The relevenat portions of my css are as follows: The problem i am having is as follows. The pages I am creating are being built as jsps and as blocks (tiles) and then assembled together. I can call one of the subunits of the page delimited by the following div: What I wish to add to my css file is the ability ( once the subunit containing only the above div is isolated) to have the display property of the <div id="image"> set to none when not encased by the <div id="contenant">. Any help would greatly be appreciated. I am sorry if the question is not very clear.
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
If there is nothing else in that wrapper div, why don;t you just hide that one by setting the display to none? you could also try something like #contenu div {display:none;} Eric
|
 |
 |
|
|
subject: Problem hiding div within div
|
|
|