Jump to content
  • 0

DIV по ширине родителя


merabillis
 Share

Question

Добрый вечер!

В приложении скрин с самой проблемой. Необходимо все блоки поставить на одну высоту с родительским дивом. посоветуйте что можно предпринять, в нете нашел и опробовал массу вариантов. Но ничего не сработало.

#left-column .product  { float: left; background: url(images/product-right.png) repeat-y top right; position: relative; width: 238px; height: 100% !important;}
.product .product-content { padding: 24px 23px 19px 24px; width: 193px; background: url(images/product-bottom.png) repeat-x bottom left;}
.product a.image { display: block; position: relative; }
.product a.image:hover { text-decoration: none; }
.product-content span.tag { bottom: 20px; }
.rounded { border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; border:1px solid #ebebeb; display:inline-block; overflow:hidden; width: 193px; height: 130px; margin-bottom: 10px; }
.product h3 { font-size: 24px; }
.product h3 a:hover { text-decoration: none; }
.product-content a.more { float: left; margin-left: 60px; }

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

ссылку на сайт или скрин с проблемой и скрин как должно быть + html

тогда можно что то подсказывать.

З.Ы. попытаюсь предугадать

если у вас к примеру такая структура

<div>
<div class="block-1">
</div>

<div class="block-2">
</div>

<div class="block-3">
</div>
</div>

то к block-1 применяете float

Edited by Modestes
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy