How Do You Add Multiple CSS Rules to Text?

Hi everyone, I have these css rules in my css styles window they are all assigned to some text in a cell on my page.
.Def14grey4 <body>
.def14grey4 a:link <a>
.def14grey4 a:visited <a>
.def14grey4 a:hover <a>
.def14grey4 a:active <a>
.def14grey4 a:focus <a>
How do you add (all of) these styles to the text in the first place, I know how to add the first one (.Def14grey4), you select the text in the cell and choose the rule from the drop-down menu in the css panel, but how do you add the other ones to some text as well, so that it can have the same link properties.
Basically I have some more text elsewhere on the page and want to assign these rules to that as well.
thanks Gareth

You would want to change your order as shown here -
.Def14grey4 <body>
.def14grey4 a:link <a>
.def14grey4 a:visited <a>
.def14grey4 a:hover, .def14grey4 a:focus <a>
.def14grey4 a:active <a>
That way, the hover and the focus states are equivalent.
How do you add (all of) these styles to the text in the first place, I know how to add the first one
You don't really.  The 4 bottom selectors say -
"find an element with a class of 'def14grey4', and style any link inside that element this way"
So, <span class="def14grey4"><a href="whatever.html">Whatever</a></span> would get the pseudo-class styles, as would any of the following -
<span class="def14grey4"><a href="whatever.html">Whatever</a></span>
<td class="def14grey4"><a href="whatever.html">Whatever</a></td>
<p class="def14grey4"><a href="whatever.html">Whatever</a></p>
<body class="def14grey4"><a href="whatever.html">Whatever</a></body>
<div class="def14grey4"><a href="whatever.html">Whatever</a></div>
<strong class="def14grey4"><a href="whatever.html">Whatever</a></strong>
and so on.  These examples assume that there isn't some other more specific rule that would apply to the same links.  You need to study up on the CSS cascade and specificity....

