Two gridviews next to each other without a TABLE?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • jc

    Two gridviews next to each other without a TABLE?

    RE:Two gridviews next to each other without a TABLE?

    In another post I can't seem to find somebody suggested I use use
    <divwith style=float:rig ht to place two divs next to each other and
    this works great. However for some reason I cannot make it work when
    the content of the Divs are gridview.

    Is there any reason?
  • Stan

    #2
    Re: Two gridviews next to each other without a TABLE?

    On 19 Mar, 20:14, jc <j...@webdos.co mwrote:
    RE:Two gridviews next to each other without a TABLE?
    >
    In another post I can't seem to find somebody suggested I use use
    <divwith style=float:rig ht to place two divs next to each other and
    this works great. However for some reason I cannot make it work when
    the content of the Divs are gridview.
    >
    Is there any reason?
    Hi

    Have you tried different browsers? Some do not handle positioning very
    well with div tags especially IE!

    Comment

    • Eliyahu Goldin

      #3
      Re: Two gridviews next to each other without a TABLE?

      Give tp the divs width. Something like this:
      <div style="float:le ft;width:49%;ma rgin-right:1%">
      <asp:gridview width="100%" .. />
      </div>
      <div style="width:49 %">
      <asp:gridview width="100%" .. />
      </div>

      --
      Eliyahu Goldin,
      Software Developer
      Microsoft MVP [ASP.NET]




      "jc" <jobs@webdos.co mwrote in message
      news:ed00777c-5da3-4d88-82b4-b08b2c4a7e1e@n7 5g2000hsh.googl egroups.com...
      RE:Two gridviews next to each other without a TABLE?
      >
      In another post I can't seem to find somebody suggested I use use
      <divwith style=float:rig ht to place two divs next to each other and
      this works great. However for some reason I cannot make it work when
      the content of the Divs are gridview.
      >
      Is there any reason?

      Comment

      Working...