Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / July 2008



Tip: Looking for answers? Try searching our database.

float question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ashkaan57@hotmail.com - 30 Jun 2008 06:49 GMT
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 - 30 Jun 2008 07:03 GMT
In article
<8b57f9da-e93b-4563-b7ec-be98ec9380a4@a70g2000hsh.googlegroups.com>,

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

Signature

dorayme

ashkaan57@hotmail.com - 15 Jul 2008 23:43 GMT
> In article
> <8b57f9da-e93b-4563-b7ec-be98ec938...@a70g2000hsh.googlegroups.com>,
[quoted text clipped - 21 lines]
> --
> dorayme

Thank you dorayme. The Sun feels nice when one's head is out of one's
a....
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.