Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [css][html] Obrys, Obramowanie
poxrimex
post 18.01.2008, 14:23:48
Post #1





Grupa: Zarejestrowani
Postów: 368
Pomógł: 2
Dołączył: 23.09.2007

Ostrzeżenie: (60%)
XXX--


Witam mam problem, gdyż element pomimo ustawień w css nie jest obramowany ;/

plik html:

  1. <div id="tresc">
  2. BlaBla
  3. <div id="menu">
  4.  
  5. BlaBla
  6.  
  7. </div>
  8.  
  9. </div>


a to plik css:

  1. #tresc
  2. {
  3. width:900px;
  4. background-color: black;
  5. margin-left: auto;
  6. margin-right: auto;
  7. clear: both;
  8. }
  9.  
  10.  
  11. #menu
  12. {
  13. width:300px;
  14. background-color: white;
  15. margin-left: 10;
  16. margin-right: auto;
  17. clear: both;
  18. border-top-width: medium;
  19. border-top-color: blue;
  20. }


a chciałbym aby div menu był obramowany ...

Ten post edytował poxrimex 18.01.2008, 14:24:19


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



Go to the top of the page
+Quote Post
Cezar708
post 18.01.2008, 14:36:48
Post #2





Grupa: Zarejestrowani
Postów: 1 116
Pomógł: 119
Dołączył: 10.05.2005
Skąd: Poznań

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


Cytat
#tresc
{
width:900px;
background-color: black;
margin-left: auto;
margin-right: auto;
clear: both;
}


#menu
{
width:300px;
background-color: white;
margin-left: 10;
margin-right: auto;
clear: both;
border: 1px solid blue;
/* border-top-width: medium;
border-top-color: blue;*/

}


po zmianie u mnie zadziałało
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: 19.07.2025 - 09:15