|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Centering a design with layers inside???
Hi!
I have created a site mainly with layers (yes now i know i shouldnt have done that). The site is optimised for 600 X 800 resolution. Currently the site is aligned left when viewed in higher resolution. I would like it to be centered instead. I have tried to make a table around the code and center the table. It works but the layers inside the table dont move but stay aligned left. I have made the site in Dreamveawer MX and also tried to convert the layers to tables but then the whole designed is messed up. What should i do to make the whole site centered and maintain the design? Thanks |
|
#2
|
||||
|
||||
|
assuming you've made your site with html tables and the such and not css, add this to the very top of your all your code, right under the '<body>' tag :
Code:
<table cellspacing="0" cellpadding="0" width="100%" height="100%"> <tr> <td align="center"> and then add this after all your code, just above the '</body>' tag : Code:
</td> </tr> </table> then, if you put 'align="center"' in the '<table...>' that surrounds the content you already had, it should work. post your code, and i will see what i can do. this is just what i think you need at the moment... |
![]() |
| Viewing: Dev Shed Forums > Web Design > Web Design Help > Centering a design with layers inside??? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|