Dreamweaver

 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me



Go Back   Tutorialized ForumsWeb Design & DevelopmentDreamweaver

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rating: Thread Rating: 2 votes, 2.50 average. Display Modes
 
Unread Tutorialized Forums Sponsor:
  #1  
Old September 26th, 2007, 02:49 PM
tonysnow tonysnow is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Sep 2007
Posts: 5 tonysnow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 35 m 50 sec
Reputation Power: 0
Unhappy How do i center align my website??

hi, i've just started using dreamweaver and was having problems with center aligning my whole page. I dont know what the proper term is, sorry. My current page is left aligned. This website of tutorialized is in the middle no matter where you. I want to have it to where no matter what pc you're on, the page will always be in the middle. Please HELP!!

Reply With Quote
  #2  
Old September 26th, 2007, 03:16 PM
valle valle is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Aug 2007
Posts: 25 valle User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 54 m 44 sec
Reputation Power: 0
meka div tag around the whole page
<div align="middle">your page stuff here</div>

i think that should do it.

Reply With Quote
  #3  
Old September 26th, 2007, 05:14 PM
tonysnow tonysnow is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Sep 2007
Posts: 5 tonysnow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 35 m 50 sec
Reputation Power: 0
Quote:
Originally Posted by valle
meka div tag around the whole page
<div align="middle">your page stuff here</div>

i think that should do it.


Hey valle, i've tried doing that two different ways; Putting the tags above all code, also outside of each object. But it stills stays left aligned. I need to have the whole layout in the middle of the screen. Thanks.

Reply With Quote
  #4  
Old September 26th, 2007, 06:28 PM
tonysnow tonysnow is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Sep 2007
Posts: 5 tonysnow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 35 m 50 sec
Reputation Power: 0
Cool Accomplished!!

Quote:
Originally Posted by tonysnow
Hey valle, i've tried doing that two different ways; Putting the tags above all code, also outside of each object. But it stills stays left aligned. I need to have the whole layout in the middle of the screen. Thanks.


YAY! i found out how to do this. Just insert everything inside tables and center align it! thanks everyone!!

Reply With Quote
  #5  
Old October 31st, 2008, 08:26 AM
Acmeous Acmeous is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Oct 2008
Location: India
Posts: 9 Acmeous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 3 m 8 sec
Reputation Power: 0
Send a message via Yahoo to Acmeous Send a message via Google Talk to Acmeous Send a message via Skype to Acmeous
Thumbs up

Hi,
Using align tag is not at all web standards compliant. You should center a site using the following method.
acmeous.blogspot.com/2008/05/how-to-center-website-or-any-element.html

It is robust and works consistently in every browser and also validates.

Reply With Quote
  #6  
Old December 23rd, 2008, 05:58 AM
goochs goochs is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Dec 2008
Posts: 2 goochs User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 6 sec
Reputation Power: 0
Quote:
Originally Posted by tonysnow
YAY! i found out how to do this. Just insert everything inside tables and center align it! thanks everyone!!
Was this for the type to centr or was it to plave the page in the middle

Reply With Quote
  #7  
Old December 5th, 2010, 11:03 PM
guyfletch guyfletch is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Dec 2010
Posts: 1 guyfletch User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 25 sec
Reputation Power: 0
first you need to declare a dtd.
then in your css document use
.center{
margin-left: auto;
margin-right: auto;
width: "the size u want"px;
}
And
<div class="center"> </div> in your html document. around the whole body.

Reply With Quote
  #8  
Old August 2nd, 2013, 02:20 AM
markpeterson394 markpeterson394 is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Aug 2013
Posts: 1 markpeterson394 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 52 sec
Reputation Power: 0
Hello friends
this is the wrong tag of html
the right tag is this<div align="center"></div>
Thank you.

Reply With Quote
  #9  
Old December 9th, 2013, 07:42 AM
JeffCharlin JeffCharlin is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Jun 2013
Posts: 15 JeffCharlin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 19 m 44 sec
Reputation Power: 0
hi..
I recommend two or three options to solve your problem. Try this and if it not work then i'll help you with other option.
This is 1st and easy option
1. Right clicking on the file to edit tag object>appearance>alignment>Middle or absolute Middle.
if this not work then try this
2. Try editing the tag so that it includes the following
style="margin:0px auto;"
If this does not work, place it in a div with this style.
Thank You..

Reply With Quote
Reply

Viewing: Tutorialized ForumsWeb Design & DevelopmentDreamweaver > How do i center align my website??


Developer Shed Advertisers and Affiliates


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 | 
  
 

Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

© 2003-2014 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap