Skip to content
Snippets Groups Projects
Commit 238067c7 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: barre de défilement horizontale sur IE7

parent 2c1e7250
Branches
Tags
No related merge requests found
...@@ -156,6 +156,7 @@ div.fiche ...@@ -156,6 +156,7 @@ 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 // If position is relative, IE6 put the div under the leftmenu, so we force to absolute
...@@ -163,7 +164,8 @@ div.fiche ...@@ -163,7 +164,8 @@ 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;";
} }
else */
else if (! eregi('MSIE 7\.0',$_SERVER['HTTP_USER_AGENT']))
{ {
// Firefox // Firefox
print " position: absolute;\n"; print " position: absolute;\n";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment