Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

float question

2 views
Skip to first unread message

ashk...@hotmail.com

unread,
Jun 30, 2008, 1:49:07 AM6/30/08
to
Hi,
I have a couple of buttons that I want to put on the right side of the
page or a div.
I used style="float:right" for the image buttons (asp.net page). It
works fine except that I cannot put any spces between them. I tried to
put a couple of   but it doesn't work.
Can you tell me how I can do this?

<asp:ImageButton ID="button1".... CssClass="right" />
<asp:ImageButton ID="button2".... CssClass="right" />

css:
.right
{
float:right;
}

TIA.

dorayme

unread,
Jun 30, 2008, 2:03:56 AM6/30/08
to
In article
<8b57f9da-e93b-4563...@a70g2000hsh.googlegroups.com>,
ashk...@hotmail.com wrote:

> Hi,
> I have a couple of buttons that I want to put on the right side of the
> page or a div.
> I used style="float:right" for the image buttons (asp.net page). It
> works fine except that I cannot put any spces between them. I tried to
> put a couple of &nbsp; but it doesn't work.

Why would a non-breaking-space facility have a hope here?


> Can you tell me how I can do this?
>

Look at the source for:

<http://dorayme.890m.com/alt/twofloatedimages.html>

and then

<http://dorayme.890m.com/alt/twofloatedimages_withgap.html>

--
dorayme

ashk...@hotmail.com

unread,
Jul 15, 2008, 6:43:14 PM7/15/08
to
On Jun 30, 2:03 am, dorayme <doraymeRidT...@optusnet.com.au> wrote:
> In article
> <8b57f9da-e93b-4563-b7ec-be98ec938...@a70g2000hsh.googlegroups.com>,

>
>  ashkaa...@hotmail.com wrote:
> > Hi,
> > I have a couple of buttons that I want to put on the right side of the
> > page or a div.
> > I used style="float:right" for the image buttons (asp.net page). It
> > works fine except that I cannot put any spces between them. I tried to
> > put a couple of &nbsp;  but it doesn't work.
>
> Why would a non-breaking-space facility have a hope here?
>
> > Can you tell me how I can do this?
>
> Look at the source for:
>
> <http://dorayme.890m.com/alt/twofloatedimages.html>
>
> and then
>
> <http://dorayme.890m.com/alt/twofloatedimages_withgap.html>
>
> --
> dorayme

Thank you dorayme. The Sun feels nice when one's head is out of one's
a....

0 new messages