Forums

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

Home Forums CSS Image Being Pushed Down by Sidebar?

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

    http://codepen.io/seraphzz/pen/byAzi

    The image should be aligned at the top of the paragraph – but when the sidebar is displayed it is pushed down by a few paragraphs. This can be demonstrated by adding display:none to the sidebar.

    I’m curious how I can fix this problem without specifically designating the size of the image (seeing as this is for a responsive layout).

    #136942
    TheDoc
    Member

    For it to not drop down it would need to have a smaller max width. You might want to try setting up the layout a little differently.

    #136947
    JohnMac4
    Member

    Are you trying to get them next to each other like this?

    http://codepen.io/johnmccartney/pen/cweJs

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