Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 11th, 2004, 07:10 AM
savior savior is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 1 savior User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old August 12th, 2004, 05:59 AM
amassedaura's Avatar
amassedaura amassedaura is offline
"I'm dulled by excess..."
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Location: London, England
Posts: 237 amassedaura User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 17 h 38 m 36 sec
Reputation Power: 4
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...

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > Centering a design with layers inside???


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway