![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
How the heck do I align a layer in the center of a page even after resizing the browser??? I though it would be: div id="yada" align="center" > text </div But it ain't workin'. How do I do this simple task??? Thanks, mickey |
#2
| |||
| |||
|
|
That works OK for me. -- Jules ----- Charon Cart 3 http://www.charon.co.uk/charoncart mickey wrote: How the heck do I align a layer in the center of a page even after resizing the browser??? I though it would be: div id="yada" align="center" > text </div But it ain't workin'. How do I do this simple task??? Thanks, mickey |
#3
| |||
| |||
|
|
It's not a layer.... 8) "Julian Roberts" <newsgroup (AT) charon (DOT) co.uk> wrote in message news:bf23mi$jes$1 (AT) forums (DOT) macromedia.com... That works OK for me. -- Jules ----- Charon Cart 3 http://www.charon.co.uk/charoncart mickey wrote: How the heck do I align a layer in the center of a page even after resizing the browser??? I though it would be: div id="yada" align="center" > text </div But it ain't workin'. How do I do this simple task??? Thanks, mickey |
#4
| |||
| |||
|
|
Alternatively, you can use a static div and set its left and right margins to "auto" #centeredDiv { width: whatever; margin: 0 auto; } |
![]() |
| Thread Tools | |
| Display Modes | |
| |