List Info

Thread: Setting the ASP.NET 2.0 wizard control height




Setting the ASP.NET 2.0 wizard control height
user name
2006-07-06 07:26:32
The wizard control supports defining templates similar to a
repeater,
check the documentation for the required controls.

HTH

Paul

-----Original Message-----
From: Discussion of building .NET applications targeted for
the Web
[mailtoOTNET-WE
BDISCUSS.DEVELOP.COM] On Behalf Of Fernando Tubio
Sent: Thursday, July 06, 2006 04:56
To: DOTNET-WEBDISCUSS.DEVELOP.COM
Subject: [DOTNET-WEB] Setting the ASP.NET 2.0 wizard control
height

I need to set the height of an ASP.NET 2.0 wizard control to
a specific
value and it appears that this is imposible. The control
renders as a
table with three rows, similar to the following:

/* assuming this is part of my stylesheet */ <style>
...
.wizard { height:40em; }
...
</style>

<!-- this is how the wizard control is rendered -->
<table border="0"
class="wizard">
    <tr>
        <td>... header text ...<td>
    </tr>
    <tr style="height:100%">      <===
TROUBLE!!!
        <td>
        .... content goes here ...
        </td>
    <tr>
    <tr>
        <td align="right">
            ... navigation controls ...
        </td>
    </tr>
</table>

Notice how the content row has a CSS style applied to set
it's height to
100%. This causes Internet Explorer to ignore the height
attribute
applied through the CSS class and the control appears taller
than in
other browsers, Firefox for example.

Can anyone suggest a workaround?

Fernando Tubio

===================================
This list is hosted by DevelopMentor(r)  http://www.develop.com

View archives and manage your subscription(s) at
http://discuss.develop.com


===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )