Jump to content


Help Needed


2 replies to this topic

#1 Futingkiller

    Young Padawan

  • Members
  • Pip
  • 110 posts

Posted 11 May 2006 - 08:59 AM

how can i make a table with a scrollbar (No iframes pls)
what should i put inside it so that a scollbar appeares if the information doesn't fit my preformated sizes?
hope you understand what i mean :)
maybe textarea, but can i put pictures inside?
pls help

i managed to find that out myself:
using css
[code]
div
{
background-color:#00FFFF;
width:150px;
height:150px;
overflow: auto
}
[code]

Edited by Futingkiller, 11 May 2006 - 11:01 AM.


#2 ericrcan

    Young Padawan

  • Members
  • Pip
  • 103 posts

Posted 11 May 2006 - 11:06 AM

PHP Pagination will automaticly add a scrollbar if needed.

http://www.stealthdesignz.com/index2.php?p.../pagenavigation

#3 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 11 May 2006 - 04:49 PM

Pagination is simply the breaking up of a list of results into several pages. Neither PHP, nor implimenting pagination can add scrollbars.

Futing, you might want to make that selector into a class or id selector, that way you don't make every div scroll.
i.e.
.div 
{
background-color:#00FFFF;
width:150px;
height:150px;
overflow: auto
}






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users