Connecting Tech Pros Worldwide Help | Site Map

float question

 
LinkBack Thread Tools Search this Thread
  #1  
Old June 30th, 2008, 05:55 AM
ashkaan57@hotmail.com
Guest
 
Posts: n/a
Default float question

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, 06:05 AM
dorayme
Guest
 
Posts: n/a
Default 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 15th, 2008, 11:40 PM
ashkaan57@hotmail.com
Guest
 
Posts: n/a
Default 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....
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.