Solved

Help with this html code linking to one image

Posted on 2008-10-11
3
145 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
  • 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 500 total points
ID: 22696745
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
HTML and CSS for a complex page 20 58
convert publisher file to an outlook email template 8 35
Hyper V cluster 2 31
Show banners that are blocked by Ad Muncher 10 46
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

911 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now