css - how to have fixed height divs using 960.gs? -
I am using 960.gs to layout a simple page, but for a maximum time the maximum height I'm implementing the DIV I am considering the following:
& Lt; Link rel = "stylesheet" type = "text / css" media = "all" href = "text.css" /> & Lt; Link rel = "stylesheet" type = "text / css" media = "all" href = "960.css" /> & Lt; / Head & gt; & Lt; Body & gt; & Lt; Div id = "topContainer" class = "container_12" & gt; & Lt; Div style = "height: 200; overflow: hidden" class = "grid_10" & gt; & Lt ;! - Too many text or big image - & gt; & Lt; / Div & gt; & Lt; Div class = "grid_2" & gt; & Lt ;! - rhs col - & gt; & Lt; / Div & gt; & Lt; / Div & gt;
How can I apply a specific height for this div? I have tried to set the "height" property on top level containers, but there is no help from this.
Thanks for any help!
You forgot the unit on your height parameter:
& Lt; Div style = "height: 200px; overflow: hidden" square = "grid_10" & gt;
Comments
Post a Comment