A.pn-center:link {
color: #FFFFFF;
font-size: 11px;
text-decoration: none;
font-family: tahoma,arial, helvetica, geneva;
how can i make a set links use that ?
like i want one area specific to use that
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 07:01 AM
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 06:41 AM
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 06:27 AM
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 01:29 AM
- mdee created topic »How to implement returnpage ?« 01:00 AM
- nestormateo responded to »Fillters in Clip« 24. May
- damon responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Css Help
-
**unknown user**
- Rank: Senior
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 2330
Code
<a class="pn-center" href="page.php">Text</a>
...and you can control the links even further by adding the following (eg) to your style sheet:
Code
a.pn-center:link
{
font-size: 11px;
font-weight: normal;
font-family: verdana, helvetica, arial;
text-decoration: none;
color: #0000FF;
}
a.pn-center:visited
{
font-size: 11px;
font-weight: normal;
font-family: verdana, helvetica, arial;
text-decoration: none;
color: #800080;
}
a.pn-center:hover
{
font-size: 11px;
font-weight: normal;
font-family: verdana, helvetica, arial;
text-decoration: none;
color: #FF0000;
}
a.pn-center:visited:hover
{
font-size: 11px;
font-weight: normal;
font-family: verdana, helvetica, arial;
text-decoration: none;
color: #FF0000;
} -
**unknown user**
- Rank: Senior
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 2204
..or slim it down a bit:
Code
a.pn-center
{
font: normal 11px arial, verdana, helvetica;
color: #0000FF;
text-decoration: none;
}
a.pn-center:link { }
a.pn-center:visited
{
color: #800080;
}
a.pn-center:hover { }
or
Code
a.pn-center, a.pn-center:link, a.pn-center:hover
{
font: normal 11px arial, verdana, helvetica;
color: #0000FF;
text-decoration: none;
}
a.pn-center:visited
{
color: #800080;
}
..should work.. it'll inherit the attributes of a.pn-center.. and instead of repeating them, they can be consolidated. you can change colors, fonts, weight and what-not in the empty captions if you'd like.. otherwise, they can probably be removed..
- Moderated by:
- Support
Users on-line
- 0 users
This list is based on users active over the last 60 minutes.
