Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> znacznik <p> w <td>
Luke
post
Post #1





Grupa: Przyjaciele php.pl
Postów: 215
Pomógł: 0
Dołączył: 28.10.2003
Skąd: -

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


  1. <table width="80%" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC">
  2. <tr>
  3. <td align="left" valign="top"><p>sdfsdfsdfsdfsdfsdfsdfsdf</p>
  4. <p>dfsdfsdfsdfsdfsdfsd</p>
  5. <p>sfsdfsdfsdfsdfsdf</p></td>
  6. </tr>


Ten prosty kod ilustruje odstep znacznika <p> od gornej i dolnej krawedzi komorki, ktory wystepuje w przegladarkach Mozilla. Nie wiem jak zlikwidowac te odstepy? Problem wydaje sie byc blahy jednak nie moge sobie z nim poradzic.
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Luke
post
Post #2





Grupa: Przyjaciele php.pl
Postów: 215
Pomógł: 0
Dołączył: 28.10.2003
Skąd: -

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


  1. <table width="80%" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC">
  2. <tr>
  3. <td align="left" valign="top" style="margin-top:0px; margin-bottom:0px;"><p>sdfsdfsdfsdfsdfsdfsdfsdf</p>
  4. <p>dfsdfsdfsdfsdfsdfsd</p>
  5. <p >sfsdfsdfsdfsdfsdf</p>
  6.  
  7. </td>
  8. </tr>


Niestety nie dziala. Natomiast <p style="margin-top:0px"></p> i analogicznie z margin-bottom nie wchodzi w gre ...
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Aktualny czas: 9.10.2025 - 03:37