2 sets of css on the same page hyperlink

Hi all

Is it possible to get 2 sets of css for the same page hyperlink?

I have a dark area page that needs light of hyperlinks and vice versa: a light page area requiring dark links

Q: How can I configure css to have both on the same page?

He would just insert .light_area or .dark_area in front of your css (see below) links

{.light_area}

background-color: #FFF;

}

{.dark_area}

background-color: #000;

}

/ * Start light_area links * /.

.light_area a: link {}

text-decoration: none;

color: # 36;

}

.light_area a: visited {}

text-decoration: none;

color: # 36;

}

.light_area a: hover {}

text-decoration: underline;

color: # 36;

}

.light_area a: active {}

text-decoration: none;

color: # 36;

}

/ * end light_area links * /.

/ * Start dark_area links * /.

.dark_area a: link {}

text-decoration: none;

color: #CCC;

}

.dark_area a: visited {}

text-decoration: none;

color: #CCC;

}

.dark_area a: hover {}

text-decoration: underline;

color: #CCC;

}

.dark_area a: active {}

text-decoration: none;

color: #CCC;

}

/ * end dark_area links * /.

Tags: Dreamweaver

Similar Questions

  • How to set preferences so that open new tabs to the same page that activates when the command-T has been affected?

    By opening a new tab, the default tab opens to thumbnails based on recent history. The Safari, I want the new tab to open * to the same page, as was active when command-T was hit *. What are the specific actions, to set the default value (preference), new pages to open 'same page '? ('Same page' is check in Safari preferences box).

    Note, I've sailed available Support of Mozilla and using about: config have reset browser.newtab.url so that the new tab appears empty (stop followed recent history for this purpose).

    Note, most importantly, I found this article of Support Forum, which, although written challenge, gave me a temporary solution:

      * https://support.mozilla.org/en-US/questions/891635
    

    (The temporary solution for the Mac OS is to command-click the icon 'Reload current page' in the url/address box in the browser toolbar, which opens a new tab in the same window).

    However, I would like to define this as a preference permanent and would ask someone give me a solution. Cheers, teacher

    LeProf_7272 wrote:

    if I can possibly just create a new config line
    

    You can't, that's why I suggested the modules above. There is no option in the user interface or preferably hidden in Firefox that can duplicate a tab whenever you open a new tab browser.newtab.url can only be set to a fixed address, what address is to be opened in the current tab.

    Are the only two built-in methods to duplicate a tab:

    1. Hold down the Option key and drag the tab to a new position on the tab bar.
    2. Hold down the command key and click the reload of the address bar.

    You can make feature requests by filing development bug reports or by opening the Help menu by clicking on your comments.

  • How to set up the 'new window' tab to open the new window as the same page

    How to configure the tab 'new window' to open the new window on the same page?

    Clone of extension of the window - will also Clone a tab:

    http://www.Pikey.me.UK/Mozilla/?addon=CW

    Clones the current tab's address and history into a new window when the New Window command is used (and optionally into a new tab when the New Tab command is used).
    

    Compatible with Firefox 9.0. *

  • How to set point values when redirecting to the same page.

    I just create a button to redirect I want to redirect to the same page and place 2 elements on the page to the same value they had before the redirection.
    But I can not write:
    Place these items: P1_Permit_Number, P1_Fishing_Year
    With these values: & P1_Permit_Number, & P1_Fishing_Year.

    Because there are no values in session state, because a shipment has not been done.

    So, how can I do this?
    I know how to get the values stored in the elements, for example, $v ('P1_PERMIT_NUMBER')
    but where should I put this command? It is not allowed under the "with these values.
    And I don't really want to make a button "submit" and create a process that says:
    P1_PERMIT_NUMBER: = $v ('P1_PERMIT_NUMBER'), because that would complicate the page too - I already have other branches and the process on the pages which conditions have to be modified so that they do not work in this scenario.

    Thank you.

    Hello

    The syntax seems correct to me. Your summers of uppercase element names?

    Try:

    alert("Here");
    var permitNumber = document.getElementById('P1_Permit_Number').value;
    alert(permitNumber);
    var fishingYear = document.getElementById('P1_Fishing_Year').value;
    alert(fishingYear);
    var url = 'f?p=&APP_ID.:1:&APP_SESSION.:Vessel_Display:::P1_Permit_Number,P1_Fishing_Year:' + permitNumber + ',' + fishingYear;
    alert(url):
    window.location.href = url;
    

    All alerts MUST display expected values. Doesn't it?

    Andy

  • Different coloured links on the same page

    If I set up different coloured links on the same page, it does not work on firefox but on other browsers it is fine.
    Example: -.
    a.Yellow:Link {color: #FFFF00}

    Any suggestions?

    Thank you!

    Martin

    http://www.w3schools.com/CSS/css_pseudo_classes.asp

    You have it tired with the color?

  • 2 animations of edge in iframe on the same page?

    Hello

    I'm sure this question has been asked before, but the search of this forum and the web, I'm still not sure of the answer. Its day 2 now. . Laughing out loud

    I have the code to integrate the animations here. .

    1)

    < div class = "9promopanels" >

    < div class = "embed container-" >

    " < iframe src =" http://myURLhere.co.UK/WP-content/DynamicContent/promo%20box%202/9%20promo%20box.html "frameborder ="0"> < / iframe > "

    < / div >

    < / div >

    And the CSS (reagent):

    {.9promopanels}

    Width: 100%;

    margin: 0px auto;

    }

    {.embed-container

    height: auto;

    Width: 100%;

    padding-bottom: 100%;

    overflow: hidden;

    position: relative;

    }

    .embed-container iframe {}

    Width: 100%;

    height: 100%;

    position: absolute;

    top: 0;

    left: 0;

    }

    Then for the next I have again the same code, just different settings on the padding-bottom: 30% the height above the aspect ratio (as a percentage).

    Now and then. Here's the tricky part! I need to get the two animations to run on the same page for the main content, just a lower page. As it is now on the page, there is a conflict, but I'm not terrible at Js!

    I'm not a more clever there, but am ok then I'd appreciate a pretty simple explanation!

    Thanks for the help!

    Hi, helloworm-

    Here is a simple example of multi-composition I set up to show you how it's done.  I tried to remove everything except what you will need and added a few positioning CSS inline for the two div that I placed on the page.

    https://creative.Adobe.com/share/e601cde9-e8b7-4179-ad91-bf9361bcdf6a

    Hope that helps!

    -Elaine

  • IS THIS POSSIBLE AND IF YES COLOR 'HOW' TO HAVE DIFFERENT LINKS ON THE SAME PAGE?

    Hello

    IS THIS POSSIBLE AND IF YES COLOR 'HOW' TO HAVE DIFFERENT LINKS ON THE SAME PAGE?

    How to replace the color of Page link?

    See you soon,.

    Dreamer101.1

    Yes, it is possible, using CSS.

    Here's how. You already know that the link colors are set in the following css rules:

    • a: link
    • a: active
    • a: visited
    • a: hover

    All you have to do to have another set of links of different colors is to create another set of rules that set different colors and also have different names:

    • a.name1:link
    • a.name1: active
    • a.name1:visited
    • a.name1:hover

    Can link you these rules to the anchor as a class tag: something.

    You can have as many sets of rules to link given that the names you can think of.

    Happy linking!

  • 4.3 pages: how to print files of different text on the same page at the same time?

    This concerns 4.3 Pages, I prefer.

    I have written two different books, both with notes - one with a lot of notes.

    I would like to print them both, at the same time, on a single page legal-size, 8 x 14. I can get.

    I did this time in divvying up toward the top of the page itself and by running the paper into the printer twice - once for the top the half and, again, once for the lower half. It worked very well... but my printer is becoming tired! (former HP).

    Recently, I tried to print the most complex book on top, with all the heavy notes, in a 'box' above. I managed to get this set only to discover that you are unable to print notes in a text box! Curses.

    Unfortunately, through the raggedy of the time evolution, these books are more than a length. However, I know that I can squeeze and tweezers to them by giving them different sizes and depths of the page. Certainly, foreign and unknown.

    Why the question is: is it possible to print simultaneously two different files (texts not only) on the same sheet of paper? Each of these texts has notes.

    Hi aws.

    4.3 pages. It will work for you?

    A single page with two columns

    Insert a column break between the two versions. Notes appear on the same page.

    Kind regards

    Ian.

  • Branch to the same page with different session variables

    Hello guys,.

    Is there a way that allows to create a branch that redirect to the same page with a different set of values for session variables. Or is it an effective way to add the buttons after that moves through the consecutive records in the pre and oracle apex.

    hope someone can help me.

    Kind regards.

    -shashikahk-

    is there a way to add the following buttons and pre

    If you create a form using the wizard pages, Apex will automatically create these buttons in some cases (as in a master form / retail).

    Create a master page / detail demo so you can see how it works. Apex creates a pre-rendering process:

    Get the value of the primary key next or previous

    Some of the hidden objects, such as Pxx_ROWID_NEXT.

    And two buttons: GET_PREVIOUS_ROWID and GET_NEXT_ROWID

    (if you do not use rowid as the primary key, another name will be generated).

  • Images with text on the same page in epub seem to be changing color to the export profile

    I create a fixed provision epub heavy photo and I noticed that after exporting, pictures with text on the same page are exported with a totally different and much more saturated look to them.  As if they were exported under a different color profile.

    All pages that include no text but just includes a graphic/photo, the image appears normal in the preview.  I tried several things like manually set two different images to specific color profiles.  I changed the conversion to ensure that everything is export in jpg format.  Cannot quite understand how to solve this problem.

    Has anyone experience this problem?

    He solved.  The problem was caused by blocks of text that had their transparency set to 0%.  Removing those, the problem has been resolved.

  • How to do a partial update of a form and a report on the same page?

    Hi all

    Im trying to make a page where you have a report on the top, and when you click on the link instead go to the form page, the form on the page is on the bottom of the report. Let's say that im trying to send an id from the report to the item below so that I could go get the rest of the element. However when I pass, other elements would still refer to it as null.

    If I am not wrong it could be done with the quote, but I want it to be partial refresh...

    I tried the steps detailed here, but it didn't work when the lower part is an also a report:

    https://forums.Oracle.com/thread/2345863

    I also tried, but this actually submits a page...

    Base Oracle: Tutorial Apex - form & amp; Report shares the same page

    would it not possible to get a form and a report in a partial refresh page?

    Post edited by: T101_cyberdyne

    Hello

    Do you mean something like this:

    http://Apex.Oracle.com/pls/Apex/f?p=vincentdeelen:26:26

    If so, you must create a dynamic action with a javascript action to set the id of the report line in the form of code field and further action from pl/sql to retrieve the record based on the identification number. You can use this record to set the shape of other items in the field.

    For the example in the link above, the code is as follows.

    action of javascript:

    var empno = $(this.triggeringElement).find('td[headers="EMPNO"]').text)

    $s ('P26_EMPNO', empno)

    action of PL/SQL:

    declare

    cursor c_emp is

    Select * from EMP

    where empno =: p26_EMPNO;

    BEGIN

    for r_emp looping c_emp

    APEX_UTIL. SET_SESSION_STATE ('P26_ENAME', r_emp.ename);

    APEX_UTIL. SET_SESSION_STATE ('P26_JOB', r_emp.job);

    APEX_UTIL. SET_SESSION_STATE ('P26_MGR', r_emp.mgr);

    APEX_UTIL. SET_SESSION_STATE ('P26_HIREDATE', to_char (r_emp. HireDate, 'dd-mon-yyyy'));

    APEX_UTIL. SET_SESSION_STATE ('P26_SAL', r_emp. SAL);

    APEX_UTIL. SET_SESSION_STATE ('P26_COMM', r_emp.comm);

    APEX_UTIL. SET_SESSION_STATE ('P26_DEPTNO', r_emp. DEPTNO);

    APEX_UTIL. SET_SESSION_STATE ('P26_ORDNO', r_emp.ordno);

    end loop;

    END;

    Make sure you list the item id in the field "Page of Items to submit" and ALL your form elements in the field "Page of Items of return" as follows:

    http://www.vincentdeelen.com/images/OTN/plsql_action.PNG

    A screenshot of the configuration of dynamic action:

    http://www.vincentdeelen.com/images/OTN/dynamic_action.PNG

    Kind regards

    Vincent

  • auto collapse a mobile menu accordion when you click on links to anchors on the same page

    I'm building a mobile site, with the Accordion widget containing the a menu widget, pinned to the top (I added css custom to pin it on top).

    It's a single page site, so all the links are to anchors in the same page.

    How can I make the accordion close when you click on the links in the menu?

    You can try the suggestion mentioned here:

    http://StackOverflow.com/questions/21649839/make-accordion-close-on-second-click-jQuery

    http://StackOverflow.com/questions/9260068/collapse-jQuery-accordion-on-click

    Thank you

    Sanjit

  • How to make a form with report and a form of inclusion in the same page?

    Hey, guys:

    I was wondering if you could have any link or examples to show how to make a form with report and a form of inclusion in the same page, these two forms are related to the same table. Our customer wants that a user can add a new row to the table in a form and see all lines created by this user in a report, the report should provide link change as well. the problem is: whenever I inserted a new line or change a line or delete a line, and submitted and return to this page, all hidden elements lost their values, this report is empty, and some display only items also lost their values. Could someone give me any suggestions?

    Thank you very much!

    Sam

    So, the problem is essentially with page elements lose their session state values when re-loading of the page. How do you define values for the elements of the hidden page? You have default values defined for those? They are based on the database column? What is the "Source" parameter for these items on the page? It is set to "Always, replace any value in session state"? You have any process of 'Empty the Cache', which is reset these values to null element?

    What is your version of the Apex?

    I would recommend that you have installed for example in apex.oracle.com. This would help to better understand the issue.

    Published by: jaouad khalifi on 13 December 2012 22:11

  • Force summary Sub totals on the same page as the repeating group

    Hello people,
    I have a group of left report where I show Patients and visits they have taken for each Department.
    I then did a Sub Total of the number of visits, the Patient took. I want to assure you that the subtotal shows
    upward on the same page as the data in the repeating group. I tried to use an anchor, but the report doesn't.
    It gives an error: REP 1213 - reference field column to a frequency lower than his group when I have the extendable chassis anchor foot sub total
    and 1814 REP report cannot be formatted. Object "Horizontal" can never fit into 'M_1' when I try to anchor the opposite effect.

    My goal is to show totals of Sub (Total) on the same page as the Patient and do not go to the next page. I have attached the dotted line and Total (label and field) in one frame.

    Release of the report:
    Patient ID     Patient Name              Department              Visit
    ======================================================================
    1001           Mary Poppins              Department 001              3
                                             Department 002              4
                                             Department 003              1
                                             -----------------------------
                                             Total                       8
                                             -----------------------------
    
    1002           Peter Pan                 Department 001              2
                                             Department 002              1
                                             Department 003              2
                                             -----------------------------
                                             Total                       5
                                             -----------------------------
    Thanks in advance!

    Pls set the property (page protect the patient details and framework that contains two sub total) to yes.

  • Bind several web service data controls on the same page

    Hello
    JDev version: 11.1.1.6.0
    I using SOAP web services. I have the following usage:
    I have the data control for the web service, that records the values entered into the form. I created the entry form using the data control (DC1).
    There is an input field [T1], on the tab, I need to fill an another text field, for which the data is returned to an another web service (DC2) data control.
    For the same input text [T1] on the tab out, I need fill in the object list in the component selectonechoice, for which the data is returned to an another web service (DC3) data control.

    Is it possible to use bind several data controls on the same page to reach the use case?
    However, I want to avoid the use of managed bean. Is it possible to do this?

    Concerning
    Fabiola

    Hello

    I can make the case to use even without the use of the managed bean?

    Yes, although the managed bean solution seems reasonable to me.

    Difficulties are

    + 1) REQ1 and REQ2 are the parameters that is common to both 1 and 3 services. +

    Text fields that provide arguments to a method are related to an input variable (file PageDef has an iterator variable in the executable section). A variable can be referenced from method arguments

    + 2) REQ1 is the parameter that is common to both 2 and 3 services. +

    Identical to 1. Create a setting for service 2 and map variables in the arguments of the method of service 3

    + 3) Service3 needs all REQ1, REQ2, REQ3, and REQ4 parameters as parameters to save the data. +

    As said, fields can be referenced from variables, dependent, the linking of the attribute fields (as I guess it is a return value in the bound field)

    There are problems of links as the same setting is available between several departments.

    It's new to me

    Is it possible to solve these problems of binding addresses?

    Yes. Make sure however that WS DC iterators you see in PageDef have their property Refresh ifNeeded for the refreshment of the bound field work properly

    Frank

Maybe you are looking for