Topic: NN4 and centring Div's |
|
---|---|
Author | Thread |
Nervous Wreck (II) Inmate From: |
posted 10-22-2003 02:05
Hi Guy's how's it going? |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 10-22-2003 02:09
You have to use the american-english spelling of "center" =) |
Nervous Wreck (II) Inmate From: |
posted 10-22-2003 02:19
ooh, I didn't notice that! |
Paranoid (IV) Inmate From: France |
posted 10-22-2003 02:33
Blaise: Depending on the mood of NN4 and the inner guts of your page, the negative margin hack may do the trick. For instance: code: #idOfYourDiv Hope that helps |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 10-22-2003 03:23
Poi: For a thing like horizontal centering, that might actually cause more troubles than it solves (vertical centering is mostly what it's good for, IMO). |
Maniac (V) Inmate From: under the bed |
posted 10-22-2003 03:44
Before we give any more thought to this, one VERY important question: |
Nervous Wreck (II) Inmate From: |
posted 10-23-2003 01:29
Perhaps one good reason is that I'm being told it has to? |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 10-23-2003 01:37
It's definitely possible with text-align:center . I think you have to apply it to the *containing* element, not the element you want to center. |