Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Programming. | 3 guests
Acmlm's Board - I2 Archive - Programming - Stretching DIV tags
  
User name:
Password:
Reply:
 

UserPost
SyntaxLegend
Posts: 114/222
so if i put the min height in for 350 pixels. It will be always 350 pixels, but when the text exceeds 350 pixels, will it stretch to compensate the text?
Dylan
Posts: 1173/1407
If you want a specific height for divs, use something like this:

div {min-height: 350}
*html div {height: 350}


IE doesn't recognize min-height, so use that *html. Other browsers will have the text flow off screen when using height for a div. Well, thats how I do it, dunno if theres a better way.
SyntaxLegend
Posts: 113/222
i want to make a layout in DIV tags, i dont want it to be a scroll bat one. i have seen plenty of tutorials but none of which tell me a DIV tag that stretchs with the text. i have tried 'height:auto;'. I cant seem to get it right.
Acmlm's Board - I2 Archive - Programming - Stretching DIV tags


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.003 seconds.