mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-22 12:49:55 +09:00
이미지 링크에서 png이미지 사용지 ie6를 위한 iePngFix 클래스 자동 추가
git-svn-id: http://xe-core.googlecode.com/svn/trunk@2237 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f80f550225
commit
2b858dd3dd
1 changed files with 2 additions and 0 deletions
|
|
@ -66,6 +66,8 @@
|
|||
}
|
||||
if($align) $attr_output[] = "align=\"".$align."\"";
|
||||
|
||||
if(eregi("\.png$",$src)) $attr_output[] = "class=\"iePngFix\"";
|
||||
|
||||
if($width) $style_output[] = "width:".$width."px";
|
||||
if($height) $style_output[] = "height:".$height."px";
|
||||
if(!$align) $style_output[] = "display:block";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue