Floorplan pagesize how to set?

68 views
Skip to first unread message

kroonen

unread,
Apr 22, 2012, 3:38:58 PM4/22/12
to FHEM users
Hi,

I read the documentation and made a floorplan. I can't find where the
page size is set, I always get scrollbars in my browser, my floorplan
picture is 640x480, so that is not the problem. Where can I set the
page size for this layout?

regards Richard

UliM

unread,
Apr 23, 2012, 2:17:22 AM4/23/12
to fhem-...@googlegroups.com


Am Sonntag, 22. April 2012 21:38:58 UTC+2 schrieb kroonen:
I always get scrollbars in my browser

Hi Richard,
these (ugly) scrollbars are permanent since implementation of the css-tag #backimg.

If you deactivate this css-tag (e.g. by renaming it in your css-file from #backimg to #backimg2), the scrollbars are gone. However, you cannot choose the position of your backgroundimage anymore - which is used especially in darkfloorplanstyle.css to move the background image to the right to avoid an overlap with the floorplan menu.

I tried stating an absolute size in the #backimg-tag, but this doesn't help either - the scrollbars appear as soon as the #backimg-tag is active in the css-file.

If you find a way to keep the positioning of the background-image and still not have scrollbars, I'd be glad to know.

Cheers, Uli

UliM

unread,
Apr 23, 2012, 1:21:23 PM4/23/12
to fhem-...@googlegroups.com
Hi Richard,
I found the reason. There is a hardcoded height&width of 100%. I reduced them to 99% and tadaaaa the scrollbars disappear.
Will be published with the next floorplan-release.
Cheerio,
Uli

Reply all
Reply to author
Forward
0 new messages