Hello my name is Gary. - Post ID 1162

User 136341 Photo


Registered User
2 posts

I have been using the coffeecup editor for a long time and just noticed the layout designs.
Could someone explain the container id that wraps the content if the page. I'm looking at the liquid design layouts. However, I see no link or reference to this container id in the code. How is this id linked to the document.
User 355448 Photo


Ambassador
3,144 posts

Gary,

A container or wrapper is a DIV statement that will let you set some over-all page styles in your style statements. To control my site width, I set the body style to:
body {
min-width: 770px;
}

Then I set my container to a width of 770px. That keeps everything from spreading all across a wide screen, and maintains my columns when the browser window is less than 770px.

This is only one example of using the container for style. There may be other uses as well.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.