Faqts : Computers : Internet : Web : CSS

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

0 of 5 people (0%) answered Yes
Recently 0 of 5 people (0%) answered Yes

Entry

A text field in IE containing a LOT of text will not obey style: width 100%... how do I force it to?

Nov 13th, 2006 05:04
Matt Chatterley, Matias Larsson, http://www.blooberry.com/indexdot/css/properties/position/overflow.htm


I believe that you can do this via the 'overflow' property, e.g.
overflow:scroll (or possibly overflow:auto) would cause a scroll bar to
appear so that the content would not be wider than the space available
(e.g. not cause page to scroll).