Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Image resize problem

Status
Not open for further replies.

Chance1234

IS-IT--Management
Jul 25, 2001
7,871
US
This is used internally but i have a web page which opens up gifs via the following

Code:
<li><a href="./Slide1.GIF"width="870" height="1110"><font color="#3399CC"><strong><font face="Arial, Helvetica, sans-serif">Covering Letter</li></font></strong></font></a>

The only problem is , is the image resizes. Due to the restrictions at my clients place, the box under advanced internet options and Enable automatic image resize is on ,but the options to change it are greyed out.

is there anyway to get around this ?

Chance,

Filmmaker, taken gentleman and He tan e epi tas
 
Height and width attributes aren't going to have any effect on an <a> element. It'll just link to the image file, which will be displayed according to the browser's settings.

If you want to control these things, make a little html page to display the gif and link to that instead.

-- Chris Hunt
Webmaster & Tragedian
Extra Connections Ltd
 
You HTML tags are out of order, too. The first tag should match the last, the second tag the second to last, etc.

The sequence should be something like <1><2><3><4><5> </5></4></3></2></1>

where you have <1><2><3><4><5> </1></5></4</3></2>

Lee
 
To make things a little simpler for you, here you go:
Cut & paste this:
Code:
[tt]<li><a href="Slide1.HTML"><font color="#3399CC" face="Arial, Helvetica, sans-serif"><strong>Covering Letter</font></strong></a></li>
[/tt]
in place of the original code you posted, then save this:
Code:
[tt]<html>
<head><title>Slide 1</title></head>
<body><img src="./Slide1.GIF" width="870" height="1110"></img></body>
</html>[/tt]
as [tt]Slide1.HTML[/tt] in the same directory as your current page.


I hope this helps;
Rob Hercules
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top