www.webdeveloper.com
Results 1 to 5 of 5

Thread: Gap on top of content on our company website

  1. #1
    Join Date
    Jun 2012
    Posts
    2

    Gap on top of content on our company website

    Hello I cannot find the source of the gap that is above our image slider on our company website.

    here is the actual code and above it there always is a gap that I can't seem to get rid of.

    http://sharetext.org/EBCB

    Our company website is http://WigsFactory.com

    Any help is much appreciated. Thanks!

  2. #2
    Join Date
    Aug 2006
    Posts
    1,934
    You've got a 100px top margin on this style:
    Code:
    .theme-default #slider {margin: 100px auto 0}
    But you might also check the validator, there are a whole bunch of issues with the code that might be causing troubles.

    Dave

  3. #3
    Join Date
    May 2005
    Location
    Gold Coast (MS)
    Posts
    2,217
    This problem was solved for you in another forum. I'm surprised that you haven't corrected it yet. Look in the style.css for this:
    Code:
    .theme-default #slider {
        margin:100px auto 0 auto;
        width:850px; /* Make sure your images are the same size */
        height:300px; /* Make sure your images are the same size */
    }
    Correct to this:
    Code:
    .theme-default #slider {
        margin:0 auto;
        width:850px; /* Make sure your images are the same size */
        height:300px; /* Make sure your images are the same size */
    }
    I did that on your CSS file and the gap disappeared. I also mentioned the other problems about style tags within the table tags and the validation errors you have.
    Last edited by Major Payne; 06-22-2012 at 08:15 AM.

  4. #4
    Join Date
    Jun 2012
    Posts
    2
    Wow thanks for your help! I really appreciate you sharing your knowledge with me. So simple

  5. #5
    Join Date
    May 2005
    Location
    Gold Coast (MS)
    Posts
    2,217
    Very welcome.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles