00:00
00:00
Newgrounds Background Image Theme

Da-Birb just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

Hey uhh a bit of a CSS help?

666 Views | 2 Replies
New Topic Respond to this Topic

Hey uhh a bit of a CSS help? 2012-04-22 08:32:52


I'd like to make a top image, a center image and a bottom image as backgrounds, just like how the newgrounds background is styled. The top image would be at the top of the page (no repeat) and the bottom image would neither but the center image would be between these two and repeat until you get to the top or bottom of the page. Does anyone know how to do that? Help would be appreciated.


fu

Response to Hey uhh a bit of a CSS help? 2012-04-22 18:19:22


<head>
<style type="text/css">
#top { height: 200px; background: url("1.gif") no-repeat; }
#middle { height: 1000px; background: url("2.gif") repeat; }
#bottom { height: 200px; background: url("3.gif") no-repeat; }
</style>
</head>

<body>
<div id="top"></div>
<div id="middle"></div>
<div id="bottom"></div>
</body>

??


BBS Signature

Response to Hey uhh a bit of a CSS help? 2012-04-24 16:25:50


I suggest you look at tutorials from either

thenewboston.com

OR
w3schools.com

both sites are great for learning basics of website dev.


BBS Signature