fixed width option

Are you missing a feature? Request it's implementation here.
Posts: 132
Joined: Thu Apr 17, 2014 1:55 am

fixed width option

Post by tomjohnson1492 » Fri Jan 09, 2015 10:15 am

For the webhelp output, can you add a "fixed width" parameter that allows me to specify a max width, something like 800px? I really hate it how the liquid layout takes up the entire screen (on my 21 inch Mac Thunderbolt display, seeing one line stretch 2 feet long is really lame) doesn't follow best practices for readability.

As a workaround, I just am adding this:

Code: Select all

.conbody, .taskbody, .refbody, .body, p.shortdesc, .title, .ullinks, .glossdef { max-width:800px; } 

Posts: 4144
Joined: Fri Mar 28, 2003 2:12 pm

Re: fixed width option

Post by sorin_ristache » Fri Jan 09, 2015 4:52 pm

Where can I find more details about this type of readability best practice? I was not aware of that.

You can add the CSS code that sets a maximum width as a custom CSS set in the args.css parameter of the DITA WebHelp transformation.

<oXygen/> XML Editor Support

Post Reply