View Full Version : Stretching an image horizontally/width only and tiling another image below

Ryu Hitokiri
12-28-2007, 09:31 PM
Well here is my idea. I want to make a guide that's downloadable for using your Zune. Anyways, I know how insert images and everything and that's basically it. I want to do it like this. Stretch the Gradient image Horizontally only, under (Photoshop layer terms)/below that, I want the Tile image to be tiled, and above (photoshop layer terms) both of these images, I want the Tutorial image centered. Now how do I go about doing this?

Here are the 3 images I plan to be working with

Tutorial (http://img177.imageshack.us/img177/4921/tutorialto7.png)

Gradient (http://img441.imageshack.us/img441/746/gradientoi6.png)

Tile (http://img135.imageshack.us/img135/3316/tilema0.png)

12-28-2007, 09:49 PM
Hello Ryu Hitokiri,
No need for tile.png if it's just to be a solid color.
Try this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<meta name="" content="authored by http://nopeople.com/Design" />
<style type="text/css">
html, body {
background: #B4B4B4 url(http://img441.imageshack.us/img441/746/gradientoi6.png) repeat-x top;
* {
margin: 0;
padding: 0;
border: none;
#wrap {
height: 1200px;
background: url(http://img177.imageshack.us/img177/4921/tutorialto7.png) no-repeat center top;
<div id="wrap">
<!--end wrap--></div>

Ryu Hitokiri
12-28-2007, 11:49 PM
Thank you very much!!!

12-29-2007, 04:46 PM
Isn't that image slightly too large for a Zune's screen?