page size 100% of monitor help needed please!

This is a discussion on "page size 100% of monitor help needed please!" within the Web Page Design section. This forum, and the thread "page size 100% of monitor help needed please! are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old May 14th, 2008, 12:18
New Member
Join Date: May 2008
Location: England
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
page size 100% of monitor help needed please!

Hi guys ... I am using this code to generate page dimesions within the code. As it stands it works fine with my monitor but I am sure if I view it in a larger monitor it will not look good. I want the page to discplay the entire width and length of the monitor regardless of its size without the scroll bars on bottom or right hand side.

I tried width: 100%; and height: 100% but it didnt work!

Can anyone suggest an option please.



Code: Select all
 
#dhtmlgoodies_dragDropContainer{ /* Main container for this script */
  width: 924px;
  height: 380px;
  background-color:#c8d0e0;
  -moz-user-select:none;
 }
Reply With Quote

  #2 (permalink)  
Old May 14th, 2008, 15:30
Junior Member
Join Date: Feb 2008
Location: Michigan
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Re: page size 100% of monitor help needed please!

Using a percentage width only defines the width in terms of the parent element, which may be smaller than the screen width. I'd recommend installing Firebug and using that to look at the element to see what other elements are affecting it. Same goes for height.
Reply With Quote
  #3 (permalink)  
Old May 18th, 2008, 15:33
Aso's Avatar
Aso Aso is offline
Chief Moderator

SuperMember
Join Date: Oct 2007
Location: UK
Posts: 967
Blog Entries: 2
Thanks: 5
Thanked 19 Times in 17 Posts
Send a message via Skype™ to Aso
Re: page size 100% of monitor help needed please!

Moved to CSS forum

You'll most likely need to use;
Code: Select all
html, body {
height: 100%;
}
By default, the width of a <div> will stretch to fit it's parent. The html and body elements are, by default, 100% of the screen width.
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
Reply With Quote
Reply

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
.mobi web page size webgal Web Page Design 4 Mar 1st, 2008 04:43
web page size Macca Starting Out 15 Jun 1st, 2007 06:34
Best page size? rubyfruit Starting Out 19 Mar 2nd, 2007 23:31
set up - Web Page Size ??? dbarrie Web Page Design 2 Jul 24th, 2006 14:12
size of page aseriouslyfunkydiva Graphics and 3D 1 Nov 16th, 2005 15:10


All times are GMT. The time now is 06:37.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43