A method and system for web based control components. Specifically, the
present invention describes a method of rendering user interface button
and tab control components within a hypertext markup language (HTML) web
page. The present invention generates an HTML table that comprises a
plurality of cells. For a button component a two row by three column
table is generated. For a tab component a five column table is generated.
The present invention places a plurality of graphical corner images in
the plurality of cells to produce corner outlines of the button or tab
control component. Multiple button or tab components can be coupled
together in a single table by repeatedly adding more of the plurality of
cells associated with button or tab components, respectively. In
addition, the control component has the ability to accommodate word
wrapping of the text contained within the control component.