Domandina pipicchia!!
Si può intervenire con php per modificare stili CSS?
Per capirci si può fare qualcosa del genere?
codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
<!--
#stodiv {
background-color: #0E4109;
background: url(images/foto_alpha1.jpg) no-repeat;
margin: 0px auto;
padding: <?PHP echo $valore."px"; ?>;
width: 700px;
height: 800px;
}
body {
background-color: #000000;
margin: 0px;
padding: 0px;
}
html, body {
height: 100%;
width: 100%;
}
-->
</style>