content area not expanding

This is a discussion on "content area not expanding" within the Web Page Design section. This forum, and the thread "content area not expanding are both part of the Design Your Website category.



 Subscribe in a reader

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

Notices


Reply
 
LinkBack Thread Tools
  #1  
Old Jan 29th, 2007, 12:15
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
content area not expanding

Hi folks... I just posted this a while ago but can't find my post so I'm posting again.

I've been working on this site for 2 days and I'm at the point where I need help. I've "tried" long enough !

The site is http://www.whitelightwitheeta.com

The problem I am having is that the #content area which holds two columns will not expand.
In firefox, I can't even see the content area to the right of the nav bar.
And in IE7 I can see some of the content area but it's not expanding.

Here's the css:
Code: Select all
body, html {
	padding: 0;
	margin: 0;
	border: 0;
	font-size: 100.01%;
	margin-top: 30px;
	margin-bottom: 30px;
	background-image: url(background_star.gif);
	background-repeat:repeat;
	}
	body {
	min-width: 779px;
	}
	#wrapper {
	width: 779px;
	margin: 0 auto;
	}
	#header {
	width: 779px;
	height: 164px;
	background: url(header_final.gif) no-repeat top;	
	}
	#content {
	width:779px;
	margin: 0 auto;
	background: #ABBDCC url(diamondback1.jpg) repeat-y center top;
	}
	#cola {
	background-image: url(navback.jpg);
	float:left;
	width:125px;
	height: 409px;
	margin-left:20px;
	margin-top:0px;
	position: absolute;
	}
	#colb {
	float:right;
	width: 625px;
	}
	ul.nav {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
	background: top;
	vertical-align: text-top;
	letter-spacing: normal;
	}
	ul.nav li {
	display:block;
	padding-bottom: 15px;
	text-align: center;
	vertical-align: top;
	padding-top: 11px;
	}
	ul.nav a{
	text-decoration: none;
	color:#02022A;
	font: italic bold small Georgia, "Times New Roman", Times, serif;
	text-transform: uppercase;
	background: url(none);
	}
Here's the html
Code: Select all
<body>
	<div id="wrapper">
		<div id="header"></div>
			<div id="content"><br />
				<div id="cola">
					<div class="nav">
						<ul class="nav">
						<li><a href="#">Home </a></li>
						<li><a href="#">Services</a></li>
						<li><a href="#">Bio</a></li>
						<li><a href="#">Products</a></li>
						<li><a href="#">Testimonials</a></li>
						<li><a href="#">Calendar</a></li>
						<li><a href="#">Media/Press</a></li>
						<li><a href="#">Articles</a></li>
						<li><a href="#">Links</a></li>
						</ul> 
					</div>
				</div>
			</div>
							<div id="colb">
							  <p class="style1">content</p>
							  <p class="style1">content</p>
							  <p class="style1">content</p>
							  <p class="style1">content</p>
							  </div>
		
		
															
	</div>
</body>
I am so frustrated..... so any help would be appreciated!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Jan 29th, 2007, 12:18
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: content area not expanding

Please note
#content {
width:779px;
margin: 0 auto;
background: #ABBDCC url(diamondback1.jpg) repeat-y center top;
}

The background image isn't showing in FF... sign
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Jan 29th, 2007, 13:31
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: content area not expanding

Ok ... I thought I'd give you hand to get you started in the right direction with this site here

You have alot of unnecessary divs in there. For example ... you #wrap, you can easily set the body { } element to center instead of creating a div for that.

Unzip this file and just add your background_star.gif, header_final.gif and diamondback1.jpg in the /i/ directory.

Well ... try that out and let me know.

EDIT: Bah ... I forgot the diamondback1.jpg image ... re-uploaded zip file
Attached Files
File Type: zip lchad.zip (5.0 KB, 26 views)

Last edited by karinne; Jan 29th, 2007 at 14:47.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Jan 29th, 2007, 13:39
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: content area not expanding

Hi Karianne:
I can't open the .zip. I'm getting admin error...

Hopefully someone from admin can help with that???
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Jan 29th, 2007, 13:41
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: content area not expanding

ok.. got it.. I think you were editing your post!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Jan 29th, 2007, 13:42
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: content area not expanding



Let me know if you need help with it. Or understanding what I did versus what you had.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Jan 29th, 2007, 13:53
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: content area not expanding

