Posted by geevaa on 09/25/07 04:51
On Sep 25, 3:05 am, ben_camero...@hotmail.com wrote:
> Hi
>
> I'm learning to use the DIV tag and am having some problems dividing a
> page into two horizontal sections.
>
> I want a div area that goes across the top of the page (which I can
> get to work), then two sections that sit next to each other and go all
> the way to the bottom of the page.
>
> How do I get two div sections to sit next to each other horizontally?
>
> Thanks
Using cascading Style Sheets (CSS) the divs can be positioned
absolute...
We can also fix the height and width of the div using CSS..
<div id = "bottom left" style = "position:absolute;top:500px;left:
1em;right:30em">
all content
</div>
<div id = "bottom right" style = "position:absolute;top:500px;right:
1em;left:30em">
all content
</div>
you can also google about CSS positioning
tuttorials are available in w3schools.com
[Back to original message]
|