Forums

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

Home Forums Design border-bottom: 1px solid; howto match content-width when you use padding

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #243978
    sindreolsson
    Participant

    In my design I have used paddings to get a narrower view. Now I need to add a border-bottom: 1px solid and this border fills the real width without any paddings to it.

    You can see what I mean here in the bottom of website: http://goo.gl/X1iocT

    I also need a line under my title also. Is there a way to fix this so content and 1px line is same width?

    #243979
    Paulie_D
    Member

    What border where…it’s really unclear what you are trying to do?

    #243980
    Paulie_D
    Member

    Ohhhh…you mean like this…

    http://codepen.io/Paulie-D/pen/pbKGKZ

    #244002
    sindreolsson
    Participant

    Thats exactly what I was looking for! Brilliant : )

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