Jpeg Auto Width

I'm trying to add a color band across to top of my website, which was made in Photoshop as a .jpg, that I want to auto fit across the entire browser. The .jpeg file name is banner, therefore I am using this code:
User uploaded file
I am using MobileMe to host my site, but can't seem to get the image to load into iWeb. Is my code correct, and if so what folder should I place the image in so iWeb can access it?

17" Unibody, Mac OS X (10.6.3)

Posted on May 15, 2010 9:13 AM

Reply
2 replies

May 15, 2010 9:30 AM in response to rskern

To display code, put { code } (without spaces) before and after the code or use &lt; and &gt; instead of < and > . Then preview your message.

To display the image write the code correctly or use an exclamation mark ! before and after the URL of the image.

More formatting info here :

http://discussions.apple.com/help.jspa#format

Anyway, to accomplish what you want paste this code in the HTML Snippet :

<script language="JavaScript" type="text/javascript">
<!--
parent.document.body.style.backgroundImage='url(<a class="jive-link-external-small" href="http://url/to/your/image.png">http://url/to/your/image.png</a>)';
parent.document.body.style.backgroundRepeat='repeat-x';
// -->
</script>


See it here :

http://dl.dropbox.com/u/3563737/lycos/Fixed.html

You may have to learn HTML/CSS/JavaScript and how iWeb create its pages.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Jpeg Auto Width

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.