![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
I want to center a division but I can't! |
#2
| |||
| |||
|
|
Kerberos wrote: I want to center a division but I can't! #body { width: 100%; } #main { background-color: #0099FF; width: 780px; margin-left: auto; margin-right: auto; } |

|
780px fixed width, eh? Tut-tut. |
#3
| |||
| |||
|
|
Em Thu, 02 Dec 2004 14:41:28 +0000, Mark Tranchant mark (AT) tranchant (DOT) plus.com> escreveu: 780px fixed width, eh? Tut-tut. What do you mean? I chose it because the page has to be readable on an 800px screen, and the content can't scale. |
#4
| |||
| |||
|
|
Kerberos wrote: Em Thu, 02 Dec 2004 14:41:28 +0000, Mark Tranchant mark (AT) tranchant (DOT) plus.com> escreveu: 780px fixed width, eh? Tut-tut. What do you mean? I chose it because the page has to be readable on an 800px screen, and the content can't scale. Content can't scale, eh? Tut-tut. So you're deliberately excluding WebTV, handhelds and anyone running less than 800px wide screens; and you're also forcing 800'ers to maximize. Is there a reason the content can't scale (like large images) or is that a design decision of yours? |
#5
| |||
| |||
|
|
I know, but my boss wants a fixed content. I showed him several web sites with 100% width, but he said he wants white margins when the screen is larger than 800px :s He said having white pargins is a trend that we have to follow because it add clarity, but I don't agree. |
|
| content | | |
#6
| ||||
| ||||
|
|
I know, but my boss wants a fixed content. |
|
I showed him several web sites with 100% width, |
|
but he said he wants white margins when the screen is larger than 800px :s |
|
He said having white pargins is a trend that we have to follow because it add clarity, but I don't agree. |
![]() |
| Thread Tools | |
| Display Modes | |
| |