| Width | |
|---|---|
| Tweet Topic Started: Wednesday, 3. February 2010, 21:01 (111 Views) | |
| Knox<--- | Wednesday, 3. February 2010, 21:01 Post #1 |
Live life like the captain of a sinking ship
|
Could someone explain how to set the width of a theme in CSS?
Edited by Knox<---, Wednesday, 3. February 2010, 21:01.
|
| Previously known as Henry | |
Off
Profile |
Quote Top
|
| Thane | Wednesday, 3. February 2010, 21:12 Post #2 |
|
Manufacturing the future
|
In what units? Any or all? px.. em.. %.. ? |
![]() aspiring electrical engineer | |
Off
Profile |
Quote Top
|
| Knox<--- | Wednesday, 3. February 2010, 21:35 Post #3 |
Live life like the captain of a sinking ship
|
Pixels. |
| Previously known as Henry | |
Off
Profile |
Quote Top
|
| Joe | Wednesday, 3. February 2010, 21:37 Post #4 |
![]()
Hi.
|
Okay, the first thing you'll want to do is go into the layout and put a div around everything you want a specific width. <div class="main"> <!-- All your main content... --> </div> and in the CSS: .main { width:750px;margin:0px auto; } |
| Joe | |
Off
Profile |
Quote Top
|
| Knox<--- | Wednesday, 3. February 2010, 22:44 Post #5 |
Live life like the captain of a sinking ship
|
Your topic has been marked resolved or inactive. If the problem persists or reappears, feel free to request Live Support or repost your topic. |
| Previously known as Henry | |
Off
Profile |
Quote Top
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Resolved Issues · Next Topic » |
| Track Topic · E-mail Topic |
8:53 PM Jul 10
|
Powered by ZetaBoards Premium · Privacy Policy



Multi
Multi


8:53 PM Jul 10


Outline Live