float question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ashkaan57@hotmail.com

    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:ri ght" 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:ImageButto n ID="button1"... . CssClass="right " />
    <asp:ImageButto n ID="button2"... . CssClass="right " />

    css:
    ..right
    {
    float:right;
    }

    TIA.
  • dorayme

    #2
    Re: float question

    In article
    <8b57f9da-e93b-4563-b7ec-be98ec9380a4@a7 0g2000hsh.googl egroups.com>,
    ashkaan57@hotma il.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:ri ght" 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.co m/alt/twofloatedimage s.html>

    and then

    <http://dorayme.890m.co m/alt/twofloatedimage s_withgap.html>

    --
    dorayme

    Comment

    • ashkaan57@hotmail.com

      #3
      Re: float question

      On Jun 30, 2:03 am, dorayme <doraymeRidT... @optusnet.com.a uwrote:
      In article
      <8b57f9da-e93b-4563-b7ec-be98ec938...@a7 0g2000hsh.googl egroups.com>,
      >
       ashkaa...@hotma il.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:ri ght" 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.co m/alt/twofloatedimage s.html>
      >
      and then
      >
      <http://dorayme.890m.co m/alt/twofloatedimage s_withgap.html>
      >
      --
      dorayme
      Thank you dorayme. The Sun feels nice when one's head is out of one's
      a....

      Comment

      Working...