Jump to content
  • 0

в IE иконки плывут


Proks
 Share

Question

фигня с ИЕ

сверху - то как отображается в firefox, снизу - ИЕ 8

ec798218c8ccbb2b878d2a747333.png

а вот то что в Хроме, Сафари, и в Опере

2ea4294145ec28befc770788e5ae.jpeg

вот ЦСС

.editor_button { 
float: left;
cursor: pointer;
padding-bottom:0px;
padding-left: 2px;
padding-right: 2px;
}

/* klass dlya kartinok v BB kodah */
.bbimage
{
width:23px;
height:25px;
border:0px;
}

.bbimagesep
{
width:5px;
height:25px;
border:0px;
}

вот код (тупо ряд иконок, код напрямую взят из движка ДЛЕ форума, с малыми поправками)

<div style="width:98%; border:1px solid #BBB; background-image:url('{THEME}/bbcodes/bg.gif'); text-align:left; line-height:0.7;">
<div id="b_b" class="editor_button" onclick="simpletag('b')"><img title="$lang[bb_t_b]" src="{THEME}/bbcodes/b.gif" class="bbimage" alt="" /></div>
<div id="b_i" class="editor_button" onclick="simpletag('i')"><img title="$lang[bb_t_i]" src="{THEME}/bbcodes/i.gif" class="bbimage" alt="" /></div>
<div id="b_u" class="editor_button" onclick="simpletag('u')"><img title="$lang[bb_t_u]" src="{THEME}/bbcodes/u.gif" class="bbimage" alt="" /></div>
<div id="b_s" class="editor_button" onclick="simpletag('s')"><img title="$lang[bb_t_s]" src="{THEME}/bbcodes/s.gif" class="bbimage" alt="" /></div>
<div class="editor_button"><img src="{THEME}/bbcodes/brkspace.gif" class="bbimagesep" alt="" /></div>
<div class="editor_button" onclick="tag_image()"><img title="$lang[bb_b_img]" src="{THEME}/bbcodes/image.gif" class="bbimage" alt="" /></div>
<div style="height:23px; float:left; overflow:hidden;">{$image_upload}</div>
<div style="height:23px; float:left; overflow:hidden;" class="editor_button"><img src="{THEME}/bbcodes/brkspace.gif" class="bbimagesep" alt="" /></div>
<div class="editor_button" onclick="tag_url()"><img title="$lang[bb_t_url]" src="{THEME}/bbcodes/link.gif" class="bbimage" alt="" /></div>
<div class="editor_button" onclick="tag_leech()"><img title="$lang[bb_t_leech]" src="{THEME}/bbcodes/leech.gif" class="bbimage" alt="" /></div>
<div class="editor_button"><img src="{THEME}/bbcodes/brkspace.gif" class="bbimagesep" alt="" /></div>
<div class="editor_button" onclick="tag_email()"><img title="$lang[bb_t_m]" src="{THEME}/bbcodes/email.gif" class="bbimage" alt="" /></div>
<div class="editor_button" onclick="tag_video()"><img title="$lang[bb_t_video]" src="{THEME}/bbcodes/mp.gif" class="bbimage" alt="" /></div>
<div class="editor_button" onclick="tag_audio()"><img src="{THEME}/bbcodes/mp3.gif" class="bbimage" alt="" /></div>
<div id="b_hide" class="editor_button" onclick="simpletag('hide')"><img title="$lang[bb_t_hide]" src="{THEME}/bbcodes/hide.gif" class="bbimage" alt="" /></div>
<div class="editor_button"><img src="{THEME}/bbcodes/brkspace.gif" class="bbimagesep" alt="" /></div>
<div id="b_emo" class="editor_button" onclick="ins_emo();"><img title="$lang[bb_t_emo]" src="{THEME}/bbcodes/emo.gif" class="bbimage" alt="" /></div>
<div id="b_color" class="editor_button" onclick="ins_color();"><img src="{THEME}/bbcodes/color.gif" class="bbimage" alt="" /></div>
<div class="editor_button"><img src="{THEME}/bbcodes/brkspace.gif" class="bbimagesep" alt="" /></div>
<div class="editor_button" onclick="tag_flash()"><img src="{THEME}/bbcodes/flash.gif" class="bbimage" alt="" /></div>
<div class="editor_button" onclick="tag_youtube()"><img src="{THEME}/bbcodes/youtube.gif" class="bbimage" alt="" /></div>
<div class="editbclose" onclick="closeall()"><img title="$lang[bb_t_cl]" src="{THEME}/bbcodes/close.gif" class="bbimage" alt="" /></div>
<div class="editor_button_brk"><img src="{THEME}/bbcodes/brkspace.gif" class="bbimagesep" alt="" /></div>
<div class="editor_button" style="padding-top:4px;width:120px;"><select name="bbfont" class="editor_button" onchange="insert_font(this.options[this.selectedIndex].value, 'font')"><option value='0'>{$lang['bb_t_font']}</option><option value='Arial'>Arial</option><option value='Arial Black'>Arial Black</option><option value='Century Gothic'>Century Gothic</option><option value='Courier New'>Courier New</option><option value='Georgia'>Georgia</option><option value='Impact'>Impact</option><option value='System'>System</option><option value='Tahoma'>Tahoma</option><option value='Times New Roman'>Times New Roman</option><option value='Verdana'>Verdana</option></select></div>
<div class="editor_button" style="padding-top:4px;width:65px;"><select name="bbsize" class="editor_button" onchange="insert_font(this.options[this.selectedIndex].value, 'size')"><option value='0'>{$lang['bb_t_size']}</option><option value='1'>1</option><option value='2'>2</option><option value='3'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option></select></div>
<div class="editor_button"><img src="{THEME}/bbcodes/brkspace.gif" class="bbimagesep" alt="" /></div>
<div id="b_left" class="editor_button" onclick="simpletag('left')"><img title="$lang[bb_t_l]" src="{THEME}/bbcodes/l.gif" class="bbimage" alt="" /></div>
<div id="b_center" class="editor_button" onclick="simpletag('center')"><img title="$lang[bb_t_c]" src="{THEME}/bbcodes/c.gif" class="bbimage" alt="" /></div>
<div id="b_right" class="editor_button" onclick="simpletag('right')"><img title="$lang[bb_t_r]" src="{THEME}/bbcodes/r.gif" class="bbimage" alt="" /></div>
<div class="editor_button"><img src="{THEME}/bbcodes/brkspace.gif" class="bbimagesep" alt="" /></div>
<div id="b_quote" class="editor_button" onclick="simpletag('quote')"><img title="$lang[bb_t_quote]" src="{THEME}/bbcodes/quote.gif" class="bbimage" alt="" /></div>
<div id="b_code" class="editor_button" onclick="simpletag('code')"><img title="$lang[bb_t_code]" src="{THEME}/bbcodes/code.gif" class="bbimage" alt="" /></div>
<div class="editor_button"><img src="{THEME}/bbcodes/brkspace.gif" class="bbimagesep" alt="" /></div>
<div class="editor_button" onclick="pagebreak()"><img title="$lang[bb_t_br]" src="{THEME}/bbcodes/pbreak.gif" class="bbimage" alt="" /></div>
<div class="editor_button" onclick="pagelink()"><img title="$lang[bb_t_p]" src="{THEME}/bbcodes/page.gif" class="bbimage" alt="" /></div>
<div class="editor_button"> <img src="{THEME}/bbcodes/brkspace.gif" class="bbimagesep" alt="" /></div>
<div id="b_spoiler" class="editor_button" onclick="simpletag('spoiler')"><img src="{THEME}/bbcodes/spoiler.gif" class="bbimage" alt="" /></div>
<div class="editor_button"><img src="{THEME}/bbcodes/brkspace.gif" class="bbimagesep" alt="" /></div>
</div>

Edited by Proks
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