Results 1 to 5 of 5

Thread: More than one CONTAINER on one page?

  1. #1
    Join Date
    Jul 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question More than one CONTAINER on one page?

    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?

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    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!

  3. #3
    Join Date
    Jul 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    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!

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by danielc1234
    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.
    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:

    HTML Code:
    <div id="container">
    
    content here
    
    </div>
    You can only have one of those but you can add other ones with different id's:

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •