This sounds very much like something that should be done in CSS, not
HTML. But can you explain what you mean by "expand ... as if it were
full of text"? If something is already a given size, then filling it
with text should not make it expand.
--
Benjamin Hawkes-Lewis
Brenton Strine wrote:
Hello,
I am new here, so please let me know if I am doing
anything out of order.
I would like to make a suggestion for soemthing I want to
see in HTML5.
I call it the inflate tag. <inflate>.
The purpose of this tag is to expand that which contains
it as if it were full of text. I have seen many websites
where the designers were forced to put long strings of
hidden text into a cell in order to make it expand
correctly. Thus text browsers find strange segments like
this:
w w w w w w w w w w w w w w w w w w w w w w w w w w w w w
w w w w w w w w w w w w w w w w w w w w w w w w w w w w w
w w w w w w w w w w w w w w w w w w w w w w w w w w w w w
w w w w w w w w w w w w w w w w w w w w w w w w w w w w w
w w w w w w w w w w w w w w w w w w w w w w w w w w w w w
w w w w w w w w w w w w w w w w w w w w w w w w w w w w w
w w w w w w w w w w w w w w w w w w w w w w w w w w w w w
w w w w w w w w w w w w w w w w w w w w w w w w w w w w w
w w w w w w w w
Of course, developers already have the ability to specify
the width in terms of pixels, ems, percent, and tons of
other stuff. But there are times, particularly in fluid
design, when you can't get the div to work the way you
want without text to expand it.
This could even be an attribute rather than a tag:
width="inflate".
Brenton