unwanted space between 2 images (Full Version)

All Forums >> [Web Development] >> General Web Development



Message


craigj1303 -> unwanted space between 2 images (4/6/2008 3:26:01)

Hi There

The image of the clips in the top right is split in to 2 parts as the seperate pieces live inside different DIV's. I am trying to achieve the effect of them being joined together. I can achieve the desired effect in IE as you will see but again, not in Firefox. In Firefox there is a white space of about 6px between the images.

http://www.anyoldirons.me.uk/samfit.html

Any ideas?

Thanks & Rgs

Craig




Tailslide -> RE: unwanted space between 2 images (4/6/2008 4:35:03)

You don't need it in the markup - it's not serving a useful purpose there so add it into the css as a background image for the header div.

Here: TEST PAGE

Also - if you want different background images for each link item you just assign a class to each link and then attach the background image to that class in the stylerule. Currently the images will look odd with CSS off and aren't actually related to the links so that if the text size is increased by the user they move off separately.

The header div should have everything in the header from the navigation to the banner image.





Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
6.054688E-02