Problema Div-uri in FF
Last Updated: Jun 23 2008 08:26, Started by
ultras.nick
, Jun 22 2008 17:06
·
0

#1
Posted 22 June 2008 - 17:06

Salut,
Am urmatoarul cod: <body> <div align="center"> <div id="main" style=" width:800px; background:#333333"> <div style=" width:800px; height:125px; background:url(Header2_test.png)"></div> <div style="width:200px; height:500px; float:left"> Left <br /> Left 2 <br /> Left 3 </div> <div style="width:600px; height:500px; float:right"> Right </div> <div style="width:800px; height:30px"> Bottom</div> </div> </div> </body> Si imi afiseaza ca in atasament. Practic nu imi fill-ueste tot Div-ul in culoarea data de mine. Si se intampla doar in Firefox. Tototdata, intr-o situatie similara, cuvantul 'Botom' se vede pe pe undeva cam pe unde se termina de fill-uit griul din atasament. Se comporta ca si cum div-ul "main" se termina pe undeva pe sus. Stie cineva unde e problema? Multumesc anticipat. Attached FilesEdited by ultras.nick, 22 June 2008 - 17:07. |
#2
Posted 22 June 2008 - 19:04

salut..incearca sa faci style-urile div-urilor din css ... o sa ma uit si eu peste cod si daca reusesc ceva te anunt.
|
#3
Posted 22 June 2008 - 21:19

#4
Posted 23 June 2008 - 08:26

codul corect ar fi
Citat <body> <div id="main" style="margin:0 auto; width:800px; background:#333333; text-align:center;"> <div style=" width:800px; height:125px; background:url('Header2_test.png');"></div> <div style="width:200px; height:500px; float:left;"> Left <br /> Left 2 <br /> Left 3 </div> <div style="width:600px; height:500px; float:right;"> Right </div> <div style="clear:both; width:800px; height:30px;"> Bottom</div> </div> </body> |
Anunturi
Bun venit pe Forumul Softpedia!
▶ 0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users