Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> 2 kolumny - jedna ze stałą szerokością a druga ze zmienną
AboutMe
post 21.09.2016, 17:09:11
Post #1





Grupa: Zarejestrowani
Postów: 261
Pomógł: 0
Dołączył: 24.02.2008

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


Jak zrobić żeby lewa kolumna była fluid a prawa fixed

  1. <div class="frontpage-misc">
  2.  
  3. <div class="frontpage-misc-block-1">
  4. aaa aaa aaaaaa aaaaaaaa aaaaaaaaa aaaaaaaaaa aaaaaaaaaa aaaaaaaaa
  5. </div><!-- frontpage-misc-block-1 -->
  6.  
  7. <div class="frontpage-misc-block-2">
  8. dvdsvds ssfdf fffdf aaaaaaa aaaaaa aaaaaaaa aaaaaa a aaaaa aaaa
  9. </div>
  10.  
  11. </div><!-- frontpage--misc -->


  1. .frontpage-misc { width:100%; position:relative; }
  2. .frontpage-misc-block-1 { float:none; left:0; position:absolute; padding-right:336px; background:yellow; }
  3. .frontpage-misc-block-2 { width:336px; float:right; margin-top:30px; background:grey; }


https://jsfiddle.net/gv6Ldbyf/
Go to the top of the page
+Quote Post
trueblue
post 21.09.2016, 17:14:53
Post #2





Grupa: Zarejestrowani
Postów: 6 761
Pomógł: 1822
Dołączył: 11.03.2014

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


Napisz jaśniej czego oczekujesz.

Tak? https://jsfiddle.net/gv6Ldbyf/1/

Ten post edytował trueblue 21.09.2016, 17:25:14


--------------------
Go to the top of the page
+Quote Post
AboutMe
post 22.09.2016, 13:04:53
Post #3





Grupa: Zarejestrowani
Postów: 261
Pomógł: 0
Dołączył: 24.02.2008

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


Dokładnie o to mi chodziło, dzięki
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 Wersja Lo-Fi Aktualny czas: 18.04.2024 - 13:58