How to space this and add an image here

Soldato
Joined
29 Dec 2004
Posts
5,653
Location
Chatham, Kent
I'm trying to rough up a quick site using my new found skills in CSS and am having a bit of a problem

http://www.blade-uk.pwp.blueyonder.co.uk/test/

As you can see, i'm trying to seperate the 2 boxes so that there is a gap between the 2 and i'm also trying to put a transparant image into the first box to add as a title header.

How do i do it :D

Thanks,

Andy
 
Give your second div a top margin.

Not sure what you mean about the image. You've specified a background image that's just a white image?



Edit:
Ahh, I see, the background image is actually your logo. You're much better off inserting it via html.

<img src=".....

The reason being that you'll be able to specify alt text for your logo.. and if someone has CSS turned off, the image will still show up.
However, if you're deadset on having it as a css background image, just give your div width and height equal to the image.
 
Last edited:
Updated with the logohttp://www.blade-uk.pwp.blueyonder.co.uk/test/

Got the logo in place using normal html, but i still can't get a space between the 2 boxes, i've fiddled with all of the margins but nothing.

Andy
 
Back
Top Bottom