Date: 06/22/06 (Web Development) Keywords: css, web As web designers go, I qualify as an amateur at best. Unfortunately this places me well above the other members of my theatre company so I get to redesign the website. I fear I may be attempting to do something impossible. I am looking to link the height of two div boxes without making them a fixed size, and I want to do it in a stylesheet. Ideally I would like to say something along the lines of #content { } #colorbar { height: #content.height; } where the height of #content is determined by its contents. I have been skimming through the official CSS standards and I haven't come across anything that would let me reference a property of another named item. I had thought I found a way around this by enclosing the two divs in a third div and setting the height of #colorbar to 100%, no such luck. I could accomplish the same thing with a table, and if nobody can help I will. Its just the principle of it now, I feel this is something that the standards should allow me to do. Thanks for any help.
|