A dreamweaver list friend of mine, ask me to test a page of his on my IE 5+ on a Windows OS and I learn something very useful. You must have seen and designed some or the other form of liquid (stretchable) design. You would have successfully done liquid table layouts but you must have the itchy feeling that you should also do this with text, so that they become stretchable according to the dimension of the browser.
This is possible with the CSS2 standard but this does not work in IE 5+. Neverthless, there is a work-around to this, check this nifty Javascript that solves the problem. Just tug this Javascript in your HTML.
Now, You can have something like;
#myStyle {
width : 50%;
max-height : 12px;
max-width : 4px;
min-height : 10px;
min-width : 2px;
}
Brajeshwar posted this article
on Sat, Aug 3rd, 2002 at 11:34 pm
Categorized under Technology and has the following tags










Comments Post Yours
There are 4 responses so far. You can follow any responses to this entry through the RSS feed. You can skip to the end and leave a response. Pinging is currently not allowed.
i dont know
Max-width can also be done with a simple table-trick:
http://www.hut.fi/~jaukia/work/VanhatWebit/widthtest/
please in spa“ish
I think height max is a great way to grow tall and i would love to get it for free since im a big fan.
Post yours