if you want red and bold "contact page" in this example:
.longlinelist a {
color:red;
font-weight:bold;
}
----- Original Message -----
From: <[email protected]>
To: "Tim Arnold" <[email protected]>
Cc: <[email protected]>
Sent: Monday, December 20, 2010 6:32 PM
Subject: Re: [css-d] How do I style links which are only a part of ul li?
I don't have code for this yet, this is what I tried:
css:
.longlinelist {
color: red;
font-weight: bold;
}
html:
<h1>Summary</h1>
<ul class="longlinelist">
<li>If you already know what you are looking for, go <a
ref="contact.html">Contact page</a></li>
</ul>
Font inside link still appears as default template formatting. Could be
my mistake somewhere, I'll validate it today, but maybe you can post a
common rules for making text within link appear styled differently from
default link styling.
--
Ellen
[1][email protected]
"Tim Arnold" wrote:
<[2][email protected]> wrote:
I'm customizing.. template ..trying to make fast navigation
.. like FAQ ..I would like to make only a few words from it as a link,
bold and red..
How could I achieve that?
--
Can you post a link to the code you are working with?
--
-----------------------------------------
[3][email protected]
References
1. mailto:[email protected]
2. mailto:[email protected]
3. mailto:[email protected]
--
http://www.fastmail.fm - The way an email service should be
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/