The server that i am running on is a linux based OS, and has PHP4 already installed. i don't know if i can throw together JavaScript and PHP together in the same page (ASP server i know won't let me use VB and JS) but i am trying to call the object properties from the screen to determine the size i want to set my text to.
In JS, i was going to call the screen.height and screen.width function, then include a section of code that will load up the text size, thusly:
<script language="JavaScript1.2">
<!--
/
Screen resolution detection and text resizer
/
var currentwidth=screen.width
var currentheight=screen.height
if (currentwidth==800||currentheight==600)
(
document.write("" + <?php include(css800x600.css")> + "")
)
if (currentwidth==1024||currentheight==768)
(
document.write("" + <?php include(css1024x768.css")> + "")
)
//-->
</script>
The css file would then have the font sizes, classes, etc for inclusion into the rest of the page. the whole point of it is to have a template that would look the same - no matter what resolution the client would be viewing the page at. if someone could offer some insight, i would greatly appreciate it.