I actually wanted the two grids in one div , I mean one grid in right, other in the left .....but for now the grid is appearing down. Its same as you split in a table with two rows !! same as that I need to split a div and add two grids side by side . Hope you get my point . Thanking you all in advance for your awesome support and replies
A:
perhaps this link can help http://www.phwinfo.com/forum/macromedia-dreamweaver/277652-how-align-3-divs-side-side.html
balalakshmi
2010-02-07 04:20:01
+1
A:
It all depends on the design you want to achieve for that table. There are multiple approaches, each of them yielding slightly different results.
- You can change the
display
CSS property on the divs. The best value to use would betable-cell
; however, this value is not supported by any version of IE. You can also tryinline
orinline-block
values. - You can make the divs float to the left in their container.
- You can use absolute or relative positioning of the divs in their container; however, that approach doesn't work well with fluid designs.
- You can switch to
span
.
Franci Penov
2010-02-07 04:29:25
+1
A:
Create two divs inside your main div
<div id="main">
<div id="left"></div>
<div id="right"></div>
</div>
With CSS, fix each one to the correct side
#left { float:left }
#right { float:right }
Omar Abid
2010-02-07 14:55:50