Skip to Content
author's profile photo Former Member
Former Member

Background image for HTMLB cell?

Hi,

How to set background image for HTMLB cell? I did it this

way, but I think there should be something better:

<% String ImagesURL = componentRequest.getWebResourcePath() + "/images/"; %>

<hbj:formLayoutCell id="brandingImageCell"

align="left"

rowspan="2"

width="30%" >

<table border=1 width="100%" height="100%" cellpadding=0 cellspacing=0>

<tr>

<td style="background-image:url(<%= ImagesURL + "header_notch2.gif" %>);background-repeat:no-repeat">&nbsp;</td>

</tr>

</table>

</hbj:formLayoutCell>

Thank you,

Yuri

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 03, 2005 at 10:09 AM

    Hi,

    you cannot set a background to a FormLayoutCell.

    Try with a HTMLB TableView.

    Regards,

    Gerhard

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.