Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Problem z wyswietleniem
baczkowsky
post 25.10.2004, 15:48:15
Post #1





Grupa: Zarejestrowani
Postów: 8
Pomógł: 0
Dołączył: 17.10.2004

Ostrzeżenie: (0%)
-----


nie chce mi działac kod. chodzi o to ze niewyswtla jednej komorki z tekstem "czemu to nie działa"
  1.  
  2. <link rel="stylesheet" href="./css/style.css" type="text/css"/>
  3. </head>
  4.  
  5. <a name="top"></a>
  6. <table class="tableMain" cellspacing="0">
  7. <tr class="trMenu">
  8. <td colspan="2"><a href=""><img src="./img/logo.gif" alt="hljhkl"/></a></td>
  9. </tr>
  10. <tr class="trMenu">
  11. <td class="tdMenuLeft"><a class="menu" href="index.php?name=news&amp;op=all&amp;page=1">link</a> | <a class="menu" href="">link</a> | <a class="menu" href="">link</a> | <a class="menu" href="">link</a> | <a class="menu" href="">glink</a></td>
  12. <td class="tdMenuRight"><input class="inputSearch" type="text" name="word"/> <a href="./search.php"><img src="./img/search.gif" alt="Szukaj"/></a></td>
  13. </tr>
  14. <tr>
  15. <td colspan="2" class="tdTitle">aktualności</td>
  16. </tr>
  17. <tr>
  18. <td>
  19. </td>
  20. </tr>
  21. <tr>
  22. <td colspan="2" class="tdContent"><p class="pTitle"></p>
  23. <p class="pTitle">To jest bardzo dlugi tytul ..........</p><table class="tableNewsOne"><tr><td rowspan="2"><img src="./img/new.gif" alt="New"/></td><td width="100%">Data: 21.02.2003</td></tr><tr><td>Autor: </td></tr><tr><td colspan="2" class="tdNewsContent">taka tam wiadomosc</td></tr><tr><td colspan="2" class="tdNewsRight">czemu to nie dziala</td></tr></table></td>
  24. </tr>
  25. <tr>
  26. <td>
  27. </td>
  28. </tr>
  29. <tr>
  30. <td colspan="2" class="tdMenuBottom"><a class="menu" href="index.php?name=news&amp;op=all&amp;page=1">link</a> | <a class="menu" href="">link</a> | <a class="menu" href="">link</a> | <a class="menu" href="">link</a> | <a class="menu" href="">glink</a>
  31. </td>
  32. </tr>
  33. <tr>
  34. <td colspan="2" ><p class="pSmall">All rigths reserved by plplplp</p>
  35. </td>
  36. </tr>
  37. </table>
  38. </body>
  39.  
  40. </html>


  1. td.tdNewsTitle {font-weight: bold;
  2. width: 100%;}
  3.  
  4. td.tdNewsContent {font-size: 11px;
  5. height: 100%;
  6. vertical-align: top;}
  7.  
  8. td.tdNewsRight {color: rgb(130, 44, 44);
  9. font-size: 11px;
  10. text-align: right;}
  11. table {border: 0px;
  12. font-family: "Verdana", Arial, sans-serif;
  13. font-size: 12px;}
  14.  
  15. table.tableMain {width: 100%;
  16. height: 100%;}
  17.  
  18. table.tableNewsOne {height: 100%;}


Może ktoś wie o co tu chodzi?


--------------------
"Nauka to potęgi klucz (jak będziesz miał dużo kluczy to zostaniesz woźnym)"
Go to the top of the page
+Quote Post
revyag
post 26.10.2004, 08:49:41
Post #2





Grupa: Przyjaciele php.pl
Postów: 2 258
Pomógł: 16
Dołączył: 21.09.2004
Skąd: Kielce

Ostrzeżenie: (0%)
-----


Nie działa z proste przyczyny. Na wierszem którego nie widać masz wiersz który ma wyskość 100% całej tabeli. Zmniejsz to na 50%. W tdNewsRight daj height:50%, albo ile tam sobie chcesz wiersz się pojawi.


--------------------
-------------

------
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 14.08.2025 - 06:14