Css Layout?

This is a discussion on "Css Layout?" within the Web Page Design section. This forum, and the thread "Css Layout? are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Feb 5th, 2008, 18:54
Up'n'Coming Member
Join Date: Jul 2007
Location: Glasgow
Age: 15
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Css Layout?

Hi, I'm having trouble with css and using it to make a layout. Right now it looks like this http://www.filecram.com/files/CSSLayout2.png
But I want it to look like this http://www.filecram.com/files/CSSLayout1.png
http://bf2ccre8or_94.gratishp.com/SiteHome.html

CSS
Code: Select all
#container
{
width: 70%;
margin: 5px auto;
background-color: #3e4637;
color: #;
border: 0px solid gray;
line-height: 150%;
}

#top
{
padding: 1em;
background-color: #6e7f62;
border-bottom: 0px solid gray;
color: #46523C;
}

#top h1
{
padding: 0;
margin: 0;
}

#leftnav
{
float: Left;
width: 100px;
margin: 0;
margin-left: 110px;
padding: 0em;

}

#content
{
margin-left: 200px;
border-right:0px solid gray;
padding: 1em;
max-width: 36em;
background-color: #788b6c;
color: #C0D9AF;
}

#footer
{
clear: both;
margin: 0;
padding: .5em;
color: #333;
background-color: #6e7f62;
border-top: 0px solid gray;
font-size: 0.7em;
}

#leftnav p { margin: 0 0 1em 0; }
#content h2 { margin: 0 0 .5em 0; }

Last edited by casho; Feb 5th, 2008 at 19:19.
Reply With Quote

  #2 (permalink)  
Old Feb 5th, 2008, 19:14
Aso's Avatar
Aso Aso is offline
Chief Moderator

SuperMember
Join Date: Oct 2007
Location: UK
Posts: 1,010
Blog Entries: 2
Thanks: 5
Thanked 23 Times in 20 Posts
Send a message via Skype™ to Aso
Re: Css Layout?

Hi Casho

Those two links to your PNG's don't work. Can you post an alternative?
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
Reply With Quote
  #3 (permalink)  
Old Feb 5th, 2008, 21:08
masonbarge's Avatar
Highly Reputable Member
Join Date: Jan 2006
Location: Atlanta GA
Posts: 631
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Css Layout?

I'm not going to do the whole thing for you, but it looks like you want
Code: Select all
#content
{
width=70%;
float: right;
background-color: #788b6c;
color: #C0D9AF;
}

#leftnav
{
float: right;
width: 28%;
margin: 0;
padding: 0;
}
Then put #top (width:100%) inside #content and set a top
margin on #leftnav approximately equal to the height
of #content.
Reply With Quote
  #4 (permalink)  
Old Feb 8th, 2008, 08:49
welshstew's Avatar
Lead Administrator

SuperMember
Join Date: May 2007
Location: inside the outside
Posts: 1,388
Blog Entries: 13
Thanks: 1
Thanked 16 Times in 14 Posts
Re: Css Layout?

did this fix your issue?
__________________
WelshStew
Lead Administrator

tierney rides tboard - uk site | xtreme wales - extreme clothing
If you think I've helped, click the "Thanks"
webforumz - facebook | LinkedIn
Last Blog Entry: Web Standards Curriculum Launched (Jul 8th, 2008)
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS layout casho Web Page Design 4 Feb 10th, 2008 13:59
Layout using CSS Madball Web Page Design 5 Nov 7th, 2007 09:41
New to CSS Layout tapster Web Page Design 15 Oct 15th, 2007 10:18
Fluid layout - IE6 clichés the layout when resizing cyberseed Web Page Design 7 Jun 16th, 2007 05:14
What makes a layout a good layout? Miles Lombardi Graphics and 3D 4 Jul 26th, 2005 03:22


All times are GMT. The time now is 22:03.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43