View Single Post
Old 04-18-2008, 08:50 AM  
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,372
how to do a random header with css

I use this for one of my sites, Thought I would share

css

#header {
height:140px;
background: #fff url('images/header.php') no-repeat;
padding:0 0 0 0px;
text-align: center;
}

html

<div id="header">
</div>

php code (rename to header.php)

http://alistapart.com/d/randomizer/rotate.txt

enjoy

__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote