7
I have two Ivs, one with a fixed width, 250px; which is on the left, will be a fixed menu, always on the left. And another div to the right that I want to make it 100%, whenever the user handle the corners of the screen, she got 100%.
Something like that:
.menu{width: 250px; float: left; position;fixed}
.resto{width:100%; float:right;}
Thank you very much Miguel, your tip was very helpful! :)
– Felipe Viero Goulart
psss... where did you get the
position:blocked
? (see: W3C - CSS Properties - Position) Whether you useposition:blocked
whether or not, since the value for that property is invalid, that statement is not interpreted by the browser. The result if you remove that from your code is strictly the same, keeping your solution as valid.– Zuul
@Zuul: I based on the @Jeffersonalison response, but instead of using
height: 100%
in the CSS classes, I usedoverflow: hidden
in classresto
... I don’t know where theposition:blocked
. =D– Miguel Angelo
I didn’t realize he had that one, too
position:blocked
, thanks for the feedback, I have already left comment in his reply on this subject.– Zuul