-
Dec 18th, 2011, 09:12 PM
#1
Thread Starter
Lively Member
[RESOLVED] HTML scroll problem with just divs
I created a website using notepad.
i have two divs. There is NO plain text.
one div shows an image. the other one shows text.
the text div is about 2000pixels below the top div. now when page loads you see top div but cant see bottom div. no scrollbar are present and even arrow keys or mouse middle button cant be used to scroll down to see the second div.
how do you fix this
-
Dec 18th, 2011, 10:47 PM
#2
Re: HTML scroll problem with just divs
are you using absolute positioning? what does the HTML look like? CSS? We're not mind readers, so we don't know what code you used.
-tg
-
Dec 19th, 2011, 07:50 AM
#3
Thread Starter
Lively Member
Re: HTML scroll problem with just divs
solved its to do with fixed positioning changed it to absolute
-
Dec 19th, 2011, 08:13 AM
#4
Re: HTML scroll problem with just divs
Great... could you kindly mark this thread as resolved then? It's under the Thread Tools menu up by post #1, thanks.
-tg
-
Dec 19th, 2011, 11:15 PM
#5
Re: [RESOLVED] HTML scroll problem with just divs
I recommend against using position:fixed or position:absolute, unless you're sure that's what you want. It sounds to me as though you could simply use a margin between the two elements.
-
Dec 20th, 2011, 01:26 PM
#6
Thread Starter
Lively Member
Re: [RESOLVED] HTML scroll problem with just divs
i need divs to be able to be placed freely anywhere on the browser window exactly in same position as in the designer. i give the div top and left values in the style parameter.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|