Log in

View Full Version : Icicle Tile (Quick & basic tutorial)



nets
26-12-2005, 11:32 AM
Something for Christmas, well it's a bit late..
Ok some basic CSS to tile a background across the top of the page, its incredibly simple but effective:


<style>
body {
background-image: url(icicletile.gif);
background-repeat: repeat-x;
background-color: #8C9DAF;
}
</style>

Put this into the head of your document, it will tile the background "icicletile.gif" across the top of the page. It has also got a background colour, which will be placed on the rest of the page where there isn't a tile.

Once you've done that put a icicle tile into the same folder as the html file, I've quickly made one in photoshop (I'm sure anyone could improve on that, as my photoshop skills are "lacking").

Ok that took about 1 minute to write, I'm just going to upload an example.

Edit: http://joshh.co.uk/examples/icicle/

ozzie-ing
26-12-2005, 11:47 AM
nice although as you said its a tad late

Luckyrare
26-12-2005, 12:16 PM
Not bad, Its late but you can use it for other things in web design.

timROGERS
26-12-2005, 12:23 PM
You can do it with other images, for example rain ;D

sock
26-12-2005, 12:45 PM
You can do it with other images, for example rain ;D

Could but that would be only used by you :P Because as KT Tunstall says 'Under the Weather'

Want to hide these adverts? Register an account for free!