Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Markup (HTML, XHTML, XML) _ image flush and frames

Posted by: tamera Mar 4 2007, 12:01 PM

Hello,

I have a few questions about HTML elements…

How to I make an image flushed to the top left corner of a page, eliminating the border that seems to be inherit. I’ve tried various ways of doing this: placing the image as a background, but this won’t be useful to me because I need my image to become a hyperlink image. I’ve tried placing the image in a table, but the border still apears, even when I set the cellpadding and spacing to ‘0’. I’ve tried using div align attributes but the border still appears. So my question is, is there a way to eliminate this border? This is the page with the image: http://www.geocities.com/antonellc/frames/frame_2.html

I’m working on a web art piece, and the piece consists of using frames (though I know frames aren’t recommended, its important to my art work). Is there a way for this image to become the size of the page depending on how the frame will display it. That the image will size the way the frame page wants to display it? Does this make sense? This is my frame page I’m currently working on: http://www.geocities.com/antonellc/index.htm

Thank you in advanced,

Tamera

Posted by: Darin McGrew Mar 4 2007, 12:24 PM

Please see the FAQ entry http://www.htmlhelp.com/faq/html/effects.html#no-margins

Posted by: tamera Mar 4 2007, 12:39 PM

QUOTE(Darin McGrew @ Mar 4 2007, 12:24 PM) *

Please see the FAQ entry http://www.htmlhelp.com/faq/html/effects.html#no-margins


Thank you. And if that doesn't work, I tried it: http://www.geocities.com/antonellc/frames/frame_3.html , are there any other solutions?

Posted by: Darin McGrew Mar 4 2007, 12:46 PM

When I fixed http://www.htmlhelp.com/cgi-bin/validate.cgi?url=http%3A%2F%2Fwww.geocities.com%2Fantonellc%2Fframes%2Fframe_3.html&warnings=yes, then the margin went away.

Posted by: dsp Mar 4 2007, 01:14 PM

Can a background be made clickable using map co-ords?

Posted by: tamera Mar 4 2007, 01:17 PM

QUOTE(Darin McGrew @ Mar 4 2007, 12:46 PM) *

When I fixed http://www.htmlhelp.com/cgi-bin/validate.cgi?url=http%3A%2F%2Fwww.geocities.com%2Fantonellc%2Fframes%2Fframe_3.html&warnings=yes, then the margin went away.



Where are errors from Line 24 and on coming from? There not even in my coding ??

Posted by: pandy Mar 4 2007, 01:50 PM

It's the junk geocites add. You'll have to fight that as long as you stay on geo.

Posted by: tamera Mar 4 2007, 02:01 PM

QUOTE(pandy @ Mar 4 2007, 01:50 PM) *

It's the junk geocites add. You'll have to fight that as long as you stay on geo.



ok, so this means i can't remove the margins as long as i stay in geocities?

Posted by: pandy Mar 4 2007, 03:40 PM

No. You have your own errors too. happy.gif

HTML
<head>

<title>Untitled</title>

<style type="text/css">
<body marginheight="0" topmargin="0" marginwidth="0" leftmargin="0" style="margin:0;padding:0">
<!-- following code added by server. PLEASE REMOVE -->
<link href="http://us.geocities.com/js_source/div.css" rel="stylesheet" type="text/css"><script language="JavaScript" src="http://us.geocities.com/js_source/div03.js"></script>
<!-- preceding code added by server. PLEASE REMOVE -->
</style>

</head>

<body>


You have two BODY tags. The one with the zero margins you've put inside a style block. Browsers will never see it. Then geocities inject their ad code directly after the first body tag that is encountered, so that goes in the style block too. Just clean your part up. The geo code will still cause you problems, but not this specific one.

Posted by: Darin McGrew Mar 4 2007, 09:47 PM

QUOTE(dsp @ Mar 4 2007, 10:14 AM) *
Can a background be made clickable using map co-ords?
No. Only inline images can be used for image maps.

Posted by: Brian Chandler Mar 4 2007, 11:03 PM

QUOTE
I’m working on a web art piece, and the piece consists of using frames (though I know frames aren’t recommended, its important to my art work). Is there a way for this image to become the size of the page depending on how the frame will display it. That the image will size the way the frame page wants to display it? Does this make sense? This is my frame page I’m currently working on: http://www.geocities.com/antonellc/index.htm


I can't quite understand the question, but I don't see why you are using frames at all. It looks as though you have a grid of images, in which case it's much simpler just to use a table?

Part of your answer may be "No", though - if you mean "Can background images be resized?" They can't. If you explained exactly what your object is, it would be easier to help.

Incidentally, a proper web host costs around $5 a month. If you really want to do this stuff, and hope that people will bother to look at it, you need to get rid of this Geocities garbage.

Posted by: dsp Mar 5 2007, 04:14 PM

Brian have you ever considered doing councilling? You have such a way with people. :roll:

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)