Recent Topics

1 Feb 16, 2008 21:53    

[url=]As Francois wrote[/url] we need to put 1px image to fix IE6 "far east" bug. But the text is going "far east" with or without this hack anyway!

The code I'm talking about is in /inc/_core/ui/forms/_form.class.php lines 1922-1933

$r = $this->begin_field()
		// NOTE: The following pixel is needed to avoid the dity IE textarea expansion bug
		// see
		.'<img src="'.$rsc_url.'img/blank.gif" width="1" height="1" alt="" />'
		.get_field_attribs_as_string( $field_params )
		.' rows="'.$field_rows.'">'
		.format_to_output( $field_value, 'formvalue' )
		// NOTE: this one is for compensating the previous pixel in case of center aligns.
		.'<img src="'.$rsc_url.'img/blank.gif" width="1" height="1" alt="" />'			.$this->end_field();

You can check these links with IE6
2.5.0 -
1.10.2 -

Why do I need it? My skin shows "Plain text only" text in msg form outside the form border because of this hack. And I have to hide these 1px images to fix the layout

div.input img { display:none }

BTW this textarea "far east" bug is fixed in IE7

P.S. Sorry if I'm wrong...

Form is loading...

b2evolution CMS – This forum is powered by b2evolution CMS, a complete engine for your website.