Forums

Welcome Guest Search | Active Topics | Members

Issue with image overflowing from iframe... (possible z-index issue?) Options
Mike
Posted: Thursday, May 12, 2005 3:42:00 PM
Rank: Member
Groups: Member

Joined: 5/12/2005
Posts: 8
Points: 0
I am currently having an issue getting the BitmapViewer to display correctly on a page in a project I am working on.

I have placed the bitmapviewer on a page by itself in a brand new project and it works fine, but when I try and use it in production, the result displayed to the end-user does not look correct.

#1 This image displays what the user sees when ZoomMode = None and PreviewImageEnabled = false. The scrollbars that should appear over the image are actually underneath it, and cannot be accessed. This makes scrolling the image impossible, and realizing that the entire image is not shown is unintuitive.

#2 This image is what user's see when ZoomMode = None and PreviewImageEnabled = true. No question that this doesn't look right. :)

#3 This image is what user's see when ZoomMode = BestFitShrinkOnly and PreviewImageEnabled = true. You can see that the image slightly overlaps the scrollbars, partially demonstrating the problem seen in #1.

#4 This text file is the entire HTML source output to the browser on the page this error is occurring.

Any help would be greatly appreciated, if I can get this working I definitely will be purchasing a license, so thanks in advance for your time!
Fedor
Posted: Thursday, May 12, 2005 8:04:00 PM

Rank: Advanced Member
Groups: Administration , Member

Joined: 7/28/2003
Posts: 1,240
Points: -193
Location: WA, US
Hello Mike,

BitmapViewer web control works correctly only when standards-compliant HTML rendering mode is switched off. Unfortunately we have not got run BitmapViewer in standards-compliant mode, as in this case Internet Explorer doesn't process "overvlow:auto" CSS attribute correctly (at that time as other browsers work perfectly).

At first glance in the top of page you have DTD declaration for non standards-compliant mode:

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML    4.0    Transitional//EN" >


But in fact Internet Explorer renders page in standards-compliant one, because you have added extra tabs between HTML, 4.0, and Transitional words. Just use following DTD declaration and it will work perfectly:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">



Best regards,
Fedor Skvortsov
Mike
Posted: Friday, May 13, 2005 7:51:00 AM
Rank: Member
Groups: Member

Joined: 5/12/2005
Posts: 8
Points: 0
Works perfectly now, thanks!
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Yet Another Forum.net version 1.9.1.6 running under Cuyahoga.
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.