Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSS based on resolution

Status
Not open for further replies.

Antonimo

Technical User
Jun 26, 2003
86
SE
I would like to determine the screen resolution or browser size of a visitor to the site and then deliver a page that links to a particular css based on the result.

I have found an example of how to deliver the css based on the type and version of the browser, but not screen size or resolution.

I would prefer to do this (if it is possible) than to use a javascript approach.

Is anybody able to assist me with this enquiry?
 
Thanks again Foamcow,

max-width would be the answer as I wish to constrain a liquid layout in larger screen resolutions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top