Forums

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

Home Forums Design Having a problem with my tag

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

    My pre tag doesn’t stay in position when the window is resized, see code below:

    http://codepen.io/set4kay/pen/mRgBgO

    Kindly help!
    Thanks!

    #251585
    bearhead
    Participant

    I don’t think the issue is with the pre element. The root cause seems to be some positioning goofiness caused by height: 50%; declaration in .txtarea.

    I’d remove that declaration.

    #251593
    set4kay
    Participant

    Oh! I see.

    Thank you.

    My reason for making the height: 50% declaration in .txtarea is because I wanted the page divided into equal halves horizontally.

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