Jump to content

Need Help w/ First CSS Layout


Unholy Prayer

Recommended Posts

I'm trying to complete my first CSS only layout.  I'm using the <div> tag for most of it, but there is some PHP but I don't think that's causing my problem.  This is my page:

http://www.dev.mtechdev.com/portal/index2.php

I want the news content to be to the right of the navigation bar, not to the left of it.  Look at the source for the code.  Thanks for the help in advance.
Link to comment
https://forums.phpfreaks.com/topic/35056-need-help-w-first-css-layout/
Share on other sites

The way your layout is setup though you will have some issues once the content of #news gets longer than the content of #nav.  The content of #news will flow underneath #nav... I would suggest you do some reading on floats to better understand how to layout your site to prevent this.  I listed some great resources below... :)

[url=http://www.sitepoint.com/subcat/css]http://www.sitepoint.com/subcat/css[/url] **everything on sitepoint is good
[url=http://www.alistapart.com/articles/holygrail/]http://www.alistapart.com/articles/holygrail/[/url]
[url=http://css.maxdesign.com.au/floatutorial/]http://css.maxdesign.com.au/floatutorial/[/url]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.