Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
1 registered (packlite), 23 Guests and 17 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/05/06
Posts: 445
Top Posters (30 Days)
Ruben Rocha 103
Rick 81
Mark S 72
Thelockman 56
Gizmo 50
driv 35
ntdoc 30
Sirdude 30
packlite 24
AllenAyres 22
Latest Photos
bear test
Beach Barbie-Q
Sunset
Accept the challenge!
Trees
Topic Options
Rate This Topic
#165806 - 10/11/06 03:00 PM Special Link Properties
jgeoff Offline
Pooh-Bah

Registered: 08/08/06
Posts: 1901
Loc: NJ
I'm no CSS expert by any means, so could someone please tell me how I could ADD the "Special Link Properties" options to those properties that don't have them?

In particular, I want to add link options to Misc Properties > .small

Is this what the "Extra Properties" box is for?

Thanks!

JG

_________________________
GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Firefox 3.0, Google Chrome, & Safari 3.1 (XP and iPhone)

Top
#165808 - 10/11/06 03:07 PM Re: Special Link Properties [Re: jgeoff]
Zarzal Offline
old hand

Registered: 06/05/06
Posts: 1097
Loc: Berlin, Germany
yes. I use the extra properties to highlight the time on some places. Example:

Code:
.subjecttable .date {
color: #ffffff;
}
.subjecttable .time {
color: #ffffff;
font-weight: bold;
}

.tdheader .time {
color: #ffffff;
font-weight: bold;
}
.tdheader .date {
color: #ffffff;
}

.topictime .time {
color: #ff4500;
}
.posttime .time {
color: #ff4500;
}


This exaple may help you a little bit.
_________________________
my board: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen

Top
#165810 - 10/11/06 03:09 PM Re: Special Link Properties [Re: Zarzal]
jgeoff Offline
Pooh-Bah

Registered: 08/08/06
Posts: 1901
Loc: NJ
That helps a lot - thanks, Zarzal!
_________________________
GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Firefox 3.0, Google Chrome, & Safari 3.1 (XP and iPhone)

Top
#165814 - 10/11/06 03:33 PM Re: Special Link Properties [Re: jgeoff]
jgeoff Offline
Pooh-Bah

Registered: 08/08/06
Posts: 1901
Loc: NJ
Okay, well, it helped me to understand it better, but I still don't know the proper syntax to do this:

Code:
.topicsubject .small {
A:link {color: #222222; text-decoration: underline; }
A:visited {text-decoration: underline; color: #222222;}
A:active {text-decoration: underline; color: #222222;}
A:hover {text-decoration: underline; color: red;}
}


I know that's wrong, but can't think how to do it properly
_________________________
GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Firefox 3.0, Google Chrome, & Safari 3.1 (XP and iPhone)

Top
#165842 - 10/11/06 10:27 PM Re: Special Link Properties [Re: jgeoff]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12089
Loc: Portland, OR; USA
Jacked directly from the ubb stylesheet here:
body a:link {
color: #135060;
background: none;
}
body a:visited {
color: #135060;
background: none;
}
body a:active {
color: #135060;
background: none;
}
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#165879 - 10/12/06 09:55 AM Re: Special Link Properties [Re: Gizmo]
jgeoff Offline
Pooh-Bah

Registered: 08/08/06
Posts: 1901
Loc: NJ
Thanks, but is there a way to assign all 4 link types within the same function? Or can't that be done?
_________________________
GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Firefox 3.0, Google Chrome, & Safari 3.1 (XP and iPhone)

Top
#165943 - 10/12/06 04:34 PM Re: Special Link Properties [Re: jgeoff]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12089
Loc: Portland, OR; USA
You're trying to set a link for .topicsubject, just take what i threw above and replace "body" for ".topicsubject" and set your colors and throw it into the misc section of the css editor...
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#165951 - 10/12/06 05:34 PM Re: Special Link Properties [Re: Gizmo]
jgeoff Offline
Pooh-Bah

Registered: 08/08/06
Posts: 1901
Loc: NJ

I guess I should've just tried what you said the first time.

Thanks!! This is what I needed:

Code:
.small a:link {
color: #222222;
background: none;
}
.small a:visited {
color: #222222;
background: none;
}
.small a:active {
color: #ff0000;
background: none;
}
.small a:hover {
color: #ff0000;
background: none;
}
_________________________
GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Firefox 3.0, Google Chrome, & Safari 3.1 (XP and iPhone)

Top
#165959 - 10/12/06 06:13 PM Re: Special Link Properties [Re: jgeoff]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12089
Loc: Portland, OR; USA
hehe not a problem, was figureing you'd figure it out
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top


Shout Box

Today's Birthdays
GOTMYSELFA...., smilinjack
Recent Topics
New members don't get access and are not displayed in the config panel
by Yomar
Today at 03:32 AM
How to Change Link Color / Underline in styles?
by ECNet
Yesterday at 10:00 PM
Chaging the "max online" number and date
by wanted
Yesterday at 02:22 PM
7.4.1. In Threaded Mode - "Mark All Read" Doesn't Work
by packlite
Yesterday at 10:26 AM
Custom island with sql connection
by Robje01
Yesterday at 09:13 AM
Forum Stats
4296 Members
33 Forums
30687 Topics
156017 Posts

Max Online: 978 @ 06/24/07 08:19 PM