pnwynn Posted November 12, 2005 Share Posted November 12, 2005 Can some on show me how to write html to make a text to scroll up in the table?help Link to comment Share on other sites More sharing options...
actionsketch Posted November 12, 2005 Share Posted November 12, 2005 could you be a little more specific or give an example? Link to comment Share on other sites More sharing options...
pnwynn Posted November 13, 2005 Author Share Posted November 13, 2005 could you be a little more specific or give an example?<{POST_SNAPBACK}> yes, Let say I have a long paragraph but I just want to display a couple of line and let it scroll up slowly until it reach to the end of paragraph. this way I don't need to use too much space in a web page and just display a small window. So, do you get it? If you do your help is appreciated. Thanks for respond. Link to comment Share on other sites More sharing options...
Chocolate570 Posted November 13, 2005 Share Posted November 13, 2005 You could use the marquee tag.<div width="200" height="200"><marquee scroll direction="up" onmouseover="this.stop()" onmouseout="this.start()" scrollamount="2">Due to the fact that the author of this short script has no imagination, this marquee has no descriptive text inside. Everyone is very sad.</marquee></div> Link to comment Share on other sites More sharing options...
~Shinta Posted November 13, 2005 Share Posted November 13, 2005 <div style="display: block;">stuff</div> Link to comment Share on other sites More sharing options...
F-Man Posted November 13, 2005 Share Posted November 13, 2005 <div style="display: block;">stuff</div><{POST_SNAPBACK}> Hm? DIVs are already blocks by default...pnwynn, maybe this is what you want?div { height: 3em; overflow: auto;} By placing this in your CSS, it'll make the content of a <div /> 3 lines in height, with a vertical scrollbar to view the remaining of the text. It cannot be applied to a table though... Link to comment Share on other sites More sharing options...
pnwynn Posted November 14, 2005 Author Share Posted November 14, 2005 You could use the marquee tag.<div width="200" height="200"><marquee scroll direction="up" onmouseover="this.stop()" onmouseout="this.start()" scrollamount="2">Due to the fact that the author of this short script has no imagination, this marquee has no descriptive text inside. Everyone is very sad.</marquee></div><{POST_SNAPBACK}> Hi chocolate570, this works great. Thanks for helping. Link to comment Share on other sites More sharing options...
Jonas Posted November 14, 2005 Share Posted November 14, 2005 No! No! Don't encourage the use of the <marquee> tag... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now