Subject: RE: Web page getting destroyed by DPI setting in windows OS
First off, thanks for your responses.
The font size is defined in pixels in my CSS.
Also, my problem stems from the fact that I have a view being displayed in a $$ViewTemplate which contains a table which contains the $$ViewBody field.
There is a border all around the user interface and one for a left-hand side menu (without frames). My problem occurs because the view’s height is variable because when word wrapping occurs because of the large fonts in one or many columns, some lines take up twice as much vertical real-estate.
To make my border, I used a 1 pixel high image that gets repeated, but I can’t tell it to repeat for 100%. I must specify a height in pixels so it repeats.
So I defined a fixed height for the rowspanned cell (it is rowspanned to accomodate the view in the right-hand side of the screen) so that the image would repeat creating a vertical border.
Since the view is so much higher, the rowspanned cell is not high enough and the whole row is stretched. Thsi causes my vertical border to be vertically centered, but not completed at either the top or bottom. It also stretches the menu in the left part of the screen. So when the menu is stretched down, the elements with absolute positioning appear to be over the left menu.
Man I’m sure everyone is confused as hell.
I need a way to prevent the large fonts from making text wrap in the view columns. I also need to be able to make the image which makes up my vertical borders wrap for 100% of the height regardless of what the height is.
Judging from your responses, I’m pretty sure these can’t be accomplished with the design I’ve created.
This is where a more senior web programmer could have helped in the planning stages(I’ve only been coding Javascript, HTML and DHTML for 2 years).
I realise the settings exist for visually impaired users, but those same users are now saying it’s hard to use the aplication because things don’t line up properly and they have to scroll a lot. (They are of course using the lowest resolution which doesn’t help things).
I also know it would have been better to code for a smaller width screen, but it would have made it impossible to display everything the project requires. Regular users using the application would have seen a 60% empty page just to accomodate the negligible percentage of users who need glasses and refuse to wear them.
This is an intranet application by the way.
Thanks for the information and input, it is much appreciated.
Luc