Similar Messages

  • How do you add multiple iTunes to Keynote

    How do you add multiple songs from the iTunes to your Keynote presentation?

    Jer&Renee,
    welcome to Apple Discussions.
    It depends where you want them in your presentation.
    Open the Media inspector and choose a playlist. In the list of entries, mark those you want to add to Keynote (use command-click to mark multiple titles not in one block).
    Then drag the marked titles either on a slide or on the small Audio field (looks like a frame) in Document inspector. When you then hover the cursor at the Audio "frame", you'll see the quick info "Multiple Files". You cannot change the order or remove one of the files, but only all of them.

  • How do you add multiple users to an itunes account

    how do you add multiple users to an itunes account

    First :
    Using an iPhone without a wireless service plan
    Then restore the iPod to factory settings/new iPod on the computer your kids will use:
    iTunes: Restoring iOS software
    If you are using the same computer
    How to use multiple iPods, iPads, or iPhones with one computer

  • How can I add multiple contacts to a text message on a droid bionic

    How can I add multiple contacts to a text message on a droid bionic?

    DH
    I was thinking that if he wanted to create multiple keyframes he might be creating a repeated effect rather than manipulating values that are shot specific - like creating an oscillation or some repeated step effect.  If he was creating keyframes specific to his content he'd probably not look for a way to do it "quickly" since each keyframe would require manipulation of specific values. 
    So my thought was to generate the series of keyframes on a dummy clip created for this specific purpose, copy the clip, paste attributes (maybe turn off "Scale Attribute Times") and add bunches of keyframes at once. 
    Still, you're right, it's tough to divine the intent of someone very new to FCP.  His question could be based on a misunderstanding about the use of keyframes.
    P

  • Developer: web inspector how do I add new css rules

    I have been using web inspector for quite some time. It was a regular part of my development workflow, however, I was surprised when the safari team totally re-vamped the tool in safari 6.
    You use to be able to click on the menu in the styling section of the tool bar and click "Add new rule". Now it appears you can no longer add css rules in this way. Which is a bummer because I used this feature all the time.
    You also, use to be able to double click for a new rule when in the actual stylesheet under the Resources tab. I can no longer do this either. For the life of me, I can't figure out why the safari team would get rid of these valuable options.
    Someone please help.
    These options must still exist, as they are invaluable when working with css in the browser. Does anyone know how to add a new style rule. I read the documentation and I don't see anything about removing this functionality.
    The only way I can find to add a new rule, is through the snippet bar, which is kind of a pain as you have to add the <style> tags every time you add a new rule.
    Also, I can't figure out how to view and elements pseudo classes (i.e. :hover , :checked, etc).
    I have to say, it is a little frustrating as I don't clearly see the benefits of their redesign and it just seems harder to use. It kind of feels like they reskinned and rearranged things just to make it look new and didn't really think through how developers use this tool.
    Does anyone else feel this way with the new safari?
    Maybe I will see the light after a couple of days. I hope so because I am partial to using safari.

    Build your FGLayout prototype page so it works well in all screen sizes (mobile first, then tablet, finally desktop).    To create your home page, SaveAs index.html.   Then SaveAs page2.html, replace content.  Repeat for other site pages.
    Nancy O.

  • How do you add multiple effects to the same clip

    How do you had multiple effects to the same clip. I have tried for hours
    I would like to add sepia and aged movie to the same clip. I heard it can be done, but have not figured out how to do it.
    anyone please.

    Normally you can apply only one video effect at a time. But for Sepia, black and white, and others that can be done through the video Adjustments tab, you are in luck.
    Aged Movie should already have a bit of a sepia tone.
    If you want more of a sepia tone or you want to fine tune the sepia effect you can do it with the Clip Inspector/Video Adjustments tab.
    Note: Thanks to Jeff Carlson of MacWorld for this tip.
    If you're looking for a washed-out sepia appearance, first open iMovie's preferences and turn on the Show Advanced Tools option, which adds more controls to the Video Adjustments HUD and other areas of the program. Select the clip you want to alter and press the V key. Set Saturation to 0 percent, and then drag the Red Gain slider to 143 percent, the Green Gain slider to 90 percent, and the Blue Gain slider to 53 percent (feel free to tweak these settings to customize the results). Click on Done when you're finished. Note that the clip thumbnail still appears in color, as the video was shot, but the preview reflects your changes.--JC
    If you need to apply the same settings to all clips, first select the clip you have adjusted. Then Edit/Copy. Then Edit/Select All. Then Edit/Paste Adjustments.

  • How do you add a new rule in inspect element?

    In inspect element how do I add a new rule? I come from Chrome and this is a necessity for me.

    I don't think that this is different in Firefox than in Google Chrome.
    In the right pane, select the Rules tab.
    Click the element {} line in "This element" (between the curly brackets) and type the property name.
    Type a colon to separate the name and the value.
    *https://developer.mozilla.org/Tools/Page_Inspector
    You can also open the Style editor and add extra rules or modify existing rules.
    *https://developer.mozilla.org/Tools/Style_Editor

  • How do you add multiple addresses from Mail to Address Book at once?

    So let's say I receive an email to myself and 50 other recipients and I want to add those other recipients to my address book. Do I seriously have to go through and select "Add to Address Book" on each of the fifty contacts?! Tried doing a shift click which will highlight all contacts, but then when you right-click to get the "add to address book option" it only displays one single contact at the top of the menu. I know there is a way to add select and add multiple contacts to address book at once because I figured out how to do it once a long time ago and I still have the 67 card group to prove it. I just can't remember how I did it!!! Didn't think it'd be such a hard feature to re-discover. Would love some help on this! Thanks.
    David

    there is no built-in way to do this. the only way i know is by using Mail Scripts
    http://homepage.mac.com/aamann/Mail_Scripts.html
    it has a script "Add addresses" that does just what you want.

  • How Do You Add Multiple Pieces of Art to Albums?

    I know that you can add multiple pieces of art to individual songs. However, when I click "Info" on an album (or when I select multiple songs), I can only add one piece of art. I want to add art from the front and back of a CD, but I do not want to have to do this by going song by song. Any ideas on how to do this quickly? Thanks.

    there is no built-in way to do this. the only way i know is by using Mail Scripts
    http://homepage.mac.com/aamann/Mail_Scripts.html
    it has a script "Add addresses" that does just what you want.

  • How do you add multiple links to a rollover image?

    Hi guys,
    I'm pretty much a novice when it come to DW, but i understand some things and can get by with a simple website(i only use design mode).
    Anyways, i understand how to use rollovers if its a basic image over image swap. My issue is, I have a link that says "T-shirts" and what i want is when you roll the mouse over that text, it swaps to another text -"1 or 2". Now on the "1 or 2" image, i want to have 2 seperate links on them.  I tried using hotspots but to no avail. Everytime, the "1 or2" text comes out as a single link. Is doing this possible? I'm using CS4 if that helps btw.
    Thanks!!

    I think you're trying to make something that is more complicated than it needs to be... First, as far as I know there is no easy way to accomplish what you're trying to do with a single image...
    The first option would be to split your initial image in half, and create a rollover effect on the left half on rollover with the specified link 1, and add a second rollover effect on the right side image so that it also changes. Do the same with the right half image - create the rollover effect along with the link for that image only, then add a rollover script that affects the left side image (I've attached a very basic sample to demonstrate in the zip folder - note that there are two rollover images - each with a separate web link, and each has a rollover effect that affects both buttons...)
    Second option is perhaps using a "Dropdown" menu that (on rollover) shows two more links... there are many ways this can be accomplished - the easiest (in my opinion) is by using the "spry menu bar". Once created, you can adjust the colors, fonts etc., and an image could be replaced on the initial link within the css... (my website is still under construction, but hopefully will show what I mean: http://www.jgigandet.com/) If you google "drop-down menu html, you'll find several other alternatives  to spry as well...
    Hope that helps...
    Jesse

  • How do you add multiple birthdays to one contact

    I keep searching but it seems all the tips are old form previous versions or I am missing something.  I am currently using Mac OS X 10.7.3
    I am trying to add multiple birthdays in my Address Book under one person, thier family members and I want it to sync with iCal.  I also did not see the Anniversary option in Address Book
    Please help,
    Thank you,

    This has two parts. The second one, having the extra dates sync with iCal/Calendar, I don't (yet) know how.
    The first one, though, isn't so hard. Go to Addressbook/Contacts preferences. Under templates, click on "Add field" and select "dates."
    Now you can customize the template to default with "Anniversary" or whatever other nametag you'd like to give the date field or fields.
    I'd really like to hear how, if it's at all possible, even, to have those sync in iCal/Calendar.

  • How do you create a css rule?

    How do you create a new CSS rule in Dreamweaver?
    I took the Dreamweaver class 3-4 years ago, and now have to design a website. I cannot figure out how to create a css rule. The instructions Adobe gives do not make sense. Under format>>CSS Styles, there is no "new" option like the instructions say there should be.
    I cannot figure out how to do it using the CSS properties pane either.
    Every method they give does not jive with the options in the program.
    I did create a style sheet for my site.

    Which version of the software are you using?
    The tutorials are version-centric now owing to the many "improvements" DW has seen to its interface in the past 12-24 months.  So if you're reading a tutorial for an earlier version than what you have, you'll be confused.  And vice versa if you use a modern tutorial with an older version.
    I prefer to work directly with the code.  It's infinitely faster than the cumbersome panels.  Also the code hinting features in DW are very helpful.
    Nancy O.

  • How do you add multiple cells to the LARGE function?

    I want to add several cells which are contained on different sheets and tables to the same LARGE function and select the first ranking cell value.
    How do I add these cells as a single argument for this function?

    "...and select the first ranking cell value."
    Hi eobet,
    If your actual goal is as stated, you could use MAX, which will accept a list, a range, or a list of ranges as arguments.
    LARGE accepts only a single argument to establish the set of values, plus a single argument to establish the rank of the desired value. That means you need to collect all of the vlues into a sngle contiguous group/range, then specify that range as the set. The avantage, ofcourse, is that with LARGE, you can specify that you want the 'third largest' value in the set.
    Here's an example.
    The data set is column B on tables Data 1 and Data 2.
    The set is collected into a single contiguous range on the table Aux (which may be hidden, or placed on a separate sheet).
    LARGE collects the nth value from the collected set in Aux, using this formula in the table Summary:
    A2, and filled down: =LARGE(Aux :: A:B,ROW()-1)
    MAX returns the largest value from the original data set on Data 1 and Data 2, using this formula on the table Summary-1:
    A2: =MAX(Data 1 :: B,Data 2 :: B)
    Regards,
    Barry

  • How do you add multiple facebook accounts to iPhoto

    I'm trying to add more then one account and I don't see how you can.

    Is this to iPhoto on your Mac?  If so maybe this topic will help :how do you sync more than one facebook account to iphoto?, how do you sync more than one facebook account to iphoto?
    OT

  • How do you add contacts to new web text service?

    This has been an obnoxious experience with Verizon's new text service from the web site to any device. I tried to get started doing exactly what they said to do.  I selected all my contacts that appeared in the list to add to the contacts in the web text contact list.  I immediately got a message saying I had too many contacts.  How much does it cost them for a few extra contacts when Verizon is already storing this information on their site from my iphone backup assistant.  Then I tried deleting contacts from the list in front of me.  The list did not work.  It was a dead list that could not be clicked on unless you selected all contacts at the top.  But that's exactly what Verizon didn't want.  I preferred to use this list to remove contacts because it included my notes about the contact that would help me to decide contacts I didn't need.  Then I tried choice two, a small window to the right of this that held all the contacts and I was able to click on those I could delete, even though this didn't include the contact info in the list form on the left.  I spent a great deal of time doing this because each time I clicked to remove a contact, the list of contacts started at the very beginning again.  I kept navigating each time I deleted a contact and finally after  very long time had finished.  I clicked to add the remaining contacts and received a big notice in my face that the session had timed out.  I was extremely angry that Verizon carelessly forced me into spending all that time because they are too cheap to store more than the mandatory number of contacts they decided you needed.  I got through the fury and started the wild goose chase of trying to contact Verizon.  All those links did was to take me to messages and articles, etc. that had nothing to do with the problem.  No matter how few or how many words I used to search, it still found nothing relevant.  I reluctantly tried to use live chat which said chat available now.  I clicked on chat and nit only directed me back to the same page where I could get no information at all.  This sees like a great scam to me.,  The greedy telephone company tries to sell themselves as offering a free new service!!  Then they make it impossible to set up the account no matter how hard I tried.  I spent at least 3 hours going around in circles, actually believing each new sign to contact Verizon which always led back to the same dead end.  How do you manage to get your contacts deleted to their arbitrary number within their very arbitrary time limit?  There is no good reason for either the number of contacts to be limited so greatly or for the time it takes to do this tedious manual deleting to be limited in such a manner.  Even if they are going to be nasty and limit the time you have to delete contacts, the least they could do is tell up front how long you have to make these cuts.  Or they could have, when nearing the limit of time, given me a 5 minute warning.  Not from Verizon.  They should not have forced me to delete contacts to begin with and secondly there should not be time limit on such a tedious job.  It really makes me hate a company that I already dislike.  They are so greedy that my land line ad cell cost me over $250 a month.  Any suggestions on how to complete this tedious task before the time is up would be greatly appreciated. Other companies allow their customers to easily send texts right from the website.  Why Verizon decided to provide an app which I don't need and which will prevent me from using the we texting service is something I don't understand.  I'd appreciate any suggestions.

    Oops, sorry. Since you posted the question on the iPhone support forum, I assumed you meant how to do it with the iPhone.
    Heysan and Jivetalk look a lot like the mobile versions of the major IM apps (like http://mm.yahoo.com). If accessing Yahoo, I need to create my buddies and groups in Yahoo using a full interface, and they show up on the mobile interface. The mobile interface doesn't allow me the same flexibility.

Maybe you are looking for