Results 1 to 5 of 5

Thread: Remove Space After Div

  1. #1
    Join Date
    Sep 2004
    Location
    Tallahassee, FL USA
    Posts
    264
    Thanks
    71
    Thanked 2 Times in 2 Posts

    Default Remove Space After Div

    For the life of me, I cannot figure out what is causing the 3 pixel high gray space to appear after the section that contains the Education heading and the photo: http://www.flimpact.org/html5.html

    It's supposed to look like this without any spacing between the Heading/Photo section and what will be the anchor link section: http://www.flimpact.org/sample3.html

    Any assistance in solving this would be greatly appreciated.
    Deborah
    Deborah Whipp
    Web Designer
    Tallahassee, FL
    www.DWWebDesigns.com

  2. #2
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,920
    Thanks
    2
    Thanked 267 Times in 262 Posts

    Default

    Hi there dmwhipp,

    Try adding this...
    Code:
    
    img {
        display:block;
     }
    ...to your style sheet.

    Further reading:-


    coothead

  3. The Following User Says Thank You to coothead For This Useful Post:

    dmwhipp (11-11-2013)

  4. #3
    Join Date
    Sep 2004
    Location
    Tallahassee, FL USA
    Posts
    264
    Thanks
    71
    Thanked 2 Times in 2 Posts

    Default

    Thank you so much! It took me a while to recode this site from HTML4 to HTML5, then I searched the Internet on and off for a few days trying to figure out why that extra space was there - just when I thought I was starting to grasp HTML5. I don't know why I didn't think to treat the image as I would a section of text. I've bookmarked the link you provided and sincerely appreciate your assistance!
    Regards,
    Deborah
    Deborah Whipp
    Web Designer
    Tallahassee, FL
    www.DWWebDesigns.com

  5. #4
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,920
    Thanks
    2
    Thanked 267 Times in 262 Posts

    Default


    No problem, you're very welcome.

    coothead

  6. #5
    Join Date
    Mar 2011
    Posts
    2,144
    Thanks
    59
    Thanked 116 Times in 113 Posts
    Blog Entries
    4

    Default

    I'm closing this because of the spam its attracting. If you need it reopened feel free to message me or another moderator.

Similar Threads

  1. Collapsed space then black space appears in ultimate fade-in slideshow
    By cnymike in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 07-29-2010, 03:35 PM
  2. Replies: 1
    Last Post: 06-12-2010, 01:04 PM
  3. DD Tab Menu: How to remove non-used space on end of bar
    By songdove in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 08-16-2009, 01:21 AM
  4. clarification - space or no space
    By brentnicholas in forum CSS
    Replies: 3
    Last Post: 09-10-2008, 02:37 PM
  5. Chrome menu need to remove space beneath
    By Dibble in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 06-30-2006, 05:08 AM

Bookmarks

Posting Permissions

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