Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/mislz28/public_html/wp-content/themes/css-faq-v2/timeweather/timeweather.php on line 19
8 May 2008

forum

Current User: Guest Login Register
Please consider registering

Search 
Search Forums:


 




срезается div

UserPost

6:27 pm
July 2, 2008


flow

Member

posts 8

1

Имеется код:

Код:
<div id=”registration” style=”margin-right:200px; background:#efefef; border: 1px solid #00a2ff; padding: 20px 0″>
   <div style=”width:370px; float:left; height:500px”>
   </div>
   <div style=”margin-left:370px; height:500px”>
   </div>
</div>

Так вот, DIV “registration” при этом срезается, а не растягивается по высоте вложеных дивов, т.е. есть два дива высотой по 500рх, а под ними “светится” див высотой в 40рх!
Подскажите, пожалуйста, как это исправить!
Заранее благодарен!

6:32 pm
July 2, 2008


hohol

Member

posts 35

2

Для этого после всех ваших плавающих дивов (но до закрывающего тэга </div> родительского дива) разместите <div style=”clear:both;”></div>

6:32 pm
July 2, 2008


flow

Member

posts 8

3

огромное спасибо!Wink



Reply to Topic: срезается div

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 1 + 9        (Required)

Topic Reply:


 

About the CSS-FAQ forum

Currently Online:

1 Guest

Maximum Online: 20

Forums:

Groups: 3

Forums: 18

Topics: 397

Posts: 834

Members:

There are 1003 members

There are 1 guests

Top Posters:

abc - 57

genius - 47

shane - 46

glowlite.uk - 39

booster - 37

warren - 35

Administrator: admin | Moderators: admin


© Simple:Press Forum - Version 3.1.1 (Build 336)