long buttons

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
m2babaey
Forum Contributor
Posts: 364
Joined: Sun May 20, 2007 9:26 am

long buttons

Post by m2babaey »

Hi
My buttons are very long, specially from right side (see image below)

Image

How can I make it shorter?
Thanks for your help
rainerpl
Forum Newbie
Posts: 16
Joined: Mon Jun 20, 2011 12:46 pm

Re: long buttons

Post by rainerpl »

wold be nice to see the code+styles that will generate that output.

since i dont know how those buttons are made, with divs or tables etc, you can try setting width to fixed value by using inline style, or if its a div, use float to make it fit the size of its content only.
m2babaey
Forum Contributor
Posts: 364
Joined: Sun May 20, 2007 9:26 am

Re: long buttons

Post by m2babaey »

Fixed, thanks
Post Reply