Mam taki problem, mam style, w których chce żeby jeden div był pod 2gim, wszystko ładnie pięknie pod Firefoxem, Operą, ale pod Internet Explorerm 7.0 już nie. Mam 2 divy, jak w kodzie, jeden ma być pod 2gim. Ale ie wyświetla jeden u góry, a 2gi pod nim (w sensie blokowym).
Oto kod:
<!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="pl" lang="pl"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" /> <style> body { margin:0; padding:0;} div.up { background-color: #DDD; border: 1px solid black; width: 900px; height:700px; margin: 0 auto; position: relative; top:0; z-index: 3; } div.down {background-color: #CCC; width: 100%; height: 300px; position: relative; z-index: 1; float: left; border: none; } </style> </head> <body> </body> </html>