Academic Work Personal
|
Liferay /
Vertical scroll in a portlet
ProblemYou have a long content to display in a portlet and you want to scroll it vertically. SolutionAs pointed out in http://tugdualgrall.blogspot.com/2006/10/portlet-with-vertical-scroll-bar.html , it can be done easily with some CSS: <style type="text/css"> .scrollVertical { height:300px; overflow: auto; } </style> Then add the content of your portlet between these tags: <div class="scrollVertical"> ...long content here... </div> <%-- scrollVertical --%> |
![]() anime | bash | blogs | bsd | c/c++ | c64 | calc | comics | convert | cube | del.icio.us | digg | east | eBooks | egeszseg | elite | firefox | flash | fun | games | gimp | google | groovy | hardware | hit&run | howto | java | javascript | knife | lang | latex | liferay | linux | lovecraft | magyar | maths | movies | music | p2p | perl | pdf | photoshop | php | pmwiki | prog | python | radio | recept | rts | scala | scene | sci-fi | scripting | security | shell | space | súlyos | telephone | torrente | translate | ubuntu | vim | wallpapers | webutils | wikis | windows Blogs and Dev. * Ubuntu Incident Places Debrecen | France | Hungary | Montreal | Nancy Notes Hobby Projects * Jabba's Codes Quick Links [ edit ] |