468,285 Members | 1,547 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,285 developers. It's quick & easy.

Two gridviews next to each other without a TABLE?

jc
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: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?
Mar 19 '08 #1
2 6271
On 19 Mar, 20:14, jc <j...@webdos.comwrote:
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: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?
Hi

Have you tried different browsers? Some do not handle positioning very
well with div tags especially IE!
Mar 20 '08 #2
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>

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"jc" <jo**@webdos.comwrote in message
news:ed**********************************@n75g2000 hsh.googlegroups.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: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?

Mar 20 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by manuel.ricca | last post: by
reply views Thread by Roy | last post: by
2 posts views Thread by Hennie | last post: by
1 post views Thread by Carlos | last post: by
reply views Thread by NPC403 | last post: by
2 posts views Thread by MrBee | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.