Need help positioning an element

Discussion in 'CSS' started by hammiesink, Feb 25, 2009.

  1. #1
    I have a few small banners I'm trying to position on the top layer in a certain way. No other way to do it than positioning.

    The problem is, if I do absolute, then the position changes when you resize your browser window, covering up the wrong things.

    But if I do it relative, then it interferes with the document flow where the element WOULD have been. And if I float it, it still interferes with the document, causing things to wrap around the invisible location of where the element would normally be.

    Is there a way to just position this element without interrupting anything else and without changing when the browser is resized?
     
    hammiesink, Feb 25, 2009 IP
  2. blktallos

    blktallos Active Member

    Messages:
    314
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Try using display:block; within your CSS document.
     
    blktallos, Feb 25, 2009 IP