0 Replies Latest reply on Jun 2, 2010 6:08 AM by iconofsin14

    conditional css rules

    iconofsin14 Level 1

      Is it possible to detect the screen resolution and apply a CSS rule if and only if

      the resolution is ubove, bellow or exactly a specific resolution?

       

      The reason is that i have fixed my sites width too 1024 because I know this is the minimum resolution anyone is likely to use yet it looks acceptable at any resolution (in fact i would not want to unnessesarilly stretch the page just to fill a persons entire screen because that would stop users of large resolutions from reducing the window size)

       

      but there are a few users who would use lower resolutions (tablet pcs may have a lower horizontal resolution while displaying in landscape mode for example) so i want to apply different rules for them.