I have to look closely at it to see what you did versus what I did.
However there is a portion missing in your design.
I have an overall page background which I understand can go into the html {}
portion.
But the part that is missing is the part where the diamondback1.jpg goes.
That photo goes behind the two columns. That's why I had a #content div with the two columns inside. That is what was causing the #content not to expand.

So that parts still an issue...
I'll play with it and see if I can't figure it out now...
Thanks Karianne!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Jan 29th, 2007, 13:55
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: content area not expanding

Oh yeah ... just put your diamondback1.jpg image into the /i/ with the other ... sorry ... I was upload the new code when you tried to download it the first time and forgot to add it to my post.

Quote:
Originally Posted by Lchad View Post
Thanks Karianne!
BTW... Who the hell's Karianne?!?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old Jan 29th, 2007, 13:58
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: content area not expanding

Oh..........sorry...typo!!! My fingers were going too fast!!!!
I'm playing around with your code now!!! I'll probably screw it all up!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old Jan 29th, 2007, 14:00
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: content area not expanding

Ok.. what? Put the diamondback1.jpg into what /i/?
It has to go behind the two columns... how can that be done without having something to hold it as a background?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #11  
Old Jan 29th, 2007, 14:02
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: content area not expanding

Quote:
Originally Posted by Lchad View Post
I'm playing around with your code now!!! I'll probably screw it all up!
It's okay ... I have a copy on my hard drive

Quote:
Originally Posted by Lchad View Post
Ok.. what? Put the diamondback1.jpg into what /i/?
Yes ... put diamonback1.jpg with the others I told you to put in /i/

Quote:
Originally Posted by Lchad View Post
It has to go behind the two columns... how can that be done without having something to hold it as a background?
What? I set it in the body and moved it down 164px which is you header image height.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12  
Old Jan 29th, 2007, 14:08
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: content area not expanding

Take a peak. www.whitelightwitheeta.com

I attached a very primitive example of what the site should look like.
I think this will help you understand the "two backgrounds."

Last edited by Lchad; Jun 17th, 2007 at 11:22.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #13  
Old Jan 29th, 2007, 14:11
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: content area not expanding

And that's pretty much what I gave you no?

FF.jpg

That diamond background goes underneath the menu and the content
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #14  
Old Jan 29th, 2007, 14:16
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: content area not expanding

Ok.. just finished with it... it's perfect....!!!! YOU ROCK!!!!!!

HOW THE HECK DID YOU DO THAT??

I'm going to go study this now!

Thank you thank you thank you!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #15  
Old Jan 29th, 2007, 14:18
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: content area not expanding

Ok I get it!!! You dropped the diamondback.jpg down .... that's so much easier!

I'm giddy with happiness because I've been struggling for 2 days! Now I can sleep tonight! hahahahahaha

I feel like I owe you lunch or something! hahahaha
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #16  
Old Jan 29th, 2007, 14:21
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: content area not expanding

Practice, practice, practice

You just have to split it up properly to start. In this case you have 3 sections: header, side and content. So you start off by putting that in you html in the order in which you would want someone to "read" your site like screen reader do

Code: Select all
<div id="header"></div>
<div id="content"></div>
<div id="side"></div>
Then you go in your CSS and make it look good
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #17  
Old Jan 29th, 2007, 14:22
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: content area not expanding

Quote:
Originally Posted by Lchad View Post
Ok I get it!!! You dropped the diamondback.jpg down .... that's so much easier!
I'm giddy with happiness because I've been struggling for 2 days! Now I can sleep tonight! hahahahahaha

I know the feeling! I've had those sleepless nights before and then someone just comes along and make you feel like you're on cloud 9

Quote:
Originally Posted by Lchad View Post
I feel like I owe you lunch or something! hahahaha
Well ... I do have a paypal account Just kidding. I come here to help I have learn stuff while doing it
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #18  
Old Jan 29th, 2007, 14:24
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: content area not expanding

Karinne:
The navigation is sitting exactly on top of the left edge of the diamondback1.jpg. Is there a way to move it over about 10 px to the right to give the appearance of a margin?

I just tried a couple of things and they didn't work so since you were online, I'd thought I'd ask!

And yes.. practicing is all that I've been doing!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #19  
Old Jan 29th, 2007, 14:27
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts