I am trying to do a paylout, but in sections. Is there a way to have more than one container per page to accomplish this?
I am trying to do a paylout, but in sections. Is there a way to have more than one container per page to accomplish this?
A paylout?
(visions of giving yobs money)
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Sorry, I meant page layout...LOL. I have a dynamic shopping cart that generates pages in sections. I was hoping to try and program each section in CSS.
Ah, then yes. You probably want to use the <div> tag for this.
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
You cannot, technically, program in css. You can style. And, as Twey says, yes you can have more than one container and the <div></div> is a good choice. However, just to be clear, if by container you mean this:Originally Posted by danielc1234
You can only have one of those but you can add other ones with different id's:HTML Code:<div id="container"> content here </div>
HTML Code:<div id="container2"> content here </div>
These can be styled using the selectors #container and #container2, respectively.
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Bookmarks