Before when I made a site and I needed expanding content boxes I just used three images and tables, but for all the rest of my site I used CSS and no tables. IS there a way to make expanding content boxes that just get bigger when you add text, but start at a certain size only useing CSS. So say I wanted the minimum size of the box to be 20 by 20, but then if I added content it went automatically to like 20 by 30. I might be having a brain leak and just cant find it or don't remember, but i don't see anything on the tutorials. All I can find there is ways that use tables.... Anyone?
Content
Started by Bouzy210, Aug 26 2007 09:18 AM
5 replies to this topic
#1
Posted 26 August 2007 - 09:18 AM
#2
Posted 26 August 2007 - 05:19 PM
To clairify I know you use repeating y images, but I still dont fully get it. Can someone explain?
#3
Posted 26 August 2007 - 06:47 PM
i didn't check it out but just thinking off the top of my head, could you use the overflow syntax im not sure if it has overflow like expand or something, but im sure you could add a script to make it something like, on overflow expand to 20 30 or i dono.
#4
Posted 27 August 2007 - 07:17 AM
Whell what do normal people do when they make CSS pages with expanding content boxes or the whole main text secion expands downward?
#5
Posted 27 August 2007 - 09:12 AM
Don't define a height for the div and the div will expand to whatever size its content takes it. You can use min-height to see a minimum height for the div.
#6
Posted 27 August 2007 - 10:38 PM
Thanks a million
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
