Forums

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

Home Forums CSS how do I remove part of a border?

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

    Hi,

    At the top of my wordpress blog there are two “vertical borders” I marked them in screenshot:
    http://www.informationmarketingexpert.com/Images/top-borders.png

    Can you tell me how to remove/hide these two without removing the entire border? I know they’re part of the body border, and created by this code:

    #container
    {
      border-left: 1px solid #000;
      border-right: 1px solid #000;
    }

    Can you give me code to input or edit to do that?

    Here’s the website URL: http://www.informationmarketingexpert.com/test/
    Here’s css file: http://www.informationmarketingexpert.com/styletest.css

    Thanks!

    #188435
    Paulie_D
    Member

    So you only want to remove the borders at the top…is that right?

    Well you would have to remove the CSS you’ve already supplied BUT that will remove the border from the whole container.

    If you want to retain that border for other sections, you would have t re-apply it to them individually.

    #188454
    Chris Bloomfield
    Participant

    As Paulie_D said, if you remove the borders to fix the header border issue, you’ll lose the borders on the rest of the #container.

    So, you could either move #header outside of #container, or you could use an additional wrapper (like #content-wrap) within #container, to wrap only the elements you want to show a border around. Then style #content-wrap with your borders.

    #188536
    jacksarlo
    Participant

    Tried but cannot, but ok thanks I might hire some webmaster at a later day to do this – :)

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