Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [HTML][CSS]Div sie wciska pod Diva
-~~Eclipse~~-
post
Post #1





Goście







Witam, mam pytanie. Czemu div "wydarzenia" wciska się pod div "div.okienko?
Kod:
  1. div.okienko {
  2. width:590px;
  3. /*height:333px;*/
  4. border:Solid 1px #ccc;
  5. -webkit-border-radius:10px;
  6. -moz-border-radius:10px;
  7. -o-border-radius:10px;
  8. float:left;
  9. }


  1. #wydarzenia {
  2. background:#222222;
  3. width:340px;
  4. height:333px;
  5. margin-left:618px;
  6. display:inline-block;
  7. float:right;
  8. }
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
-~~Eclipse~~-
post
Post #2





Goście







Style.css:

  1. body {
  2. background:url(../images/bg.jpg)repeat;
  3. }
  4.  
  5.  
  6. #container{
  7. width:960px;
  8. height:100%;
  9. margin:auto;
  10. position:relative;
  11. margin-top:167px;
  12. }
  13.  
  14. #contenttop {
  15. background:url(../images/contenttopborder.png);
  16. width:910px;
  17. height:14px;
  18. margin-top:25px;
  19. }
  20.  
  21. #contentmiddle {
  22. background:url(../images/contentmiddleborder.png);
  23. width:910px;
  24. height:13px;
  25. }
  26.  
  27. #contentbottom {
  28. background:url(../images/contentbottomborder.png);
  29. width:910px;
  30. height:14px;
  31. }
  32.  
  33. #sluchaj {
  34. background:url(../images/sluchaj.png)repeat-x;
  35. width:260px;
  36. height:26px;
  37. padding-top:10px;
  38. margin-left:590px;
  39. }
  40.  
  41. #wydarzenia {
  42. background:#222222;
  43. width:340px;
  44. height:333px;
  45. margin-left:618px;
  46. display:inline-block;
  47. float:right;
  48. }
  49.  
  50. #slidercontent {
  51. width:958px;
  52. height:333px;
  53. clear:both;
  54. }


Slider.css:
  1. div.okienko {
  2. width:590px;
  3. /*height:333px;*/
  4. border:Solid 1px #ccc;
  5. -webkit-border-radius:10px;
  6. -moz-border-radius:10px;
  7. -o-border-radius:10px;
  8. float:left;
  9. }
  10. div.okienko IMG {
  11. border:0px;
  12. }
  13. div.nawigacja {
  14. background:transparent;
  15. color:#fff;
  16. display:block;
  17. text-align:center;
  18. }
  19. div.nawigacja a {
  20. text-decoration:none;
  21. color:#fff;
  22. font-family:Tahoma;
  23. font-size:10pt;
  24. font-weight:bold;
  25. padding-left:3px;
  26. padding-right:3px;
  27. }
  28. div.nawigacja a:hover {
  29. background:#fff;
  30. color:#000;
  31. }
  32. .red {
  33. background:red;
  34. }
Go to the top of the page
+Quote Post

Posty w temacie
- ~~Eclipse~~   [HTML][CSS]Div sie wciska pod Diva   29.08.2011, 16:54:13
- - !*!   Bo to pewnie zły div jest. Pokaż kod.   29.08.2011, 16:55:45
- - ~~Eclipse~~   Style.css: [HTML] pobierz, plaintext body {backgr...   29.08.2011, 16:57:17
- - ~~Eclipse~~   odzwiezam   29.08.2011, 17:30:51
- - sada   Pokaż kod html, do tej pory jeśli nie zauważyłeś k...   29.08.2011, 17:57:10
- - ~~Eclipse~~   [HTML] pobierz, plaintext <?php include(...   29.08.2011, 18:06:58
- - sada   jeszcze menu.html   29.08.2011, 18:27:17
- - ~~Eclipse~~   [HTML] pobierz, plaintext <ul><li>...   29.08.2011, 18:33:51
- - ~~Eclipse~~   Zapomnialem dodac. Chodzi tu o slider i wydarzenia   29.08.2011, 18:36:44
- - sada   Wydaje mi się , że [CSS] pobierz, plaintext height...   29.08.2011, 21:27:12


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: 5.10.2025 - 18:55