Forums
This topic is locked
CSS Help in Dreamweaver
Posted 26 Jan 2004 20:19:40
1
has voted
26 Jan 2004 20:19:40 Greg LeBreck posted:
A little layout probCode:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<TITLE>Untitled Document</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
</HEAD>
<BODY>
<DIV ID="header">
</DIV>
<DIV ID="content_wrap">
<DIV ID="main_content">
</DIV>
<DIV ID="side_content">
</DIV>
</DIV>
</BODY>
</HTML>
As you can see I have a div tag for Main content and Side content which are wraped in a div tag called Content Wrap. The main goes on the left of the page and I want to but the side to the right of the main. Now I know how to do it if I specify sizes but the Content Wrap is set to auto for height because the Main Content is dynamic and may not always be the same.
The problem comes in when I set the style sheet to place the side content to the right on the main content. Then the content wrap only does the auto height to the size of the main content tag.
How do I set it so it sizes right?
Edited by - Nix Neon on 26 Jan 2004 20:20:42