You are here: different css to dif resolution « HTML « IT news, forums, messages
different css to dif resolution

Posted by julian_m on 11/24/05 09:58

I'm thinking to do the following to be able to render the page
according to the user resolution

[pseudo-code]

<html>
<head>
<meta blah blah blah
......

if userselect = 800x600 {
<link rel="stylesheet" type="text/css" href="style800.css" >
}elseif userselect = 1024x768 {
<link rel="stylesheet" type="text/css" href="style1024.css" >
}elseif userselect = 640x480 {
<link rel="stylesheet" type="text/css" href="style640.css" >
}

[/pseudo-code]

Note that it will be coded in php, and the user will select certain
resolution (userselect parameter) given his own preferences

What do you think about this aproach?

regards - julian

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация