Wayne Wickson wrote:
> Being new to CSS and tying to design my first page, I have run out of ideas
> as to why the "First Paragraph" div (green background/white border) will not
> float up on the right side of this page beside the menu/list on the left
> side of the page.  Both HTML and CSS validate but my syntax is obviously
> wrong in some regard.  And ideas would be appreciated.
>
> http://www.wickson.net/css_march_18/index.htm
>
>   
Well you're off to a good start-- valid css and markup :-) !
The green block is trapped in #content_l  because you closed it too late.
Change the bottom mark up to:
</ul>
</div><!--/add  to close #content_l-->
<div id="content_r">
<h1>First Paragraph</h1>
<p>...</p>
<p>...</p>
</div>
<!--</div> delete-->
</div>
</body>
</html>
Set this to float left: and it wil be at the top adjacent to #content_l
#content_l {float:left;}
#wrapper { overflow:hidden;/*add to open the wrapper and enclose both 
floats within it*/}







-- 

A thin red line and a salmon-color ampersand forthcoming.

http://chelseacreekstudio.com/

______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to