• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

User:Cuckooman4/Scrollboxtop

  • User page
  • Talk
  • Language
  • Watch
  • Edit
< User:Cuckooman4
Documentation[view] [edit] [history] [purge]

Makes a scrollable box.

Syntax

edit
{{User:Cuckooman4/Scrollboxtop
  |h = height
  |w = width
  |o = CSS overflow
  |b = CSS border
  |p = CSS padding
  |bg = background color
}}

Text in box

</DIV>

All parameters are optional - default settings:

  • h = 200px
  • w = 300px
  • o = scroll
  • b = none
  • p = 5px
  • bg = #F9F9F9

Write "{{User:Cuckooman4/Scrollboxtop}}" and, (optional) define the parameters. Then write the text you want in the box, and end with "</DIV>".

Example

edit


text

text

text

text

text

text

text

text

text

text

text

text

text

{{User:Cuckooman4/Scrollboxtop
  |h = 200px
  |w = 100px
  |b = 2px solid #000000
}}

text

text

text

text

text

text

text

text

text

text

text

text

text

</DIV>

Source

edit
<DIV style="height:{{{h|200px}}}; width:{{{w|300px}}}; overflow-y:{{{o|scroll}}}; border:{{{b|none}}}; padding:{{{p|5px}}}; background-color:{{{bg|transparent}}};">
The above documentation is transcluded from User:Cuckooman4/Scrollboxtop/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this page.
Retrieved from "https://en.wikipedia.org/w/index.php?title=User:Cuckooman4/Scrollboxtop&oldid=176901367"
Last edited on 10 December 2007, at 01:41

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 10 December 2007, at 01:41 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop