Reply
Need Help With Page Sizing
Old 03-04-2008, 12:14 AM Need Help With Page Sizing
Average Talker

Posts: 24
Name: Richie
i am having a problem with find the right page size to fit a viewers window dispite theyre resolution.

i am using dreamweaver and have still found it difficult to find the right size

could somone please explain how to do this?
plastic_prophet is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 03-04-2008, 03:21 AM Re: Need Help With Page Sizing
colin12's Avatar
Novice Talker

Posts: 13
Name: Colin Mc Donald
Location: Cambridge on canada
I had same problem using dream weaver 8.2//// I finished the page using only layers, and page was oh on laptop because of screen width,,,,I figured out when viewed on a ps that had 800x600 resolution half side had to be scl
rolled both horizontally and vertically,,,, I then used the ruler guides to keep stuff in between zero and 8 inches ,,,,,, next problem was centering.....

Try this... it's a quick fix, but it should work without too much code changing.

Immediately under the <body> tag, add the following two lines of code:

HTML Code:
<div style="width:100%"> <!-- create container div --> <div style="position:relative; width:950px; margin:0 auto;"> <!-- center inner div within the container div -->
Then, immediately before the </body> tag you need to close the two divs created above with:
HTML Code:
</div> <!-- close div.inner --></div> <!-- close div.container -->
That should work for ya... I had to add this centering on each page
colin12 is offline
Reply With Quote
View Public Profile
 
Old 03-04-2008, 04:16 AM Re: Need Help With Page Sizing
chrishirst's Avatar
Super Moderator

Posts: 13,609
Location: Blackpool. UK
You don't need a outer "container" and a fixed size, centred one.

Just a sized container inside the body. This you can set to suit the browser width your site users are most likely to be using.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-04-2008, 07:31 AM Re: Need Help With Page Sizing
Average Talker

Posts: 24
Name: Richie
Quote:
Originally Posted by chrishirst View Post
You don't need a outer "container" and a fixed size, centred one.

Just a sized container inside the body. This you can set to suit the browser width your site users are most likely to be using.

could you please be a little more explainative.

i appologise as i am a new at this am only making a very amature site.

i appreciate all your help
plastic_prophet is offline
Reply With Quote
View Public Profile
 
Old 03-10-2008, 02:08 AM Re: Need Help With Page Sizing
Average Talker

Posts: 24
Name: Richie
still trying to fix this issue can any1 help!!??
plastic_prophet is offline
Reply With Quote
View Public Profile
 
Old 03-10-2008, 09:57 AM Re: Need Help With Page Sizing
LadynRed's Avatar
Super Moderator

Posts: 6,555
Location: Tennessee
You might try reading up on liquid layouts:
http://css-discuss.incutio.com/?page=FluidDesign
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Need Help With Page Sizing
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13870 seconds with 12 queries