Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
  1. #16
    Regular Coder
    Join Date
    Sep 2011
    Posts
    116
    Thanks
    1
    Thanked 0 Times in 0 Posts
    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.

  2. #17
    Senior Coder
    Join Date
    Aug 2006
    Posts
    1,235
    Thanks
    10
    Thanked 270 Times in 269 Posts
    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

  3. #18
    Regular Coder
    Join Date
    Sep 2011
    Posts
    116
    Thanks
    1
    Thanked 0 Times in 0 Posts
    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.

  4. #19
    Regular Coder
    Join Date
    Sep 2011
    Posts
    116
    Thanks
    1
    Thanked 0 Times in 0 Posts
    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?

  5. #20
    Senior Coder
    Join Date
    Aug 2006
    Posts
    1,235
    Thanks
    10
    Thanked 270 Times in 269 Posts
    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

  6. #21
    Regular Coder
    Join Date
    Sep 2011
    Posts
    116
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Many thanks! That worked, how much "just a space" mean This topic can be locked.


 
Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •