Skip to Content
author's profile photo
Former Member

How to set width of htmlb components in % units, instead of pixels

Hi,

as one can set the width of columns in self defined pages in % units, I wonder if this is possible for different htmlb components to (especially for broad ones like IsolatedHtmlContainer). The Control API only mentions a width attribute, but does not however specify how to set it.

I am using PDK 5.0.5 with SDK 1.3.1

Thx for any comment!

Matthias

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Mar 08, 2004 at 10:42 AM

    setWidth

    public void setWidth(java.lang.String width)Set the used width of the grid. You could use any HTML-like definitions (like "100%").

    Parameters:

    width - the used width of the grid

    Add comment
    10|10000 characters needed characters exceeded