![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 39 Pomógł: 0 Dołączył: 12.10.2007 Ostrzeżenie: (0%) ![]() ![]() |
Mam taki problem. Na stronie
http://www.fotosik.pl/pokaz_obrazek/pelny/...c42860e73b.html jest print screen mojego menu, które zrobiłem sobie na tabelkach (musiałem nie pytajcie) i 2 rzeczy są źle. Po pierwsze: wiersze takie jak Historia, Zarząd, Referencje są za wysokie. Jednak danie całemu <tr> albo wszystkim <td> na sztywno style="height: 4px;" nie działa. Mój efekt jaki chiałbym osiągnąć to coś takiego jak jest w http://hartwig.pl ale niestety tego kodu tam wogóle nie rozumiem (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) . Po drugie: Chciałbym , aby komórka np. O FIRMIE była wielkości obrazka, a nie zwierała jakieś białej przestrzeni ( zaznaczona jest ta przestrzeń czerwoną obwódką). Danie <td> paddingu 0px a img marginu 0px nie działa. AAaaha właśnie wejdź na stronę firefoxem, bo IE trochę problem 2 rozwiązuje. Jakieś pomysły? Ten post edytował Zick4 22.12.2007, 00:59:28 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 36 Pomógł: 0 Dołączył: 17.11.2007 Ostrzeżenie: (0%) ![]() ![]() |
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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <style type="text/css"> body { background-color:#CCCCCC; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px; text-decoration:none; color:#FFFFFF; } .menu_button_first { background-color:#FFCC33; border:dotted #FFFFFF 1px; width:400px; color:#333333; text-align:center; } .menu_button { background-color:#CC0000; border:dotted #FFFFFF 1px; width:400px; text-align:center; } .sub_menu_button { background-color:#FFCC33; border-bottom:dotted #FFFFFF 1px; color:#333333; width: 150px; height: 30px; } </style> </head> <body> <table width="500" cellpadding="0" cellspacing="0" border="0" align="center" bgcolor="#999999"> <tr> <td> <table width="500" cellpadding="5" cellspacing="5" border="0" align="center"> <tr> <td valign="top" class="menu_button_first"> O FIRMIE </td> <td valign="top" class="menu_button"> OFERTA </td> <td valign="top" class="menu_button"> JAKOSC </td> <td valign="top" class="menu_button"> KARIERA </td> <td valign="top" class="menu_button"> KONTAKT </td> </tr> </table> </td> </tr> <tr> <td> <table width="500" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> <td> <!-- miejsce na twoje zdjecie czy tam obrazek --> </td> <td> <table cellpadding="5" cellspacing="0" border="0" align="right"> <tr> <td class="sub_menu_button"> › Historia </td> </tr> <tr> <td class="sub_menu_button"> › Zarzad </td> </tr> <tr> <td class="sub_menu_button"> › Referencje </td> </tr> </table> </td> </tr> </td> </tr> </table> </body> </html> Jeśli chcesz mieć menu z lewej strony obrazka to zamień <td> miejscami |
|
|
![]() ![]() |
![]() |
Aktualny czas: 17.10.2025 - 20:21 |