Previous Message
Next Message

Button displace issue

Sent by Holly Bergevin on 29 March 2008 16:04


From: "corey deep" [EMAIL-REMOVED]>

>> I have an odd button element issue specific to IE6. When I create a button
>> element and set text-indent ( to displace the value text ) the button
>> disappears in IE6.
>> If I add a non-breaking space , or line break or character before the
>> button it displays fine. 

>> http://thevenusflytrap.org/button_trials/index.html

Thank you for the online example. I didn't find any further trigger than the text-indent for the
problem. Adding the space appears to be a good way of fixing it. But then again, it adds a space
into the layout. 

There's an option to adding the non-breaking space, which takes more markup, but perhaps it's
preferable to you. If you wrap the text for the submit button in a span, and then apply the
text-indent to the span instead, then IE6 will play along.

~holly  
 
                   
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: