Code simpler.
This commit is contained in:
parent
0a655c9370
commit
dea06c668c
@ -156,16 +156,11 @@ div.fiche
|
|||||||
// If position is abolute, we must not include the leftmenu in value
|
// If position is abolute, we must not include the leftmenu in value
|
||||||
print " margin-left: 20px;";
|
print " margin-left: 20px;";
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
elseif (eregi('MSIE 7\.0',$_SERVER['HTTP_USER_AGENT']))
|
elseif (eregi('MSIE 7\.0',$_SERVER['HTTP_USER_AGENT']))
|
||||||
{
|
{
|
||||||
// If position is relative, IE6 put the div under the leftmenu, so we force to absolute
|
// We do nothing
|
||||||
print " position: absolute;\n";
|
|
||||||
// If position is abolute, we must not include the leftmenu in value
|
|
||||||
print " margin-left: 20px;";
|
|
||||||
}
|
}
|
||||||
*/
|
else
|
||||||
else if (! eregi('MSIE 7\.0',$_SERVER['HTTP_USER_AGENT']))
|
|
||||||
{
|
{
|
||||||
// Firefox
|
// Firefox
|
||||||
print " position: absolute;\n";
|
print " position: absolute;\n";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user