Results 1 to 10 of 10
-
2nd Jul 2010, 01:40 PM #1OPლ(ಠ益ಠლ)Website's:
extremecoderz.com[html/css] Advert banner like KWWH
Ok.
So the advert banner on KWWH is pretty sexy. Nice rounded corners, pretty cool. Here's my interpretation of how i would go about coding it from scratch.
Credits to the original creator - its a re-write, not a rip
Im not sure how the original was written, but this version allows any width of advert, so you can span it however wide you like and it will retain its look.
Images: http://hotfile.com/dl/52067516/a3d1da3/images.rar.html
CSS:
PHP Code:#mainHoriz {background: #ddd; height: 60px;}
.leftBox { float: left; background: url(images/leftBox.png) no-repeat; height: 60px; width: 7px; position: relative; z-index: 5;}
.midBox { float: left; background: url(images/midBox.png) repeat-x; height: 60px; margin-left: -4px;}
.rightBox { float: left; background: url(images/rightBox.png) no-repeat; height: 60px; width: 7px; margin-left: -5px; position: relative; z-index: 5;}
.adImg { position: relative; z-index: 4; margin-top: 3px;}
PHP Code:<div id="mainHoriz">
<div class="leftBox"></div>
<div class="midBox">
<img class="adImg" src="http://www.besthostingforums.com/images/ads/advert2.gif" />
</div>
<div class="rightBox"></div>
<div class="leftBox"></div>
<div class="midBox">
<img class="adImg" src="http://www.besthostingforums.com/images/ads/advert2.gif" />
</div>
<div class="rightBox"></div>
<div class="leftBox"></div>
<div class="midBox">
<img class="adImg" src="http://www.besthostingforums.com/images/ads/advert2.gif" />
</div>
<div class="rightBox"></div>
<div class="leftBox"></div>
<div class="midBox">
<img class="adImg" src="http://www.besthostingforums.com/images/ads/advert2.gif" />
</div>
<div class="rightBox"></div>
</div>
Ok.
The background is grey so you can see how this is constructed. You can easily repeat-x a pretty little bar. The left, mid and right of the "transparent" rounded box is also easily modified.
Have funjayfella Reviewed by jayfella on . [html/css] Advert banner like KWWH Ok. So the advert banner on KWWH is pretty sexy. Nice rounded corners, pretty cool. Here's my interpretation of how i would go about coding it from scratch. Credits to the original creator - its a re-write, not a rip :) Im not sure how the original was written, but this version allows any width of advert, so you can span it however wide you like and it will retain its look. Images: http://hotfile.com/dl/52067516/a3d1da3/images.rar.html Rating: 5
-
2nd Jul 2010, 01:43 PM #2Member
awesome tut jay
thanks
-
2nd Jul 2010, 01:43 PM #3MemberWebsite's:
freedom2blog.com wrz4all.comthnx jayfella
el_jentel1 <3 | WGTools.Com | dedicated fan of jayfella
-
2nd Jul 2010, 01:49 PM #4MemberWebsite's:
csoffensive.comThanks
Nice tut
-
2nd Jul 2010, 01:55 PM #5MemberWebsite's:
Doxsters.netnot bad but you may wanna add classes for the width, eg class="1" would give you one ad space, class="2" would give you two it be fairly simple i think
Need a Designer/Web Developer? Click Me
MSN: PM me for it.
Email(Preferred):timtamboy63@gmail.com
"Power Corrupts. Absolute Power Corrupts Absolutely"
-
2nd Jul 2010, 01:59 PM #6OPლ(ಠ益ಠლ)Website's:
extremecoderz.comthey are automatically sized. Like i said. it allows any sized width of advert, so there is no need to declare any widths.
-
2nd Jul 2010, 02:16 PM #7Banned
Thanks Jayfella
-
2nd Jul 2010, 05:10 PM #8MemberWebsite's:
eih.bz pornDDL.me sexytattoochicks.tumblr.com
-
2nd Jul 2010, 05:14 PM #9Retired NinJaWebsite's:
loledhard.comYou truely an All Rounder
You don't hate Justin bieber.You hate the fact you ain't Justin Bieber!
-
3rd Jul 2010, 05:51 AM #10MemberWebsite's:
Elite.SO Defendos.com Motionite.comThanks jay, what about that highlight? or is that just a darker AD image?
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Hosting in exchange for banner advert.
By S?nic in forum Hosting DiscussionReplies: 3Last Post: 9th Apr 2012, 06:55 AM -
Funny advert!
By cvrle77 in forum General DiscussionReplies: 6Last Post: 2nd Oct 2011, 01:52 AM -
Full size web advert (iframe) --> banner exchange
By roadrunner in forum Traffic Market (Buy, Sell and Trade)Replies: 0Last Post: 6th Sep 2011, 08:43 AM -
(PAID) Looking for a Advert Banner - Various sizes
By Ashleyuk1984 in forum Graphics AreaReplies: 18Last Post: 25th Mar 2011, 08:44 AM -
(X)HTML, CSS slicing (6 years experience) | PSD to (X)HTML and CSS | Professional job
By Wamer in forum Completed TransactionsReplies: 8Last Post: 21st Jul 2010, 06:13 PM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...