CSS makes it possible to do such things in just quick manner which we cant accomplish with lots of javascript code or from html. See the magic of CSS property, overflow. Let’s create a div with scrollable content. Starting with css and move on to html and follwed by live example.
CSS:
HTML:
I am normal text and I am inside the scrolling div. Wow, I can be in any color or style. Notice I am in green colorThis is big bold text I am a link It can have any type html code, like you do normally. more text... even more text... and more text...
Example:
I am normal text and I am inside the scrolling div.
Wow, I can be in any color or style. Notice I am in green color
![]()
This is big bold text
I am a link
It can have any type html code, like you do normally.
more text...
even more text...
and more text...





No comments yet.