Jump to content
  • 0

Поведение Div в mozilla


SibBear
 Share

Question

Размещены 2 дива друг в друге.

Один должен растягиваться при изменении размеров внутреннего.

Какое значение A и B нужно поставить чтобы работало в mozille? В опере и ИЕ все пашет.

<div style="position: A; width: 1024px; height: auto; left: 0px; top: 0px; z-index: 0; background: #929292" id="layer4">

<div style="position: B; width: 100px; height: 100px; left: 0px; top: 0px; z-index: 1" id="layer5">
 kjhlkjhl
lkjhljkh<p>dfg</p>
<p>dfg</p>
<p>dfg</p>
<p>df</p>
<p>gd</p>
<p>fg</p>
<p>df</p>
<p>g</p>
<p>dfg</p>


</div>
</div>

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.
 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