Autor | Zpráva | ||
---|---|---|---|
bavik Profil * |
#1 · Zasláno: 9. 11. 2007, 18:32:39
Prečo keď mám tento kód :
body { text-align: center; } #pozadie { width: 100%; height: 100%; background-color: #000000; } #obal { width: 800px; height: 100%; background-color: #ffffff; color: #000000; } #logo { width: 800px; background-color: #000000; } #menu { float: left; width: 800px; height: 30px; } #pravemenu { float: right; width: 150px; } #obsah { width: 650px; float: left; } #obsah , #pravemenu { margin: 0 0 0em 0; } mi nezobrazí pravemenu a obsah pri sebe ale jedno nižšie a druhe vyššie? Ďakujem |
||
Manq Profil |
#2 · Zasláno: 9. 11. 2007, 18:42:19
Dobré by bylo, kdybys nám ukázal i HTML..
|
||
bavik Profil * |
#3 · Zasláno: 9. 11. 2007, 18:43:12
cely kod:
<!-- ?xml version="1.0" encoding="windows-1250"? --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs"> <head> <meta http-equiv="Content-Language" content="cs"/> <meta http-equiv="Content-Type" content="text/html; charset=windows-1250"/> <title>HBC Andze</title> <style type="text/css" media="all"> p {text-align: center;} address {text-align: left;} .doprava {text-align: right} .dostredu {text-align: center} table {text-align: center;} table {text-align: left;} .doboku {text-align: justify} a:link {color: #000000;} a:visited {color: #000000;} a:hover {color: #000000} body { text-align: center; } #pozadie { width: 100%; height: 100%; background-color: #000000; } #obal { width: 800px; height: 100%; background-color: #ffffff; color: #000000; } #logo { width: 800px; background-color: #000000; } #menu { float: left; width: 800px; height: 30px; } #pravemenu { float: right; width: 150px; } #obsah { width: 650px; float: left; } #obsah , #pravemenu { margin: 0 0 0em 0; } </style> </head> <body> <div id="pozadie"> <div id="obal"> <div id="logo"> <a href="index.php"><img src="logo.jpg" width="800" height="110" border="0"></a> </div> <div id="menu"> <table width="800" border="1" bordercolor="#000000" collspan="0" cellspacing="0"> <tr> <td bgcolor="#c00000"> Menu </td> </tr> </table> </div> <div id="obsah"> <!--WZ-REKLAMA-1.0IZ--><div align="center"><table width="496" border="0" cellspacing="0" cellpadding="0"><tr><td><a href="http://www.webzdarma.cz/"><img src="http://i.wz.cz/banner/nudle03.gif" width="28" height="60" style="margin: 0; padding: 0; border-width: 0" alt="WebZdarma.cz" /></a></td><td> <script type="text/javascript"> <!-- /* (c) 2001 AdCycle.com All Rights Reserved.*/ var id=880; var jar=new Date();var s=jar.getSeconds();var m=jar.getMinutes(); var flash=s*m+id;var cgi='http://ad.wz.cz'; var p='<iframe src="'+cgi+'/ad.cgi?gid=18&t=_top&id='+flash+'&type=iframe " '; p+='height="60" width="468" border="0" marginwidth="0" marginheight="0" hspace="0" '; p+='vspace="0" frameborder="0" scrolling="no">'; p+='<a href="'+cgi+'/click.cgi?manager=adcycle.com&gid=18&id='+flash+ '" target="_top">'; p+='<img src="'+cgi+'/ad.cgi?gid=18&id='+flash+'" width="468" height="60" '; p+='border="0" alt="Klikni" /></'+'a></'+'ifra'+'me>'; document.write(p); // --> </script><noscript><div><a href="http://ad.wz.cz/click.cgi?manager=adcycle.com&gid=18&id= 880"><img src="http://ad.wz.cz/ad.cgi?gid=18&id=880" width="468" height="60" style="margin: 0; padding: 0; border-width: 0" alt="Klikni" /></a></div></noscript> </td></tr></table></div> <!--WZ-REKLAMA-1.0IK--> </div> <div id="pravemenu"> <table width="150" border="1" bordercolor="#000000" collspan="0" cellspacing="0"> <tr> <td bgcolor="#c00000"> <style="margin-left: 30px">Anketa</style> </td> </tr> <tr> <td bgcolor="#ffffff"> <iframe width="150" height="192" frameborder="0" scrolling="no" src="http://blueboard.cz/anketa_0.php?id=649083"> <a href="http://blueboard.cz/anketa_0.php?id=649083">Anketa</a> od <a href="http://blueboard.cz/">BlueBoard.cz</a> </iframe> </td> </tr> <tr> <td bgcolor="#c00000"> <style="margin-left: 30px">Shoutbox</style> </td> </tr> <tr> <td bgcolor="#ffffff"> <iframe frameborder="0" scrolling="no" width="150" height="350" src="http://www.blueboard.cz/shoutboard.php?hid=3upbuo2r5tx4b9k631diba sm3ksdn4"> <a href="http://www.blueboard.cz/shoutboard.php?hid=3upbuo2r5tx4b9k631dib asm3ksdn4">ShoutBoard od BlueBoard.cz</a> </iframe> </td> </tr> </table> </div> </div> </div> </body> </html> |
||
Casero Profil |
#4 · Zasláno: 9. 11. 2007, 18:43:37
bavik
Chybný box-model?...ukaž i HTML |
||
Manq Profil |
#5 · Zasláno: 9. 11. 2007, 18:45:51
|
||
Casero Profil |
#6 · Zasláno: 9. 11. 2007, 18:48:00
bavik
Sry...psal jsem to ještě bez toho HTML. Ale jestli je to chybně jen v IE, tak je to tou deklarací XML na začátku, která ti to shazuje do quirku. Řešení je všude, stačí hledat (matrjoška) nebo piš ve standardním režimu. |
||
bavik Profil * |
#7 · Zasláno: 9. 11. 2007, 18:51:19
aha ano diki uz to ide
|
||
Časová prodleva: 18 let
|
0