?
Solved

Help with this html code linking to one image

Posted on 2008-10-11
3
Medium Priority
?
154 Views
Last Modified: 2012-05-05
I am building an application in multimedia builder that has browser objects, so i can load a html page inside
this browser object.

The pages i want to load into these objects is very simple, its just one image. But I am having problems with it. I through of using MHTML but decided for reasons not important, that this was not the way.

I wonder if you can embed an image into a html page ! that would solve my problem - anyhoo, here is the
code
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
 
 
 
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	overflow-x: hidden;
	overflow-y: scroll;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	scrollbar-face-color:#8080FF;
	scrollbar-arrow-color:#FFFFFF;
	scrollbar-track-color:#DDDDFF;
	scrollbar-shadow-color:'';
	scrollbar-highlight-color:'';
	scrollbar-3dlight-color:'';
	scrollbar-darkshadow-Color:'';
	background-color: #000000;	
}
.style1 {color: #EBE9ED}
-->
</style></head>
 
<body>
<img src="page1.png" width="640" height="1546">
</body>
 
 
</html>

Open in new window

0
Comment
Question by:nathan1038
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

by:nathan1038
ID: 22694930
Just to tell you how it works -

So the browser object has the following code :

Browser("Browser101","<SrcDir>\folder1\page1.htm")

So the browser object is called browser101 and the htm page, page1.htm and the image (page1.png)
are both (separatly) in folder - folder 1 -

Maybe its the way i am linking to it

I dont know why this doesnt work for me
0
 

Author Comment

by:nathan1038
ID: 22694988
Could it be - I just wonder -

Because I am using PNG images - and not jpg's
0
 
LVL 31

Accepted Solution

by:
James Murrell earned 2000 total points
ID: 22696745
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question