After 8 years of using tables it's time to implement CSS. Below is my practice page. I have a div on the left as a placeholder for google ads. Next to that I have a content div that will display the bulk of the text. I'm not sure how to make the size of the div dynamic. Some pages will have lots of text, others will have a paragraph or two. And in my CSS I can only see a property for height and width. Is this even possible to make the size of a div dynamic?
Hi busy boy. Divs are actually dynamic by default; it's just CSS that can stop that behavior (such as by setting a fixed width). Setting a % width returns it to a kind of dynamic behavior. It might be best if you post a screen shot of what you are aiming for and we can suggest how to go about it. Do you want the design centered? Whether yes or no, it's a good idea to wrap everything in a single div that sets the overall width--be that fixed or fluid.
This topic is now closed. New replies are no longer allowed.