1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Div move inside a div

Discussion in 'HTML & Website Design' started by lespaul00, Jan 18, 2008.

  1. #1
    Hello,

    I am using Dreamweaver 8. I have an editable region (a div), and I drew a div inside it. The outer div is scrollable, but when I scroll, the inner div does not scroll with it.

    How can I get it to nest?
     
    lespaul00, Jan 18, 2008 IP
  2. CSSDevMonkey

    CSSDevMonkey Peon

    Messages:
    44
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Huh? Can you show an example? I can't visualize what your trying to do.
     
    CSSDevMonkey, Jan 18, 2008 IP
  3. lespaul00

    lespaul00 Peon

    Messages:
    283
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    When I scroll my page down, the div on my page stays where it is. Meaning, it scrolls with the page.

    If I scroll down, the div appears in the same spot on my screen no matter where i'm scrolled.

    Maybe I can try to upload something...

    Do you have Dreamweaver 8?
     
    lespaul00, Jan 18, 2008 IP
  4. lespaul00

    lespaul00 Peon

    Messages:
    283
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Here,

    The first image shows what my page looks like. The main page div has the scroll on the right, and the small div is RED. The second image is when I scroll down, the red "div" stays in the same position! I'd like it to move with the scrolling as well.

    1.jpg




    2.jpg
     
    lespaul00, Jan 18, 2008 IP