Sign In | Register Now About Bytes | Help | Site Map
Connecting Tech Pros Worldwide

float question

Question posted by: ashkaan57@hotmail.com (Guest) on June 30th, 2008 05:55 AM
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's Avatar
dorayme
Guest
n/a Posts
June 30th, 2008
06:05 AM
#2

Re: float question
In article
<8b57f9da-e93b-4563-b7ec-be98ec9380a4@a70g2000hsh.googlegroups.com>,
Join Bytes! wrote:
Quote:
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?

Quote:
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

ashkaan57@hotmail.com's Avatar
ashkaan57@hotmail.com
Guest
n/a Posts
July 15th, 2008
11:40 PM
#3

Re: float question
On Jun 30, 2:03*am, dorayme <doraymeRidT...@optusnet.com.auwrote:
Quote:
In article
<8b57f9da-e93b-4563-b7ec-be98ec938...@a70g2000hsh.googlegroups.com>,
>
*ashkaa...@hotmail.com wrote:
Quote:
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?
>
Quote:
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....

 
Not the answer you were looking for? Post your question . . .
189,846 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
  • Didn't find the answer you were looking for?
    Post Your Question
  • Top Community Contributors