in pratica se provate questo codice che vi sto per postare noterete il problema
esempio.html
Codice PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="it">
<head>
<title>PROVA </title>
<link rel="stylesheet" type="text/css" title="normal" href="/css/nomrale.css" />
<link rel="stylesheet" type="text/css" title="wider" href="/css/wider.css" />
<script src="dynamiclayout.js" type="text/javascript"> </script>
</head>
<body>
<div id="prova">
</div>
</body>
</html>
normale.css
Codice PHP:
body
{
backgrund:#DEDEDE;
}
div#prova
{
width:780px;
background:#000000;
}
wider.css
Codice PHP:
body
{
backgrund:#DEDEDE;
}
div#prova
{
width:980px;
background:#FFFFFF;
}
qui trovate lo script per adattare i layout..
Allora come faccio a risolvere il mio problema?