Forums

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

Home Forums CSS wordpress: elements in the sidebar not properly positioned.

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #31432
    supperman
    Participant

    Hi!

    I want to push this widget to the top
    Picture at: Your text to link…

    I can do this with :nth-child, targeting the 3rd block, but then it doesn’t work, as you know, in IE.
    Do i have to register another sidebar for this with 1/2 width and place each to the desired, or is this a css fixable.

    css i use for widgets:


    .Block
    {
    overflow: hidden;
    min-width:1px;
    min-height:1px;
    margin-left: 15px;
    position: relative;
    z-index: 0;
    width: 220px
    }
    #63355
    Jerm993
    Member

    have you reset your top and bottom margins to 0?, they should be on top of each other if they were set to 0.

    #63370
    supperman
    Participant

    I did try to put 0 margin inside this element. Didn’t work.
    It seem that whatever is the height of the element on the right side, the element below will line up underneath it.
    css of parent:

    .contentLayout .sidebar1
    {
    position: relative;
    margin: 0;
    padding: 0;
    border: 0;
    float: left;
    overflow: hidden;
    width: 470px;

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