Welcome Guest Search | Active Topics | Sign In | Register

HTML Editor width using percent Options
serge
Posted: Thursday, December 31, 2009 10:46:37 AM
Rank: Newbie
Groups: Member

Joined: 12/31/2009
Posts: 3
Is it possible to set width of the HTML Editor using % (ex: 100%)?
eo_support
Posted: Thursday, December 31, 2009 11:20:25 AM
Rank: Administration
Groups: Administration

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

Yes. You can do that. However please keep in mind that sometimes even simple HTML elements won't work consistently with percent width with complex page layouts, so there is no guarantee that percent width will work on the Editor on every possible scenario either. Thus we advice you to start with simple layout first.

Thanks!
serge
Posted: Thursday, December 31, 2009 11:50:48 AM
Rank: Newbie
Groups: Member

Joined: 12/31/2009
Posts: 3
Thank you for a quick response!

The problem is that I am trying to enhance existing form that already has simple HTML elements with their width set to 100% and they do work but HTML Editor doesn't.
Currently HTML table is used for the layout and the Editor goes under <td> tag. Could it be that I should use different control as a parent?
eo_support
Posted: Thursday, December 31, 2009 12:02:18 PM
Rank: Administration
Groups: Administration

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

There is no fixed rules on which will or will not work, let alone that different browsers may decide to calculate them differently. Table is especially tricky because the browser always try to automatically adjust the cell size to "better accommodates" the size of the cell contents, this often can get very unpredictable when what you really wanted is exactly the other way around --- for the cell contents to resize based on the cell size.

So basically you just have to try. Start from a simple page and make sure it works. Then change/add other things and see what breaks. You have to do that even you are working with an existing page --- just try take everything out, make sure it work, then start to put things back in step by step. Only after you know what breaks the layout, you can start to work on plans to get around it.

Thanks!
serge
Posted: Thursday, December 31, 2009 12:11:00 PM
Rank: Newbie
Groups: Member

Joined: 12/31/2009
Posts: 3
Ouch. Thanks!


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.