Thursday, 26 April 2007

CSS height and width bug fix

For bug in browsers on minimum width and height to allow for ie6

set the values in the css (same for width):

.css{height:200px; min-height:200px}

Goes out side the .css code:

html>body .css{height:auto}

same for width

Wednesday, 25 April 2007

Web page minimum width

Code used for setting the minimum width of a page:

min-width: 800px;
width:expression(documentElement.clientWidth < 800? "800px": "100%" );