By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,152 Members | 1,647 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,152 IT Pros & Developers. It's quick & easy.

Two gridviews next to each other without a TABLE?

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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.