Forum Moderators: not2easy

Message Too Old, No Replies

containers in css

css containers help

         

adamlfc

3:20 pm on Jul 29, 2006 (gmt 0)

10+ Year Member



hi, ive been creatingm pages now with css for a few months but when i was reading a few tutorials today the idea of containers came up.

could someone please explain what they are and what there uses are, all the websites i use for help seem to assume i already know.

i have a basic grasp of the concept that all a conainer is is a div that contains divs, but what i dont get is why i need them.

please help

thankyou

Martin40

6:30 pm on Jul 30, 2006 (gmt 0)

10+ Year Member



A div may contain a div (making the second div an inline element), but the main purpose for a div is to contain your page's content, such as text and images.