Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Dec 2007
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Stretching an image horizontally/width only and tiling another image below

    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

    Gradient

    Tile
    Last edited by Ryu Hitokiri; 12-28-2007 at 08:42 PM.

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Hello Ryu Hitokiri,
    No need for tile.png if it's just to be a solid color.
    Try this:
    Code:
    <!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">
    <head>
    <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;
    }
    #container
    </style>
    </head>
    <body>
        <div id="wrap">    
        <!--end wrap--></div>
    </body>
    </html>
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • Users who have thanked Excavator for this post:

    Ryu Hitokiri (12-28-2007)

  • #3
    New to the CF scene
    Join Date
    Dec 2007
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Thank you very much!!!

  • #4
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    Isn't that image slightly too large for a Zune's screen?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •