Resize webpage with user's window in PhotoshopCS2

  You are currently not logged in. You can view the forums, but cannot post messages. Log In | Register

17-Jun-06 02:35
Hi, I'm sure this is something very simple that I am missing. How do I get the front page of my website to resize to the user's window size. Mine is a fixed size so if the end user has a bigger window my page just sits in the top left corner looking silly.
Is it even possible just using Photoshop?

Here is a link to the site if that helps. http://www.dionewhite.com/index.html
18-Jun-06 15:53
Well I did find out about the Html tags <center> and </center>. Which at least centers the page in the user's window. So that's a start.

[Edited by dionewhite on 18-Jun-06 15:53]
19-Jun-06 09:51
Hi dione,

Nice photos! The <center> tag is a bit old now, but will likely still work (I see you took them out?).

A more modern way would be to wrap everything in a div tag like this:

<div style="margin-left: auto; margin-right: auto; width: 820px;">

Everything between the body tags goes here.

</div>

You can tell it's more up to date, because it's way more complicated and semantically useless!

*Joke*, CSS-types.

Simon
ELATED : )


--
ELATED : )
http://www.PageKits.com
Professional Website Templates

 
New posts
Old posts

Follow Elated