Try using padding.  I think you have padding and margin confused.

On Thu, Jan 29, 2009 at 2:17 AM, [email protected] <
[email protected]> wrote:

>
> Hi,
> when I set the label for a button, for example "Sent Request", there
> is a lot margin before and after the words.
> The solution is to set up the button-width in the style-tag. But my
> problem is that the content of the label comes dynamically by PHP, so
> I would like to setup a "always working" value which sets the margin
> to 0 or 1 px.
>
> Any idea how to do that?
>
> [   Sent Request   ]
>  ^^ this space
>
> >
>


-- 
-Richard Aday

--~--~---------~--~----~------------~-------~--~----~
--
You received this because you are subscribed to the "Design the Web with CSS" 
at Google groups.
To post: [email protected]
To unsubscribe: [email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to