Graphic Design Forum and Web Design Forum  

Go Back   Graphic Design Forum and Web Design Forum »Web Design Forum »CSS Forum

Notices

CSS Forum Cascading Style Sheets (CSS) and XHTML Forum


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 16-12-2007, 09:01 PM
philjohns's Avatar
Established Member
 
Join Date: Oct 2007
Location: Ivybridge, Plymouth
Gender: Male
Posts: 506
Default last questions...

OK, I promise this will be my last question regarding css and divs!!!

Phil Johns Imaging - Website and Graphic Design

Why is my 3rd div (the green one) positioned like this instead of being in line with the other??!!!

Thanks all
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #2 (permalink)  
Old 16-12-2007, 10:15 PM
rossable's Avatar
Stylish Member
 
Join Date: Oct 2007
Location: between earth and sky
Gender: Male
Posts: 700
Default

could cave to do with a float issue. try putting clear:both; on it and see what happens.

without seeing code that's all i can suggest.
__________________
http://justross.com/
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #3 (permalink)  
Old 17-12-2007, 07:31 AM
philjohns's Avatar
Established Member
 
Join Date: Oct 2007
Location: Ivybridge, Plymouth
Gender: Male
Posts: 506
Default

Im off to school now but this is the css code of that page:

Code:
#page-container {
	width: 945px;
	height: 545px;
	margin: auto;
	background: url(images/background.gif);
	background-repeat: no-repeat;
	font-family: sans-serif;	
}

html, body {
	margin: 5px;
	padding: 0px;
}

#header {
	width: 830px;
	height: 60px;
	margin: auto
}

#main-nav {
	width: 830px;
	height: 25px;
	margin: auto;
	padding-top: 3px;
}

#content-container {
	width: 830px;
	margin: auto;
}

#left-column {
	background: red;
	float: left;
	width: 275px;
	height: 380px;
	font-size: 80%
}

#center-column {
	background: yellow;
	margin-left: 275px;
	width: 275px;
	height: 380px
}

#right-column {
	background: green;
	margin-left: 555px;
	width: 275px;
	height: 380px
}

#footer {
	width: 830px;
	height: 30px;
	margin: auto;
	font-size: 70%
}

a:link {
color: #666666;
text-decoration: none;
}

a:visited {
color: #333333;
text-decoration: none;
}
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #4 (permalink)  
Old 17-12-2007, 08:22 AM
picky-very-picky's Avatar
Experienced Member
 
Join Date: Aug 2007
Location: UK
Posts: 157
Default

Yep Float left, clear: both should do the trick

Floatutorial: Some definitions
__________________
“About half my designs are controlled fantasy, 15 percent are total madness and the rest are bread-and-butter designs.”
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #5 (permalink)  
Old 17-12-2007, 03:06 PM
philjohns's Avatar
Established Member
 
Join Date: Oct 2007
Location: Ivybridge, Plymouth
Gender: Male
Posts: 506
Default

Gave that a go and it didnt work...thanks anyway.

I actually had to remove the "margin-left: 275px" of the center column for it to work!
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
Reply


Thread Tools
Display Modes

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
Design Business Questions L[Design] Graphic Design Business Forum 9 27-05-2008 06:06 PM
Answers to the Top Design StudentÂ*Questions Graphic Design Blog Graphic Design Blog 0 12-03-2008 04:20 PM
New member with questions. Ill to PS cagedvr6 Graphic Design and Web Design Help 11 13-12-2007 01:27 PM
Newbie questions Cyberslam Flash Forum 3 19-10-2007 04:27 PM
I have a couple of (graphic related) questions. Please help! deegirl Graphic Design and Web Design Help 3 13-07-2007 01:23 PM


All times are GMT. The time now is 12:21 PM.



Estetica Design Forum's Privacy Policy
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC5