RE:Two gridviews next to each other without a TABLE?
In another post I can't seem to find somebody suggested I use use
<div> with style=float:right 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 - 20 Mar 2008 01:23 GMT
> RE:Two gridviews next to each other without a TABLE?
>
[quoted text clipped - 4 lines]
>
> Is there any reason?
Hi
Have you tried different browsers? Some do not handle positioning very
well with div tags especially IE!
Eliyahu Goldin - 20 Mar 2008 10:12 GMT
Give tp the divs width. Something like this:
<div style="float:left;width:49%;margin-right:1%">
<asp:gridview width="100%" .. />
</div>
<div style="width:49%">
<asp:gridview width="100%" .. />
</div>

Signature
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
> RE:Two gridviews next to each other without a TABLE?
>
[quoted text clipped - 4 lines]
>
> Is there any reason?