Centering Web Pages in Created In Photoshop CS3

K
Posted By
Kaatt
Nov 12, 2008
Views
365
Replies
10
Status
Closed
Hello,

When I make a web page in Photoshop CS3, I can’t figure out how to create it in HTML where the page is center justified rather than right justified.

How can I do this?

How to Master Sharpening in Photoshop

Give your photos a professional finish with sharpening in Photoshop. Learn to enhance details, create contrast, and prepare your images for print, web, and social media.

P
Phosphor
Nov 12, 2008
Quick answer:

Find out just enough about HTML to know where to place the <center> and </center> tags.

Hit Google for basic html tutorials

You’ll find a skadillion of them.

If you don’t want to dig in and learn HTML you might just want to use a page template, and you can find thousands of free ones, also with a Google search.
M
Mylenium
Nov 12, 2008
The tag is deprecated and should not be used any longer. Instead you may wish to create a and extend it with a style align:center;. Should look something like this when complete:

your stuff here

Mylenium
P
Phosphor
Nov 12, 2008
"The <center> tag is deprecated and should not be used any longer."

Meh…it still works, and for somebody who knows next-to-nothing about CSS and getting a page to look the way they want it, it’ll do just fine.

When it quits working in most browsers, then I’d start worrying that my meager understanding of page coding needs a refill and upgrading.

🙂
DM
dave_milbut
Nov 12, 2008
what mylenium said. although i’d prefer to use <span style="align:center;"> though unless a <div> is absolutely necessary.
(also is that attrib supposed to be align or text-align. i’m not looking it up right now. left as an exercise for the reader. :))
DM
dave_milbut
Nov 12, 2008
and for somebody who knows next-to-nothing about CSS and getting a page to look the way they want it, it’ll do just fine.

the point is if they already know next to nothing about coding web pages, the best way to teach them to do something is the correct way.

deprecated means there are no guarantees going forward. that means it might work, or it might be 1 upgrade away from not working.
P
Phosphor
Nov 12, 2008
All I’m saying is if somebody is trying to output good code from Photoshop, their entire way of working has some serious drawbacks to begin with.

If it’s just for a casual user to get a page slapped up? Yeah, that’s OK.

As a visual template for recreating in a proper website-creation app? Yeah, that’s OK.

But even the comments you guys have made so far would require the O.P. to wonder what to do with the code, where to put it, etc.

Either way, it’s going to require a little studying and practice, trial-and-failure, tweaking and reading some more.

🙂
DM
dave_milbut
Nov 12, 2008
If it’s just for a casual user to get a page slapped up? Yeah, that’s OK.

again phos, it’s not ok. if they don’t know already, why teach them the wrong way then say, oh, but maybe that won’t work… especially for a newbie teach the right way first and there’s no need to teach any other.
JJ
Jim_Jordan
Nov 12, 2008
why teach them the wrong way[?]

Indeed.

Don’t use Photoshop to make web pages!

So there.

🙂

There are a few ways to make HTML from Photoshop and we have no idea which option Kaatt used. Having a page already ‘right justified’ makes this even more of a mystery. So to teach someone the right way, we should be directing them to the web design forum.
P
Phosphor
Nov 12, 2008
Don’t have, or can’t afford Dreamweaver, Kaatt?

Look into the very full-featured and FREE Komposer <http://kompozer.net/> website creation application.
DM
dave_milbut
Nov 12, 2008
Don’t use Photoshop to make web pages! So there.

tooshy! 🙂

Master Retouching Hair

Learn how to rescue details, remove flyaways, add volume, and enhance the definition of hair in any photo. We break down every tool and technique in Photoshop to get picture-perfect hair, every time.

Related Discussion Topics

Nice and short text about related topics in discussion sections