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
Share on other sites

[code]Database error in Utopia News Pro:

Invalid SQL Query: SELECT `varname` , `value` FROM `unp_setting`
MySQL Error: Table 'dev_portal.unp_setting' doesn't exist

MySQL Error Number: 1146

Date: January 21, 2007 08:20 AM
Script: /portal/news/news.php
[/code]
Link to comment
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]
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.