May 7, 201313 yr hello on www.davidcook.me/project its not bringing through the background image and the topbar image, any ideas
May 7, 201313 yr It's because your div is empty and you haven't specifically declared a height for the top bar. Either add a to your div like this: <div class="topbar"> </div> Or, set a height in your CSS: .topbar { background: url(../image/bar.png) repeat; height: 15px; } The reason is because a div element automatically has 0 height, so it appears blank. Lyndsey.
May 7, 201313 yr You need to specify height to the .topbar div, then the image shows. There is no other background image in your CSS, which background image dd you mean?
May 7, 201313 yr Author Hey both Yeh i realised that i changed it didnt upload in time, Teodora - The other image is the background in the body section on css. Edited May 7, 201313 yr by David Cook
May 7, 201313 yr Possibly because you're loading the reset stylesheet after the main stylesheet, which is overriding the body attributes you've previously set! Try moving the reset above the general stylesheet: <link rel="stylesheet" type="text/css" href="css/reset.css" /> <link rel="stylesheet" type="text/css" href="css/style.css" /> Yeah, that's definitely causing the issue. Let me know if you have any more issues
May 7, 201313 yr Author cheers lyndesy it was because I have background:transparant in the reset that was overriding it, removed that and worked didnt matter about the order.
May 7, 201313 yr cheers lyndesy it was because I have background:transparant in the reset that was overriding it, removed that and worked didnt matter about the order. Ok, awesome
May 7, 201313 yr Author one last thing, any reason why the topbar is not going 100% width. its outside the container element.
May 7, 201313 yr Yeah, the first and every fourth block of colour on the bar is the same colour as the background
May 7, 201313 yr Author god i sound thick, didnt even think of that, and i even said that to my friend who is having the site.
May 7, 201313 yr god i sound thick, didnt even think of that, and i even said that to my friend who is having the site. It's easily done Looks good so far, I'm liking the colour scheme, good choice
Create an account or sign in to comment