 |
|
Oracle Tips by Burleson |
Setting the Sizes of Page Components
Regions
To set the height and width of a region to a
specified width, set the following attributes in the region. Use this
to set all regions to the same width if desired:
< table height="400" width="400"><tr><td>
</td></tr></table>
Select Lists
To set the width of a select list, enter the
following <style> tag code. The caution is that if the text goes
beyond the width it will not be visible to the user. For HTML Form
Element Attributes:
style="width:100;"
Tabular Form Field
There is no way to set a maximum length of text to
allow for a tabular form column by using the available properties in
HTML DB. To set the maximum length of the text that can be entered
into a tabular form column, edit the column attributes for the tabular
form column. Then make the following changes.
onFocus="javascript:this.maxLength=20;"
To force UPPERCASE
characters only on a tabular form
column, edit the column attributes for the tabular form column. Then
make the following changes:
style="text-transform:uppercase;"
To influence the width of a tabular form column
set the following:
style="width:200;"
The
above book excerpt is from:
Easy HTML-DB
Oracle Application Express
Create Dynamic
Web Pages with OAE
ISBN 0-9761573-1-4
Michael Cunningham & Kent Crotty
http://www.rampant-books.com/book_2005_2_html_db.htm
 |
For more details and scripts, see my new book "
Oracle
Tuning: The Definitive Reference", over 900 pages
of BC's favorite tuning tips & scripts.
You can buy it direct from the publisher for 30%-off and get
instant access to the code depot. |
|