How to assign a class for different colored links

Hi. I'm new to CSS and HTML and Dreamweaver. I'm trying to
get links to be different colors within the same page. I have a
navbar with a CSS style that I've assigned colors to all my links
there. They work. But if I attempt to change the links in the main
content it screws up the navbar links.
So, now, I'm trying to assign the different colors to the
links in the main content. I have the link color down but I can't
seem to get the visited, hover, active to work.
So, I read somewhere you have to assign a class to be able to
have different colors for your links on the same page. There is a
class assigned to the links I want to change but it only assigns
the link color, not the visit,hover,active colors. I don't know
where I am supposed to put the code so that only the main content
links are changed. Here is what I came up with from reading and
studying. Can somebody tell me what's wrong with it and where I am
supposed to put what in each page? This is just a CSS style page I
made and I have no idea if I even did that right. Then, I can't
figure out how to tell each page to include it for that class only.
Thanks.
@charset "utf-8";
/* CSS Document */
<class="style49"
<style type="text/css">
a:link {color: #3333FF}
a:visited {color: #009900}
a:hover {color: #6600CC}
a:active {color: #FF0000}
</style> </class>

Pseudo-classes and container styles are what you need - here
are some
tutorials.
http://www.thepattysite.com/linkstyles1.cfm
http://www.projectseven.com/tutorials/pseudoclasses/index.htm
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Newbie744" <[email protected]> wrote in
message
news:fn3***$m6q$[email protected]..
> Hi. I'm new to CSS and HTML and Dreamweaver. I'm trying
to get links to
> be
> different colors within the same page. I have a navbar
with a CSS style
> that
> I've assigned colors to all my links there. They work.
But if I attempt
> to
> change the links in the main content it screws up the
navbar links.
>
> So, now, I'm trying to assign the different colors to
the links in the
> main
> content. I have the link color down but I can't seem to
get the visited,
> hover,
> active to work.
>
> So, I read somewhere you have to assign a class to be
able to have
> different
> colors for your links on the same page. There is a class
assigned to the
> links
> I want to change but it only assigns the link color, not
the
> visit,hover,active
> colors. I don't know where I am supposed to put the code
so that only
> the
> main content links are changed. Here is what I came up
with from reading
> and
> studying. Can somebody tell me what's wrong with it and
where I am
> supposed to
> put what in each page? This is just a CSS style page I
made and I have no
> idea
> if I even did that right. Then, I can't figure out how
to tell each page
> to
> include it for that class only.
>
> Thanks.
>
> @charset "utf-8";
> /* CSS Document */
> <class="style49"
> <style type="text/css">
> a:link {color: #3333FF}
> a:visited {color: #009900}
> a:hover {color: #6600CC}
> a:active {color: #FF0000}
> </style> </class>
>
>
>

Similar Messages

  • How to show alternate rows in different colors?

    How to show alternate rows in different colors?
    Thanks

    you should put these kind of stmt in the if condition for even row and odd row
    <xsl:attribute xdofo:ctx="block" name="background-color">yellow</xsl:attribute>
    this should help you
    Re: About highlight row
    http://blogs.oracle.com/xmlpublisher/2007/08/09
    http://garethroberts.blogspot.com/2007/09/bi-publisher-color-list-and-cell.html

  • How to assign a value for Unit of measure (like PC, KG...) in ABAP program?

    Hi,
        How to assign a value for Unit of measure (like PC, KG...) in ABAP program?
        I want to assign PC in a field to execute the program, like wa-ENTRY_UOM = 'pc'.
        But the system returen a message that "Unit of measure  is not convertible to stockkeeping unit PC"
        Could anyone tell me how to assign the value??
        Thanks!

    hi,
    first convert the quantity in the same unit  ( like in you case ST to PC )  by using FM :    MD_CONVERT_MATERIAL_UNIT
    CALL FUNCTION 'MD_CONVERT_MATERIAL_UNIT'
        EXPORTING
          i_matnr                    = matnr
          i_in_me                    = entry_uom
          i_out_me                   = out_uom
          i_menge                    = quantity
       IMPORTING
         E_MENGE                     = fp_l_v_quant
       EXCEPTIONS
         ERROR_IN_APPLICATION       = 1
         ERROR                      = 2
         OTHERS                     = 3.
      IF sy-subrc <> 0.
              give error message here
       ENDIF.
    bcoz in ur program somewhere the quantities etc are compared and there units may be different... so that is why it is showing such error.  so just convert convert the quantity in the same unit  .
    regards
    rahul
    Edited by: RAHUL SHARMA on Jun 17, 2009 9:31 AM

  • How to make the item in different color in a choice?

    if I have a choice and different items, how to make the item in different color?
    like:
    Choice ColorChooser = new Choice();
    ColorChooser.add("100");
    ColorChooser.add("200");
    ColorChooser.add("300");
    I want to show green, red and blue color for item 100, 200 and 300.
    I do not know how to do that, anyone can help?
    Thanks

    Please don't double (and now your up to triple) post. I realize that to you, your problem is the most important thing in the world and it would be nice if you could get several people working on it at the same time. However, the people answering your question do not get paid for it. They are doing it because they want to help someone. Posting several times only shows that you have no respect for them and are only concerned with your problem.

  • Making different signals for different color average of the pixcells

    Hello, everyone.
    I'll take image of paper money by webcam,
    and get the color average of the bills
    and fractionate the color average by wavelength range of each bills.
    and I want to making signal releasing time differently for different color average of the pixcells.(to fractionate the kind of bills)
    (I want different signal for different kind of bills) 
    my question is this:
    (1)How can I connect the webcam to the Labview?
    (2)How can I get the color average of paper money?
    (3)How can I make Labview program for releasing different signals which has different releasing time for each color average?

    Hi 박지성,
    you can use the IMAQ for USB Driver. See this link http://zone.ni.com/devzone/cda/epd/p/id/5030. You can also use the integrated windows dll to get your picture.
    Hope it helps.
    Mike

  • How to assign a class to the material through ABAP code

    Hi,
    I am working on a transaction in ABAP which takes material name, material description and a class from the user. Now, after this much input I create the material, its configuration profile through the ABAP code. For this I know I have to make relevant entries in tables MARA, MAKT, CUCO.. and also check for the existence of the class in the table KLAH.
    Now the point where I am stuck is that I am not able to get how to assign the class to the material through the code. I am able to get the internal class id from the table KLAH but I am not able to figure how the internal material number is being generated in the table INOB and i need this number as well as the internal class id number to insert a record in the table KSSK to show proper assignment.
    Can anyone please suggest me some solutions?
    Thanks....

    Hi,
    I tried using BAPI_OBJCL_CREATE. In order to understand it functioning better I created a material and class (of type 300) through transactions MM01 and cl01 respectively. Then i  created a report and called the FM BAPI_OBJCL_CREATE, gave the material name as the material above, table as MARA, class as the one i created above and class type 300. I even analysed the message of the table return (return-message) after executing the report. The messahe said assignment done. But when I checked mnaually in cl20n there was no assignment done to the required material. There was also no entry for the required material in the table INOB which I need.
    Can anyoene tell me that where am i going wrong? Please do help.

  • How to call hr_location_api.create_location for different address style with only those fields that belongs specific to  that address style.

    How to call hr_location_api.create_location for different address style with only those fields that belongs specific to  that address style. It should decide at run time means at run time it will come to know the type of address style and based on that only the fields which belong to address details mapped to calling hr_location_api.create_location.
    Thanks in advance.

    You can create a wrapper package on top of the API (hr_location_api.create_location)
    In the wrapper package you set all the values dynamically based on your requirements(say the style and add_line columns are populated on your conditions) and then you call the API.
    Does that not work ?

  • Sample CLASSES for different types of OIM components!!!

    Hi Experts
    Can any one provide me sample classes for different types of OIM components, adapters, scheduled tasks, etc. with your best practices for OIM java development and documentation? It would Help me lot.
    Please let us know Links/Documentations.
    Thanks
    \oim_user

    for schedulers
    1. Create a java class that extends the SchedulerBaseTask (see example below)
    2. Write your business logic
    3. Compile and jar
    4. Place the jar in the ScheduleTask directory in your OIM install
    5. Create a new scheduled task using the OIM developer console
    6. link in the new class into your new scheduled task.
    7. Done!
    Example code for a scheduled task:
    import com.thortech.xl.scheduler.tasks.SchedulerBaseTask;
    public class ScheduledtaskExample extends SchedulerBaseTask {
    public void init()
    //this method is run before execute by the scheduler
    public void execute() {
    //is executed by the scheduler
    runMyBusinessLogic();
    private void runMyBusinessLogic(){
    //place your business logic here
    }

  • How to assign the role for created user  thru dynpro App

    Hi All
    How to assign the role for currently created user from Webdynpro App.
    when i enter into the portal after creating the user
    i am getting the following messgae in the portal
    "No portal roles are assigned for this user.If this problem persists, contact your system administrator."
    how to assign the user defined role for the created user from dynpro App
    Regards
    Dhina  Kar J
    Edited by: Dhinakaran Jeyachandran on Feb 1, 2008 12:19 PM
    Edited by: Dhinakaran Jeyachandran on Feb 1, 2008 12:35 PM

    In the User Administration section of your portal find your newly created user and below select "Assigned Roles" tab then press <Modify> button and look through available roles on portal then just simply add and save. But if you want to do it programmatically see below:
    IUserAcountFactory userFactory = UMFactory.getUserAccountFactory();
    // IUser - read only but with IUserAccount is possible to set up user data
    IUserAccountSearchFilter userFilter = userFactory.getUserAccountSearchFilter();
    userFilter.setLogonUid("superuser", ISearchAttribute.LIKE_OPERATOR, false);
    ISearchResult sr = userFactory.search(userFilter);
    for (final Iterator i = new PrincipalIterator(sr); i.hasNext();) {
      IUserAccount user = (IUserAccount) i.next();
    Execute the same search for IRole (or IGroup if needed) get the unique id of them and use newRole(...) and addUserToRole(...) methods from IRoleFactory.
    Of course you don't need search for this principals if you know uniqueness of them. Use appropriate factories to get'em all by this unique id.
    All the features see in  [javadocs|http://help.sap.com/javadocs/NW04S/current/se/index.html]

  • How to assign the vendor for Pipeline material like Oil,power etc.

    Dear All,
    Can anybody tell me , how tp  assign the vendor for Pipeline material like Oil,power etc.

    Dear,
    Create source list ME01 maintain vendor here if vendors are multiple.
    Create Info record ME11for vendor and material combination
    Regards,
    R.Brahmankar

  • How to assign a button for attachment and send the data through browser ?

    Hi friends,
    How to convert to browser ?
    how to assign a button for attachment and send the data through browser ?
    Thanking you.
    Regards
    Subash.

    Refer to
    How to create a text box in ascreen painter?
    where another user (venkateshwar reddy) has asked a very similar question...
    Jonathan

  • [SCORE] How to give several notes a different color?

    Hello,
    Is it possible to give all notes with a certain pitch a different color in the score window? So let's say all the A# notes are red, and all the others remain black. How can I accomplish this?
    Thanks in advance.

    Hi
    Sure!
    Colours can be assigned in the Staff Style editor, or you can assign by pitch, velocity, voice assignment and the like.
    See
    Score Editor:View:Colours and Layout:Colours.
    For details see p995 and 1257 of the pdf manual.
    To get only 1 note a different colour, you could do it by velocity, or, if that's not helpful, changing the default Pitch Colours.
    HTH
    CCT

  • Valuation class for different services

    Hello Experts,
    In one of the business requirements, they have around 40-50 different services and each service has to be accounted under different GL codes.
    In such cases, when we create service masters, can we have the standard val class 3200 (For services) or do we need to create multiple val. classes. If yes, how many needs to be created for those 40-50 different services .
    Regards
    Mahesh

    Hi,
    Just keep  one val class 3200 (For services) & create different material groups(40-50)in OMSF t.code  to cater  your different services(40-50 )  & assign G/Lu2019  with respective material group in t.code  OMQW
    For more check the links:
    Re: material group with vluation class
    Re: Material group link with GL account
    Regards,
    Biju K

  • Different Class for Different Release Group

    Dear All,
    I want to use different release class for a new group i am creating for Purchase Order Release.
    But it is not allowing me to save the same as the explanation given the overall release should not be there in one of the group created, but i am not able to find the overall release column while creating new release group.
    please help
    regards,
    Darshan

    Hi Darshan
    Can you please guide me ..
    I am facing the same problem assigning new class to new PO rel. Grp. and does not let me save...
    wht must have gone wrong...
    FYI: I am using sharing the charatersitics in both classes.
    Thanks
    Hiren

  • JNDI returns a different class for different applications

    Hello,
    I have a WebSphere server that runs a JNDI service, in which I defined an entry for a ConnectionFactory declared on a remote server. On the server I run an EJB application which connects the JNDI and gets the ConnectionFactory. I also have a stand-alone Java application which gets the ConnectionFactory from the JNDI on the server.
    The problem is that the implementation class for the ConnectionFactory I get is different between the EJB and the stand-alone applications. The stand-alone application recieves a MQXAQueueConnectionFactory, which is just fine because I want to use XA transactions, but the EJB application receives a JMSQueueConnectionFactoryHandle!
    What can be the reason for that? How does the JNDI service determine which implementation class to return?
    (I suppose that is a specific behavior for Websphere...) How can I control that, if at all?
    Thanks!

    I have a similar situation occurring. Was therre any resolution found?

Maybe you are looking for

  • SAP R/3 ERP 6.0, BI and BO on Sigle Sign On

    Hi Experts, We have implemented SAP R/3 ERP 6.0, BI and BO with Crystal Reports. Is it possiable configure Single Sign On for the above servers with sigle point of login. Using NWBC we can connect single inteerface but is it possiable with SSO. Our S

  • Smart quotes won't work

    Hello there dear community, for some reason, Pages will not put quotation marks as I want them to be. As I am from Germany and therefore gernerally write in German, quotation marks are not " " but „ " . I have not figured out how to get Pages to do t

  • Oracle 8.1.7 on Solaris 8

    hi everyone, I am totally new to Oracle ... just finished installation of Oracle 8.1.7 on Solaris 8 .. the automatic database creation step failed for some reason. Now when I try to use dbassist to create a new database, I get an ORA 03114 error "not

  • Printing Barcode using DI API

    Hello Gurus, I want to create an Addon which can print a barcode using UI and DI API.  Can this be possible?  I will not use the Print Layout design.  Please help..

  • No value found for text variable ZTFYEAR

    Hi, I have used Text variable ZTFYEAR with replacement path on fiscal year 0FISCYEAR. I have three columns in my report for value for current fiscal year, fiscal year-2, fiscal year-1.When I use the text variable with replacement path , it shows in t