/    Sign up×
Community /Pin to ProfileBookmark

Full Screen Width for all resolutions

Here’s my question. In the browser, I want my page to take up the full screen, not matter what their screen resolution is. I don’t want to use the 100% setting, though, because if the user ISN’T in full screen, I don’t want divs resized, I want the scroll bar to appear.

Does that make sense? If so, is there a way to accomplish this?

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@cbVisionJul 19.2011 — So you want it to detect what resolution the user has?

For example, if their monitor is 1280 pixels wide, you want your DIV to be 1280 pixels wide, even if the window size is only 600px?

You may want to look at CSS3 media queries, specifically the "min-device-width" property.
Copy linkTweet thisAlerts:
@Major_PayneJul 20.2011 — Everyone wants the "Holy Grail" of web pages:

Choosing Dimensions for Your Web Page Layout:

In Search of the Holy Grail: http://www.alistapart.com/articles/holygrail/

http://www.elated.com/articles/choosing-dimensions-for-your-web-page-layout/

How to create flexible sites quickly using standards like CSS and XHTML: http://www.ibm.com/developerworks/web/library/wa-rapid/

960 Grid System: http://960.gs/

Care With Font Size: http://www.w3.org/QA/Tips/font-size
×

Success!

Help @Surfer513 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...