Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [HTML][CSS]Div w diwie ale na dole
redelek
post
Post #1





Grupa: Zarejestrowani
Postów: 658
Pomógł: 37
Dołączył: 4.06.2005
Skąd: Wawa

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


Witam,

Temat może zakręcony, ale już rozjaśniam o co mi chodzi.
Mam div o nazwie baner jego styl wygląda tak
  1. #baner
  2. {
  3. background: #87CEFA;
  4. width: 970px;
  5. height: 100px;
  6. margin-left: 2px;
  7. margin-right: 2px;
  8. }


Chciałbym umieścić w nim jeszcze jednego DIV, ale żeby był na samym dole
  1. #baner_menu{
  2. text-align:right;
  3. border: 1px solid green;
  4. float: right;
  5. width: 500px;
  6. }


Zrobiłem tak jak wyżej pokazałem. Niestety cały czas wstawia mi go na górze diva baner.
Macie może pomysł na to ?

Ten post edytował redelek 29.07.2009, 09:48:42
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 5)
Lion_87
post
Post #2





Grupa: Zarejestrowani
Postów: 850
Pomógł: 120
Dołączył: 15.02.2007
Skąd: Łódź

Ostrzeżenie: (10%)
X----


Cytat
Macie może pomysł na to ?

A nie możesz DIV po DIVem ? (IMG:http://forum.php.pl/style_emoticons/default/tongue.gif)
Go to the top of the page
+Quote Post
redelek
post
Post #3





Grupa: Zarejestrowani
Postów: 658
Pomógł: 37
Dołączył: 4.06.2005
Skąd: Wawa

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


No nie właśnie chciałem tak go wpleść w div baner, bo mam ładnie to zintegrowane graficznie.
Niestety mam problem, żeby go ustawić na dole, tego banera (IMG:http://forum.php.pl/style_emoticons/default/sad.gif)
Go to the top of the page
+Quote Post
Lion_87
post
Post #4





Grupa: Zarejestrowani
Postów: 850
Pomógł: 120
Dołączył: 15.02.2007
Skąd: Łódź

Ostrzeżenie: (10%)
X----


może padding...margin...?
Go to the top of the page
+Quote Post
Spawnm
post
Post #5





Grupa: Moderatorzy
Postów: 4 069
Pomógł: 497
Dołączył: 11.05.2007
Skąd: Warszawa




no to daj margin-top dla menu (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)
Go to the top of the page
+Quote Post
redelek
post
Post #6





Grupa: Zarejestrowani
Postów: 658
Pomógł: 37
Dołączył: 4.06.2005
Skąd: Wawa

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


Cytat(Spawnm @ 29.07.2009, 08:58:38 ) *
no to daj margin-top dla menu (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)


ooo boże a ja kombinowałem jak koń pod górę. wydawało mi się że wczoraj tak robiłem, ale może to mi się śniło (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)

Dzięki (IMG:http://forum.php.pl/style_emoticons/default/exclamation.gif) ! (IMG:http://forum.php.pl/style_emoticons/default/sciana.gif)
Go to the top of the page
+Quote Post

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: 24.08.2025 - 10:49