Connecting Tech Pros Worldwide Help | Site Map

float question

  #1  
Old June 30th, 2008, 06:55 AM
ashkaan57@hotmail.com
Guest
 
Posts: n/a
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.
  #2  
Old June 30th, 2008, 07:05 AM
dorayme
Guest
 
Posts: n/a

re: float question


In article
<8b57f9da-e93b-4563-b7ec-be98ec9380a4@a70g2000hsh.googlegroups.com>,
ashkaan57@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
  #3  
Old July 16th, 2008, 12:40 AM
ashkaan57@hotmail.com
Guest
 
Posts: n/a

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....
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple Float Question TamaThps answers 4 March 11th, 2009 12:30 AM
Decimall Float Question morc answers 19 April 8th, 2006 11:45 PM
DIV float question... Dennis answers 11 September 7th, 2005 05:05 PM
easy float question just eludes me nephish@xit.net answers 7 July 28th, 2005 06:05 PM
round/float question Jason Tesser answers 4 July 18th, 2005 04:55 AM