| Franco |
|
|---|---|
|
but isn't that to make the entire website smaller? the only thing that looks bad are the images on the news...
i'll see if i can adapt it to work only there Added 51 minutes later: ok.. did it another way....
in the index i placed this
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function redirectCSS() {
if (screen.width =< 1024)
{document.write("<link href='/skins/senator/css/red.css' rel='stylesheet' type='text/css'>")}
else
{document.write("<link href='/skins/senator/css/blue.css' rel='stylesheet' type='text/css'>")}
}
redirectCSS()
// End -->
</script>
Added 36 seconds later: and then in the other css i set the image widht with this
img {
max-width:400px;
}
Відредаговано: Franco (07.11.2011 19:34, 14 років тому) |