|
Posted by Jim Moe on 05/09/06 23:43
David McDivitt wrote:
>>>
>> Provide an URL showing a test case.
>
> Thanks Jim. There is no URL to show you. It is simple button syntax:
> <input type="button" style="background-color:#EAEABA;" value="whatever">
> The length of the button should be the length of value plus the margin. If
> the text font length is not computed correctly, the length of the button
> will not match the displayed text. Compare to the following:
> <label style="background-color:#EAEABA; border-style:outset; height:10px">
> whatever
> </label>
> Change "whatever" to increasingly longer values to see the problem.
>
Well, no, I do not see the problem. <input> seems to have a builtin
padding that cannot be removed. But other than that, no matter how long I
make the text, the button correctly adjusts to contain it.
This is why I asked for an URL. Without it I cannot see what else there
may be that might be causing the behavior you describe. Often creating a
test case resolves the problem for you.
Here is the code I tested:
<http://sohnen-moe.com/test/t1.html>
Browser: Mozilla Seamonkey v1.0.1.
--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Navigation:
[Reply to this message]
|