Results 1 to 3 of 3

Thread: Bug in CSS background color?

  1. #1
    Join Date
    Nov 2017

    Angry Bug in CSS background color?

    Hey guys,

    First time poster so my apologies if I'm not in the right place. I'm taking a super simple web design class at a community college and having trouble with the background color of the "main" element. At the top of the main section there appears to be a 20px border where the background color of the "nav" element bleeds in. If I apply a 1 pixel border to the main section the problem is resolved but I am still left with an undesired border. Is it just my browser or what? I've attached 3 files. 2 are screen shots of the problem and the 3rd is a zip file including all source documents for the assignment.

    Any Help is appreciated!




  2. #2
    Join Date
    Nov 2016
    Hey, why not you host your code on codepen or similar sites. It could be much easier for us to see the code and edit it on the fly.

    [ Go to codepen and sign up. Create a new pen and copy and paste your HTML, CSS, JavaScript code there and then mention the link of your newly created pen here. ]

  3. #3
    Join Date
    Jan 2004
    chertsey, a small town s.w. of london, england.
    Hi there IanSkelskey,

    you may possibly find this link helpful to your cause...


    ~ the original bald headed old fart ~

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