Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [HTML][CSS] Strona na Divach, cellpadding
maly_pirat
post
Post #1





Grupa: Zarejestrowani
Postów: 215
Pomógł: 0
Dołączył: 13.06.2007

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


Cześć.

Robie www klanową (cms: webspell) na divach. Jestem przy menu, ale
zrobił mi się efekt: cellpadding , lub cellspacing (ten parametr, co dodaje się przy <table>)
I taki efekt mam, http://www.iv.pl/image/208903.jpeg a to spokjnie sie wszystko powinno zmieścić w 1 linii, bo robiłem juz to za pomocą <table> i było ok

Plik odpowiadający za te menu to #MENU;
Kod
#MENU {
    width: 930px;
    height: 33px;
    border: 0px;
    padding: 0px;
}


W jaki sposób uzyskać normalny efekt?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
maly_pirat
post
Post #2





Grupa: Zarejestrowani
Postów: 215
Pomógł: 0
Dołączył: 13.06.2007

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


Pomogło, ale nadal jest odstęp.

Taki kod zastosowałem w index.php
Kod
<div id="menu" style="padding: 0px; margin: 0;">
  <a href="index.php?site=news"> <img src="img/informacje.jpg" width="157" height="33" border="0"> </a>
  <a href="index.php?site=history"> <img src="img/historia.jpg" width="155" height="33" border="0"></a>
  <a href="index.php?site=clanwars"><img src="img/mecze.jpg" width="155" height="33" border="0"></a>
  <a href="index.php?site=members"> <img src="img/sklad.jpg" width="155" height="33" border="0"></a>
  <a href="index.php?site=server"> <img src="img/serwer-menu.jpg" width="155" height="33" border="0"></a>
  <a href="index.php?site=forum"> <img src="img/forum.jpg" width="153" height="33" border="0"></a>
</div>


http://www.iv.pl/image/209079.jpeg

Ten post edytował maly_pirat 4.07.2008, 14:53:00
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 - 16:29