HI
Our users can have screens ranging from 4:3 to 16:9.
Is there a way to set the initial size of the Web Page window so that lines do not stretch out forever on the wide screens? (I have done this in .chm files, but haven't managed in Web Page output.)
Is there a way to set a table so that the columns are ALWAYS equally distributed? I have tried using 'Size Table Manually setting each column separately to 33 %, but the first column still expands if I drag to the right on a wide screen.
Thanks
Rob
Web Page - Set opening width and/or Sizing equal columns
Moderators: Alexander Halser, Tim Green
- Tim Green
- Site Admin
- Posts: 23156
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Web Page - Set opening width and/or Sizing equal columns
Hi Rob,
You can't really define the window size of a web page because that's controlled by the user's browser settings. The only way to do it would be to open a new window per script, and in most cases that would get blocked as a popup. This is normal behavior in all browsers and there is really no reason to try to change it.
You can't really define the window size of a web page because that's controlled by the user's browser settings. The only way to do it would be to open a new window per script, and in most cases that would get blocked as a popup. This is normal behavior in all browsers and there is really no reason to try to change it.
When you first create a table the columns will be equally distributed. However, as soon as you adjust the size of columns with the mouse this automatically sets both affected columns to fixed width. You can reverse that with the Lock tool in the tables tab. In addition to this, the widths of HTML-style table columns are primarily influenced by the their content, which his priority over width settings. For example, if you insert an image 200 pixels wide in a column with a defined width of 100 pixels the image will always force the column to be wider.Rob Davis wrote:Is there a way to set a table so that the columns are ALWAYS equally distributed? I have tried using 'Size Table Manually setting each column separately to 33 %, but the first column still expands if I drag to the right on a wide screen.
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
- Martin Wynne
- Posts: 2656
- Joined: Mon May 12, 2003 3:21 pm
- Location: West of the Severn, UK
Re: Web Page - Set opening width and/or Sizing equal columns
Hi Rob,Rob Davis wrote:Is there a way to set the initial size of the Web Page window so that lines do not stretch out forever on the wide screens?
The width of the browser window is a user setting, you can't change it from within the H&M content. But you can change how much of it H&M uses, leaving a blank area on the right.
In the skin, go to Configuration > Publishing Options > Webhelp > Layout
Find this line:
Code: Select all
<div id="hmcontainer">
Code: Select all
<div id="hmcontainer" style="max-width:1000px;">
Generally the intention is that users set their browser width to whatever they want.
p.s. Don't forget to save the skin before publishing, if you don't have it open at the same time.
regards,
Martin.
- Martin Wynne
- Posts: 2656
- Joined: Mon May 12, 2003 3:21 pm
- Location: West of the Severn, UK
Re: Web Page - Set opening width and/or Sizing equal columns
Hi Tim,Tim Green wrote:For example, if you insert an image 200 pixels wide in a column with a defined width of 100 pixels the image will always force the column to be wider.
Not if you set table-layout:fixed; in the CSS. The only reason to do this usually is to provide much faster rendering of complex tables.
regards,
Martin.