Page 1 of 1

fixed width option

Posted: Fri Jan 09, 2015 10:15 am
by tomjohnson1492
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; } 

Re: fixed width option

Posted: Fri Jan 09, 2015 4:52 pm
by sorin_ristache
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.