Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-25-2011, 08:04 PM   PM User | #16
Krentenbol
New Coder

 
Join Date: Sep 2011
Posts: 99
Thanks: 0
Thanked 0 Times in 0 Posts
Krentenbol is an unknown quantity at this point
This way the text is shown, the div's are shown, but the images ain't. Picture:



The rest of the div's ain't shown aswell. Just the background colour.
Krentenbol is offline   Reply With Quote
Old 09-25-2011, 08:11 PM   PM User | #17
tracknut
Regular Coder

 
Join Date: Aug 2006
Posts: 892
Thanks: 4
Thanked 206 Times in 205 Posts
tracknut is an unknown quantity at this point
You've got to get your files on a web server so I can see what you're seeing. My version, from your previous code, shows very differently. For example I don't see any references to text with blue backgrounds in it from your code, yet your image above has blue. Your images aren't in your code pasted here, so I can't tell whether they are just missing, or your links point to the wrong place, etc, etc.

Dave
tracknut is offline   Reply With Quote
Old 09-25-2011, 08:17 PM   PM User | #18
Krentenbol
New Coder

 
Join Date: Sep 2011
Posts: 99
Thanks: 0
Thanked 0 Times in 0 Posts
Krentenbol is an unknown quantity at this point
Quote:
Originally Posted by tracknut View Post
You've got to get your files on a web server so I can see what you're seeing. My version, from your previous code, shows very differently. For example I don't see any references to text with blue backgrounds in it from your code, yet your image above has blue. Your images aren't in your code pasted here, so I can't tell whether they are just missing, or your links point to the wrong place, etc, etc.

Dave
I will get it on a server, probably it's up there tomorrow, I am pretty tired now. Thanks for your help already.
Krentenbol is offline   Reply With Quote
Old 09-26-2011, 01:42 PM   PM User | #19
Krentenbol
New Coder

 
Join Date: Sep 2011
Posts: 99
Thanks: 0
Thanked 0 Times in 0 Posts
Krentenbol is an unknown quantity at this point
I haven't set up the server yet, but I realise myself now. When I change the code:

Code:
.left h2 {
	background-image:url(../images/big_header_content.png);
	height:40px;
}
To:

Code:
.left.header {
	background-image:url(../images/big_header_content.png);
	height:40px;
}
And change the html code aswell which was <h2>header</h2> to <div class="header">header</div>

The background is gone. So this means the <div> code is wrong. I've tested this aswell, I changed the footer to ".left h3" so in the html aswell, and the background showed up. This means html code must be wrong, am I correct?
Krentenbol is offline   Reply With Quote
Old 09-26-2011, 03:30 PM   PM User | #20
tracknut
Regular Coder

 
Join Date: Aug 2006
Posts: 892
Thanks: 4
Thanked 206 Times in 205 Posts
tracknut is an unknown quantity at this point
Put a space between .left and .header in your css, I'm pretty sure it's a different meaning when you push them right up next to each other like you have.

Dave
tracknut is offline   Reply With Quote
Old 09-26-2011, 05:08 PM   PM User | #21
Krentenbol
New Coder

 
Join Date: Sep 2011
Posts: 99
Thanks: 0
Thanked 0 Times in 0 Posts
Krentenbol is an unknown quantity at this point
Many thanks! That worked, how much "just a space" mean This topic can be locked.
Krentenbol is offline   Reply With Quote
Reply

Bookmarks

Tags
column, fail, layout

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 06:41 PM.


Advertisement
Log in to turn off these ads.