Dynadot โ€” .com Registration $8.99

Centered pages in Dreamweaver?

Spaceship Spaceship
Watch
Hi all, since you are all knowing :) i thought id ask if anyone knows of a tutorial i can view to make my pages centered instead of full screen using Dreamweaver 8? Any help would be most appreciated. Thanks!
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
it will be like this
<body>
<center>
<p>text all content</p>
</center>
</body>
If you get me so its around all the content.

btw. I love rep!
 
0
•••
0
•••
It will make your page like that and you wont need to state margins becase it centers it all.
 
0
•••
Awesome! Rep inc.
 
0
•••
I personally think it's better to use
<html>
<body>
<div align="center">
Content
</div>
</body>
</html>

But then again that's just me... I like using CSS.
 
0
•••
I agree. It's better practice to use <div align="center"></div> over the <center></center> tag. Just my opinion but it's cleaner.
 
0
•••
Yeah I suggest you start thinking about using CSS more... because ESPN.com recoded their site in CSS and they are saving 2TB of bandwidth per day... also CSS is the future and tables, well tables are quite obsolete in my opinion (although overused).

CSS also gives you exact control over any margin, border, etc... It does have its own problems but it's quite minimal compared to how precise it is. You won't be able to go back to tables after using CSS.
 
0
•••
Yes, i understand what you are saying but it was solved, there are two ways :)
 
0
•••
Im actually just learning CSS and its great. thanks!
 
0
•••
Unstoppable Domains
Domain Recover
DomainEasy โ€” Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back