vBulletin

Thank you for visiting. This is our website archive. Please visit our main website by clicking the banner above.
vBulletin FAQ is dedicated to helping the forum owner build, manage and profit from his vBulletin Forum
vBulletin Web Hosting - Free skins and styles for your vBulletin - Search Engine Optimization




Template issue - A header link should be simple right?

Big Dan
01-31-2007, 11:12 AM
I have this template on my forum that was released at vB.org, the way it was originally coded gives me a headache anytime I have to edit anything. All I'm trying to do is make my logo link to forum home. Normally it's easy, this is code with CSS some how.

Here is part of my header:

<!-- logo -->
<a name="top"></a>
<div class="bn_tbg"><div class="bn_tl"><div class="bn_tr"></div></div></div>
<div class="bn_mbg"><div class="bn_ml"><div class="bn_mr"></div></div></div>
<div class="bn_btbg"><div class="bn_btl"><div class="bn_btr">
<!-- nav buttons bar -->Here is the applicable part of the CSS:


}
.bn_tbg { background: url(styles/dj/header/banner_02.png) repeat-x top left; height:26px; }
.bn_tl { background: url(styles/dj/header/banner_01.png) no-repeat top left; height:26px; }
.bn_tr { background: url(styles/dj/header/banner_03.png) no-repeat top right; height:26px; }

.bn_mbg { background: url(styles/dj/header/banner_05.png) repeat-x top left; height:129px; }
.bn_ml { background: url(styles/dj/header/banner_04.png) no-repeat top left; height:129px; }
.bn_mr { background: url(styles/dj/header/banner_06.png) no-repeat top right; height:129px; }

.bn_btbg { background: url(styles/dj/header/banner_08.png) repeat-x top left; height:30px; }
.bn_btl { background: url(styles/dj/header/banner_07.png) no-repeat top left; height:30px; }.bn_ml is the actual logo image I want to link to forum home in the header template. How do make a link out of the CSS code in the header?

Thanks for any insight :)

-Danny

John
01-31-2007, 11:45 AM
Danny - you know, I am not sure you can create a link in CSS, only with a=href. I may very well be wrong, but I have never seen it done through simple CSS alone. CSS defines the style for links, not the link!

Peggy
01-31-2007, 12:02 PM
I've never done any links in CSS... didn't know you could, to be honest.

Big Dan
02-01-2007, 02:37 AM
Thank you both, I googled first and didn't find anything. I'm about due for my own custom template anyways. :) Just trying to patch this one up for the time being.


vBulletin

seo book

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum