Skip to main content

Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #291937
    madisontex
    Participant

    Hello,
    How do I add a div of white at the top on my page here: http://mychoiceloans.com/greenindex2.html

    Above the logo section and also with a small line of color at the bottom of that white section.

    Also, would this be in the CSS or the html?

    #293092
    wolfcry911
    Participant

    There are many ways to accomplish this. I’ll give you one (the way I would do it). What you don’t want to do is add extraneous elements to the html just for styling purposes.

    I’d add a top border to the body.

    body { border-top: 20px solid white; }

    And then add the color line as a top border to the .banner div

    .banner {border-top: 5px solid green; }

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Design’ is closed to new topics and replies.