HTML - How To Grow A Div In A Div
I'm new to HTML, and I wondered how to code a DIV such that when you
place a DIV inside of an outer DIV, the outer DIV will automatically grow in height when the inner DIV is growing. This is done all the time, but I can't figure it out. A lot of pages will use an outer DIV as a colored background, and modify the contents of an inner DIV. When that happens, the outer DIV expands in height to continue showing the background when the inner DIV is expanding - but when I try to code it, the inner DIV grows, but the outer DIV stays in its original size. I know I'm forgetting something simple! Thanks for any reaction! Corey Similar TutorialsHow to code to make row in a table can grow and shrink automatically based on the data in each cell? Hello. =) I'm trying to make font "shrink" or "grow" based on the browser's width/height...but so far, I'm having problems. I made this page as an example. If you manually resize your browser (ie: drag the sides of it and make it become smaller and smaller), you'll see that the picture maintains the same proportions, and the text stays in the same place. ...But the text doesn't "shrink" for some reason. If your browser is "small", I want the picture AND the text to get small too. For example, if the page is REALLY big, then the font should be size 18, and if it's really small, then the font would be size 1 or something. =\ Does anyone know how I can do this? Would I need to use the "Zoom" property? (I just recently heard about this property, so I don't know too much about it. But if I do need to use "zoom", please tell me: will it work in Firefox and other non-IE browsers?) Thanks in advance!! Hey everyone I am new, I just was wondering if anyone can help explain/link me to a tutorial that shows me how to make a template that grows when you enter content into the tables without it coming out of place? I have always used iframes for my content before and this is my first try at not using them. When I enter content more than 1 table starts growing and it distorts all my images. My site is http://computercelebs.110mb.com/home.html If you click on the references page it will show an example of what happens. I am making this website as part of my college coursework. I have ~6 weeks to finish this website so plenty of time. Thanks in advance. |