Guru3D.com Forums

Go Back   Guru3D.com Forums > General > Programming/Html
Programming/Html C++,Visual Basic,HTML,Flash,OpenGL,Modelling,Java.


Reply
 
Thread Tools Display Modes
Need help with min-device-height
Old
  (#1)
quaker3
Master Guru
 
Videocard: MSI 6850HD
Processor: AMD 7850 BlackEdition
Mainboard: abit av8
Memory: 2GB ddr
Soundcard:
PSU: 460 WATT
Default Need help with min-device-height - 07-20-2012, 20:02 | posts: 561

Hi,

need some help:

my website got 2css.. one is:
<link rel="stylesheet" media="only screen and (min-device-width: 1270px) and (min-device-height: 1020px)" href="style1020.css" />


another is:
<link rel="stylesheet" media="only screen and (min-device-width: 1600px) and (min-device-width: 1200px)" href="style1200.css" />

The problem is when i use 1920*1080 website uses style1200.css and it shoudnt! Any help is appreceated
   
Reply With Quote
 
Old
  (#2)
Nato.dbnz
Ancient Guru
 
Nato.dbnz's Avatar
 
Videocard: 5870 Crossfire
Processor: 2500k 4.5GHz
Mainboard: ASUS P8P67 Pro
Memory: 8Gb Dominator 1600
Soundcard: Xonar STX + HD598
PSU: Silverstone Strider 1000W
Default 07-22-2012, 21:55 | posts: 3,255 | Location: Auckland NZ

In the style1200.css link you have specified the width twice, rather than width and height.
   
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump



Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com
Copyright (c) 1995-2012, All Rights Reserved. The Guru of 3D, the Hardware Guru, and 3D Guru are trademarks owned by Hilbert Hagedoorn.