Jump to content
  • 0

пробивная сила margin-top:-80px;


Proks
 Share

Question


<div style="width:255px; margin-left:10px;">
<div style="background-image:url('{THEME}/images/rarhiv.png'); width:255px; height:167px; background-repeat:no-repeat;"></div>
<div style="background:url('{THEME}/images/rarhivbg.png');width:255px; background-repeat: repeat-y; margin-top:0px;">
<div style="margin-top:-80px !important;">
<p style="text-align:left; margin-left:110px; margin-top:0px; font-family:Tahoma, Geneva, sans-serif; font-size:12px; line-height:150%; font-weight:bold;">
Ретро весна 2010<br>
Ретро виставка 2010<br>
Ретро весна 2010<br>
Ретро виставка 2010<br>
Ретро весна 2010<br>
Ретро виставка 2010<br>
Ретро весна 2010<br>Ретро весна 2010<br>
</p>
</div>
</div>
<div style="background-image:url('{THEME}/images/rarhivbot.png'); width:255px; height:17px;"></div>
</div>

в опере, Хроме, Сафари текст таки пробивает внешний див, и такаи вылазит на 80 пикселей вверх, а вот в лисичке и ИЕшке нет(((

подскажите как тут поступить?

ЗЫ в оригинальном варианте всё разкидано по классам и забито в ЦССку, здесь повынимал, чтоб удобнее было

Edited by Proks
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

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