Newbies Lisas4 Posted April 2, 2013 Newbies Posted April 2, 2013 Hi, I imported an Image from my server into webviewer via this.: "data:text/html, <html> <head><img src='" & "http://www.LisaPrice.info/fahrtenbuch/images/" & Buggy Fahrtenbuch::fileversion & "/eingabelocked2.jpg" & "' style='width:100%; height:100%;' /></head> <body style='border: 0; margin: 0'> </body> </html>" The Result is an image without any borders. Works perfect. When I import the image as an html, I keep getting a wireframe, and it seems this wireframe is generated by webviewer. Can anybody help me. My html file behind the Url: "http://www.LisaPrice.info/fahrtenbuch/images/" & Buggy Fahrtenbuch::fileversion & "/eingabelocked2.htm" is <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" cellspacing="0" cellpadding="0" border="0"/> <title>Untitled 1</title> <style type="text/css"> <!-- body { margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; cellspacing: 0px; cellpadding:0px; border:0px } --> </style> </head> <body> <img src="welcome2.jpg" width="332" height="216" cellspacing="0" cellpadding="0" border="0" /> </body> </html> my content in the settings of the webviewer is: SuperContainer_noBorder ("http://www.LisaPrice.info/fahrtenbuch/images/" & Buggy Fahrtenbuch::fileversion & "/eingabelocked295.htm") And my function "SuperContainer_noBorder" is: "data:text/html,<html>¶ <head> <style> html, body { height: 100%; width: 100%; overflow:hidden; } body { margin : 0px 0px 0px 0px; border :0px; } table { border-collapse: collapse; width : 100%; height : 100%; overflow:hidden; } td {" & "text-align : left;" & "vertical-align : top;" & "font-family : "Arial"; font-size : 75%; font-smooth : always; } </style> </head> <body>¶ <table><tr><td>¶" & " <iframe src=" & link &" frameborder="0" width="100%" height="100%" frameborder='0' scrolling='no' marginheight='0' marginwidth='0'> <p>Your browser does not support iframes.</p> </iframe> " & "</td></tr></table>¶ </body>¶ </html>" I believe somwhere in the function, the wireframe is generated or not eliminated, but I canot find where. Can anybody help me please? On the attached file, the two images on the right are imported as jpg vie the first code in webviewer. Everything works fine, no frame . The left blue window, just blue is a jpg imported as html vie the other codes and steps. And the frame is clearly visible. Regards Lisa
webko Posted April 2, 2013 Posted April 2, 2013 Does this mean that all that html is used for the left hand image presentation? That would mean there are two <html> tags, which is invalid code. And some engines still want the border="0" tag to stop any borders showing...
Recommended Posts
This topic is 4520 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now