PhotoshopForums.com Home
Navigate Contact FAQ Search Members
Centering WebSites
Post new topic   Reply to topic    PhotoshopForums.com Forum Index -> General Photoshop and Design Discussion
 See a User Guidelines violation? Please contact us.
Author Message

def1

Joined: 30 Apr 2005
Posts: 223



PostPosted: Sat Aug 13, 2005 10:52 pm    Post subject: Centering WebSites Reply with quote

I thought I posted this already but I guess not

does anyone know the html code for centering websites. Its not in tables its in seperate images so please help
View user's profile Send private message Visit poster's website AIM Address

Jersey Hacker

Joined: 08 Jun 2005
Posts: 864
Location: Jersey, Channel Islands, UK


PostPosted: Sun Sep 18, 2005 5:19 am    Post subject: Reply with quote

As you have told me how to do it, i guess you already know, but for the people who dont, in the html file, where it says <begin imagready slices>or something similar, you need to place <center> after that, and then after all your slices, at the very bottom, it should say, <end imageready slices> you neesd to place </center> just before that, so for example you would have:




<begin imageready slices><center>

blah slice 1

blah slice 2

blah slice 3

</center><end imageready slices>

_________________
www.jerseyhacker.co.uk

Free File Uploader for Everyone to use
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger

Musoka

Joined: 13 Sep 2005
Posts: 11
Location: United States


PostPosted: Sun Sep 18, 2005 11:31 am    Post subject: Reply with quote

Or

<div style="margin:auto;">
<img>
<img>
</div>

Or if you have a stylesheet you could just add a ID to the DIV and make the margin:auto; CSS.

_________________
Tsuyamono(Down) :: DeviantArt
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger

Jersey Hacker

Joined: 08 Jun 2005
Posts: 864
Location: Jersey, Channel Islands, UK


PostPosted: Sun Sep 18, 2005 11:58 am    Post subject: Reply with quote

wow, didnt know that, thanks for posting
_________________
www.jerseyhacker.co.uk

Free File Uploader for Everyone to use
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger

BryanDowning

Joined: 05 Jul 2004
Posts: 1554
Location: California, USA


PostPosted: Thu Sep 22, 2005 5:20 pm    Post subject: Reply with quote

You can also use <div align="center">HI</div>, but I think that's deprecated.

Aligning something vertically is a bit more tricky...

_________________
Best Regards,
Bryan Downing
bryandowning.com
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    PhotoshopForums.com Forum Index -> General Photoshop and Design Discussion All times are GMT - 6 Hours
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Contact - User Guidelines >

Copyright © 2003-2016. PhotoshopForums.com, iFroggy Network. All Rights Reserved.
Powered by phpBB © phpBB Group. phpBB SEO. Privacy Policy.
We are in no way affiliated with Adobe. Photoshop, Adobe and related marks are registered trademarks of Adobe.
PhotoshopForums.com