Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [CSS]Element po prawej stronie
Tom:-)
post 1.11.2010, 12:04:24
Post #1





Grupa: Zarejestrowani
Postów: 284
Pomógł: 0
Dołączył: 25.03.2007
Skąd: Globalna wioska

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


Posiadam kod:
  1. vertical-align: middle;
  2. display: inline-block;
  3. position: relative;
  4. height: 30px;
  5. overflow: hidden;
  6. white-space: nowrap;
  7. width: auto;
  8. margin: 0;
  9. padding: 0;
  10. z-index: 0;

oraz
  1. font-family: Tahoma, Arial, Helvetica, Sans-Serif;
  2. font-style: normal;
  3. font-weight: normal;
  4. font-size: 12px;
  5. display: inline-block;
  6. vertical-align: middle;
  7. white-space: nowrap;
  8. text-align: left;
  9. text-decoration: none !important;
  10. color: #FEF3E7 !important;
  11. width: auto;
  12. outline: none;
  13. border: none;
  14. background: none;
  15. line-height: 30px;
  16. height: 30px;
  17. margin: 0 !important;
  18. padding: 0 14px !important;
  19. overflow: visible;
  20. cursor: default;
  21. z-index: 0;

Chcę wymusić aby element znalazł się po prawej stronie strony. Obecnie jest po lewej


--------------------
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 2)
Soulast
post 1.11.2010, 12:29:51
Post #2





Grupa: Zarejestrowani
Postów: 133
Pomógł: 6
Dołączył: 26.10.2009

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


a próbowałeś użyć float??
  1. float: left !important;


lub

  1. float: right !important;
Go to the top of the page
+Quote Post
Tom:-)
post 1.11.2010, 15:25:32
Post #3





Grupa: Zarejestrowani
Postów: 284
Pomógł: 0
Dołączył: 25.03.2007
Skąd: Globalna wioska

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


Trybiszen :-)


--------------------
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: 14.08.2025 - 05:58