Does anyone know if Min height and/or Min width work on block level elements?Hey well if you mean say like a div yes it will work but take a guess IE doesnt support it but all standards compliant browsers support it.<!-- m --><a class="postlink" href="http://www.svendtofte.com/code/max_width_in_ie/cheers">http://www.svendtofte.com/code/max_width_in_ie/cheers</a><!-- m --> sharkey and fang,
Im having a problem at the moment.
Ive set a container div to be 100% wide and 100% high, but it does not want to do so, all it does is become the same height as something in it:
<!-- w --><a class="postlink" href="http://www.vagusnet.com/John/site2/index.php">www.vagusnet.com/John/site2/index.php</a><!-- w --> (<!-- m --><a class="postlink" href="http://www.vagusnet.com/John/site2/index.php">http://www.vagusnet.com/John/site2/index.php</a><!-- m -->)
Woops forgot to give a link to the workaround but fang has done it, ive some of my bookmarks so ill bookmark that one.100% height (<!-- m --><a class="postlink" href="http://www.quirksmode.org/css/100percheight.html">http://www.quirksmode.org/css/100percheight.html</a><!-- m -->)Your a star Fang thank you very much Originally posted by Poegle
Does anyone know if Min height and/or Min width work on block level elements?
I should hope so; you can't legally apply padding, margin, width, height, or border (could be more stuff?) to inline-level elements.
Im having a problem at the moment.
Ive set a container div to be 100% wide and 100% high, but it does not want to do so, all it does is become the same height as something in it:
<!-- w --><a class="postlink" href="http://www.vagusnet.com/John/site2/index.php">www.vagusnet.com/John/site2/index.php</a><!-- w --> (<!-- m --><a class="postlink" href="http://www.vagusnet.com/John/site2/index.php">http://www.vagusnet.com/John/site2/index.php</a><!-- m -->)
Woops forgot to give a link to the workaround but fang has done it, ive some of my bookmarks so ill bookmark that one.100% height (<!-- m --><a class="postlink" href="http://www.quirksmode.org/css/100percheight.html">http://www.quirksmode.org/css/100percheight.html</a><!-- m -->)Your a star Fang thank you very much Originally posted by Poegle
Does anyone know if Min height and/or Min width work on block level elements?
I should hope so; you can't legally apply padding, margin, width, height, or border (could be more stuff?) to inline-level elements.