Welcome Guest Search | Active Topics | Sign In | Register

Height Percentage within CallbackPanel Options
Darrell Reinke
Posted: Monday, July 9, 2012 10:19:59 AM
Rank: Advanced Member
Groups: Member

Joined: 7/18/2008
Posts: 76
Good Morning,

I have a simple question about height percentage formatting within a callbackpanel. Is it possible for you to format the height as a percentage within the callbackpanel?

The following code below is an example of what I am referring to. The height of listBox1 height percentage doesn't work within the callbackpanel, however, listBox2 outside the callback panel height percentage does work.

Do I have the DOCTYPE or xmlns declared wrong?

I hope this question is easy for you. I am not a "formatting expert".

eo_support
Posted: Monday, July 9, 2012 10:23:13 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

No. You can not do that. Height percentage generally does not work on page level because page's height depends on content height, so you can not have content height depends on page height at the same time.

Thanks
Darrell Reinke
Posted: Monday, July 9, 2012 10:28:04 AM
Rank: Advanced Member
Groups: Member

Joined: 7/18/2008
Posts: 76
Thanks. I figured it out....

I needed to remove the "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" from the DOCTYPE tag.

This TAG DOESN'T WORK:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

This DOES work with percentages:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0">

Sorry to have bugged you. Hope this helps someone else in the future.
Darrell Reinke
Posted: Monday, July 9, 2012 10:29:12 AM
Rank: Advanced Member
Groups: Member

Joined: 7/18/2008
Posts: 76
I meant <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> works....


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.