![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 19 Pomógł: 0 Dołączył: 21.02.2006 Ostrzeżenie: (0%) ![]() ![]() |
Witam!
Moj problem polega na tym ze w przegladarce Firefox oraz w Operze moja strona po nacisnieciu w linki z menu bocznego przesuwa sie raz w lewo raz w prawo. Nie wiem co jest grane ![]() Prosze o pomoc! Mozecie sprawdzic sami pod adresem Moja strona Zalaczam kod glownej strony. Kod <?php session_start(); ?> <?php print " <html> <head <meta http-equiv=content-type content=text/html; charset=iso-8859-2> <link rel= stylesheet HREF=style.css> <title>Samodzielny zakład programowania</title> </head> <body> <table class=glowna align=center cellspacing=4> <tr> <td colspan=2 height=100><img src=grafika/baner.jpg></td> <td><td> </tr> <tr> <td class=pasek colspan=2>"; include('logform.php'); print "<br> </td> <td></td> </tr> <tr> <td class=menu valign=top> <br> <table align=center cellspacing=4> <tr> <td class=buton background=grafika/buton.gif align=center><a href=index.php?czy=1>aktualno¶ci</a></td> </tr> <tr> <td class=buton background=grafika/buton.gif align=center><a href=index.php?czy=2>microsoft</a></td> </tr> <tr> <td class=buton background=grafika/buton.jpg align=center><a href=index.php?czy=3>sun</a></td> </tr> <tr> <td class=buton background=grafika/buton.jpg align=center><a href=index.php?czy=4>szkolenia</a></td> </tr> <tr> <td class=buton background=grafika/buton.jpg align=center><a href=index.php?czy=5>projekty</a></td> </tr> <tr> <td class=buton background=grafika/buton.jpg align=center><a href=index.php?czy=6>certyfikaty</a></td> </tr>"; if($_SESSION['loged']==true) { print "<tr> <td class=buton background=grafika/buton.jpg align=center><a href=index.php?czy=7>egzaminy</a></td> </tr>"; print "<tr> <td class=buton background=grafika/buton.jpg align=center><a href=index.php?czy=15>materiały</a></td> </tr>"; } print "<tr> <td class=buton background=grafika/buton.jpg align=center><a href=index.php?czy=8>zdjęcia</a></td> </tr> <tr> <td class=buton background=grafika/buton.jpg align=center><a href=index.php?czy=9>linki</a></td> </tr> <tr> <td class=buton background=grafika/buton.jpg align=center><a href=index.php?czy=13>kontakt</a></td> </tr> </table> </td> <td class=glowna><br>"; include ('klasa.php'); $obiekt = new klasa(); $obiekt -> polacz(); if($_REQUEST['czy']==0) { $wybor = 1; } else { $wybor = $_REQUEST['czy']; } switch($wybor) { case 1: $obiekt -> index(); break; case 2: $obiekt -> microsoft(); break; case 3: $obiekt -> sun(); break; case 4: $obiekt -> szkolenia(); break; case 5: $obiekt -> projekty(); break; case 6: $obiekt -> certyfikaty(); break; case 7: $obiekt -> egzaminy(); break; case 8: $obiekt -> zdjecia(); break; case 9: $obiekt -> linki(); break; case 10: $obiekt -> profil(); break; case 11: $obiekt -> adminpanel(); break; case 12: $obiekt -> zmien(); break; case 13: $obiekt -> kontakt(); break; case 14: $obiekt -> dane(); break; case 15: $obiekt -> materialy(); break; } $obiekt -> rozlacz(); ?> </td> </tr> </table> i jeszcze plik stylow CSS Kod body
{ background:#f1f1ef; } table.glowna { width:800; } td.pasek { background-image: url("./grafika/logobar.gif"); background-position = "top"; } td.menu { width:137; padding-top:1; padding-bottom:7; } td.buton { width:120; } td.glowna { background:white; width:709; padding-left:1; padding-right:4; padding-top:7; padding-bottom:7; } a:link { font-family: Arial; font-size: 15; font-weight: bold; text-decoration: none; color:#FFFFFF; } a:visited { font-family: Arial; font-size: 15; font-weight: bold; text-decoration: none; color: #FFFFFF; } a:hover { color: red; font-size: 15; font-family: Arial; font-weight: bold; text-decoration: none; } a:active { font-family: Arial; font-size:15; font-weight: bold; text-decoration: none; } h4 { font-family: arial; font-size: 15; font-weight: bold; text-decoration: none; color:black } span { font-family: arial; font-size: 18; font-weight: bold; text-decoration: none; color:white; } p { font-family: arial; font-size: 14; font-weight: bold; text-decoration: none; color:black } table.tabelka1 { border-collapse: collapse; } tr.tabelka1 { font-family: arial; font-size: 13; font-weight: bold; text-decoration: none; color:black } tr.tabelka { font-family: arial; font-size: 14; text-decoration: none; color:black } hr { color:#5271c1; } a.l:link { font-family: Arial; font-size: 15; font-weight: bold; text-decoration: none; color:#993366; } a.l:visited { font-family: Arial; font-size: 15; font-weight: bold; text-decoration: none; color: #993366; } a.l:hover { color: red; font-size: 15; font-family: Arial; font-weight: bold; text-decoration: none; } a.l:active { font-family: Arial; font-size:15; font-weight: bold; text-decoration: none; } |
|
|
![]()
Post
#2
|
|
![]() Grupa: Zarejestrowani Postów: 634 Pomógł: 14 Dołączył: 27.05.2006 Skąd: Berlin Ostrzeżenie: (0%) ![]() ![]() |
Kodu nawet nie przgladalem bo od razu widac, masz ustawione align="center" i rozmiar wszystkich stron ni jest jednakowy, postaraj sie zmienic
na
gdzie ****** to rozmiar tabeli, rozmiar musisz wycentrowac zeby miescil wszystkie strony, i byl na wszystkich jednakowy |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 29.06.2025 - 02:44 |