Repeating Background Image Trouble (<DIV>)

Posted on 2009-04-28
Last Modified: 2012-05-06
Here's an example of the problem:  If looking at page source, mainly look for "leftcol" references.

I can't figure out why there is a small space in between each image.

I have a feeling this is a really simple answer, but I'm lost.

Question by:katiep23
    LVL 10

    Expert Comment

    I believe that you have to set the height and the width to the same formtting, either absolute or liquid, but not both...
    #leftcol {
    	width: 199px; -->AbsolutePositioning
    	height: 100%; -->liquid

    Open in new window


    Author Comment

    Actually, I just updated the page.  I didn't have it repeating before.  Take a look now please.

    Accepted Solution

    Nevermind.  I'm stupid.  The line was on the image itself!!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Training Course: Adobe Dreamweaver CC 2015

    Adobe Dreamweaver Creative Cloud is used by web designers and front-end developers and allows you to visualize your site in real-time as you code. This course covers exam objectives for the Adobe Certified Associate (ACA) certification.

    Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
    Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
    In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
    The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now