Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
scroll-moving DIV problem
Old 03-20-2007, 05:34 AM scroll-moving DIV problem
Junior Talker

Posts: 2
Trades: 0
Hi!

I have a DIV which must move when scrolling down

http://tlloreti.googlepages.com/network.htm


The problem alignment of the rest of the page has been modified (If you click in top menu Network link you will see the original...) because of this line

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html4...1224/loose.dtd">

(this line is necessary to move DIV when scrolling....)

How can I solve this?
Do you have other way to do this moving DIV?

Thanks!
F
frijolita is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-20-2007, 02:35 PM Re: scroll-moving DIV problem
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Your DOCTYPE really hasn't much to do with whether or not the div floats.
You can use javascript to make that div follow down the page.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 03-20-2007, 02:38 PM Re: scroll-moving DIV problem
Junior Talker

Posts: 2
Trades: 0
Honestly I dont understand how it works but if you save locally the html and you delete this line you will see that DIV doesnt move at all ...

Do you have any example of alternative method?

Thanks!

F
frijolita is offline
Reply With Quote
View Public Profile
 
Old 03-20-2007, 02:40 PM Re: scroll-moving DIV problem
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Head over to www.dynamicdrive.com and you'll find the scripting for the effect you want.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to scroll-moving DIV problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.64813 seconds with 12 queries