![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 246 Pomógł: 8 Dołączył: 2.04.2006 Skąd: Gliwice Ostrzeżenie: (0%) ![]() ![]() |
Witam,
Chciałbym zrobi takie coś: Główny obrazek wyświetlam na środku nastepnie jeden obrazek rozciagam na 100% i drugi po prawej na 100%. W praktyce wychodzi tak ze wszystkie sa pod soba.
Z gory dzieki za pomoc! |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 850 Pomógł: 120 Dołączył: 15.02.2007 Skąd: Łódź Ostrzeżenie: (10%) ![]() ![]() |
Są pod sobą bo stosujesz do lewego i prawego 100% width.
Jedynie uda Ci się jak ogólną całość przyjmiesz za 100% ale nie wiem czy tak chcesz bo wtedy i środek będzie "płynny" Kod <style>
body{ font-size:62%; font-family:'Lucida Grande', Verdana, Arial, Sans-Serif; background:#d1eafd; color:#333; text-align:left; padding:0px; margin:0px; } #box{ width:100%; margin:0px auto; } #leftSide{ width:30%; background:#fff000; height:190px; float:left; display:block; } #imageOne{ background:#000; width:40%; height:190px; background-repeat:no-repeat; float:left; } #rightSide{ width:30%; background:#ff0000; height:190px; float:left; display:block; } </style> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta content="text/html; charset=utf-8" http-equiv="content-type" /> </head> <body> <div id="box"> <div id="leftSide"></div> <div id="imageOne"></div> <div id="rightSide"></div> </div> <div style="clear: both;"></div> <div id="pageContent"></div> </body> </html> Ten post edytował Lion_87 27.06.2009, 14:13:20 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 16.10.2025 - 10:37 |