Runboard.com
You're welcome.

runboard.com       Sign up (learn about it) | Sign in (lost password?)


 
GeoArt Profile
Live feed
Blog
Friends
Miscellaneous info

Time to ROCK!
Global user

Registered: 12-2008
Posts: 355
Reply | Quote
Centering/stretching


Anyone know a simple way to stretch a website so it's always 1)centered and 2) the same size ratio on all screens?

Before I get posts with links to such and such tutorial I have those. Looking for a simpler , talk down to me answer. If you don't know off hand or never dealt with it, don't answer.

Mainly asking because I want to make sure the size comes across alright.
5/25/2009, 5:50 am Link to this post Send Email to GeoArt   Send PM to GeoArt
 
shodan2 Profile
Live feed
Blog
Friends
Miscellaneous info


Global user

Registered: 12-2008
Posts: 189
Reply | Quote
Re: Centering/stretching


hold CTRL and spin that little wheel thing inbetween your mouse bottons.
5/25/2009, 9:51 am Link to this post Send Email to shodan2   Send PM to shodan2
 
GeoArt Profile
Live feed
Blog
Friends
Miscellaneous info

Time to ROCK!
Global user

Registered: 12-2008
Posts: 355
Reply | Quote
Re: Centering/stretching


wow, neat trick haha but I meant as a website build emoticon
5/25/2009, 12:26 pm Link to this post Send Email to GeoArt   Send PM to GeoArt
 
Autonymous Rex Profile
Live feed
Blog
Friends
Miscellaneous info

The Watcher
Global user

Registered: 12-2008
Posts: 769
Reply | Quote
Re: Centering/stretching


You can use tables (or their css equivalent). Thing is, you can only define one section as "X". There used to be the option of defining them by percentages (of course you must make sure they equal 100%). I know around versions 4-5 of IE that such coding was buggy at best. Maybe they reimplemented it so that it works better now (can only hope). Otherwise, you have to define your widths.

If you have say, 3 columns/sections, you would have to give 2 of them specific widths, and then the third column (say the article/information section) you could define as X (ie the remainder of the screen space taken up).

As for centering the page, you could use simple "center" tags at the top and bottom of the page (if it's simple enough, or uses tables for the layout, since you can format text within the table cells as need be and still retain the overall center tags). I know there's simple CSS code for it too, but I stopped building websites about the time css started taking over. I think you can find more info on [sign in to see URL] or [sign in to see URL] (I think that's the site, it's the organization that basically establishes the 'standards' of web coding).

---

5/25/2009, 2:28 pm Link to this post Send Email to Autonymous Rex   Send PM to Autonymous Rex MSN Yahoo Messenger
 


Add a reply





You are not logged in (login)