Centered pages in Dreamweaver?

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch
Impact
7
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
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
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
Close
0
Close
It will make your page like that and you wont need to state margins becase it centers it all.
 
0
Close
Awesome! Rep inc.
 
0
Close
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
Close
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
Close
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
Close
Yes, i understand what you are saying but it was solved, there are two ways :)
 
0
Close
Im actually just learning CSS and its great. thanks!
 
0
Close
Appraise.net

We're social

Escrow.com
Spaceship
CryptoExchange.com
Domain Recover

NamePros updates

Quick replies: search, your most used replies, and more on every post
Quick replies are easier to find and use now. The quick reply menu has a search box. Type a few letters to find the reply you want. A...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back