Can I define 2 Distinct Style for A link tag?

I created a template for my main menu and other universal contents.  the items on my main menu are all matched with specific colors that I chose,  (let's say red when normal and purple when hover)
now, a page I inherit from the template, let's say B, has some links as well... and they should not inherit the link style defined in my templated.  (for example, they should be blue and white when hover)
is there any ways for me to do that?  right now, if i changed the link color for B, it.. well... does nothing
(should the law of greater specificity allow the definition in children to override the parent?)
so, how do i get the effect i want?  (red menu, blue other links)

These may help:
http://www.thepattysite.com/linkstyles1.cfm
http://www.projectseven.com/tutorials/pseudoclasses/index.htm

Similar Messages

  • How to define the style for JTextArea using synth style xml file.

    Hi all,
    How can we align the text inside the JTextArea using synth style xml file.
    We defined a style for the TextArea. But the text is displayed immediately after the border. So we want to provide some space between the border and the text.We specified the insets as given below. But it is not reflecting during runtime.
    <insets top="3" left="3" bottom="3" right="3"/>
    Please help me if any one knows

    Hi Anju,
    This may help you.
    http://www.xenta.nl/blog/2009/10/28/oracle-soa-suite-11g-setting-and-getting-preferences/
    Preferrence Variable can be updated either thorugh EM console or ConfigPlan
    Regards,
    Richa

  • Where can i define a rule for copying ATP results to purchasing?

    Hello Gurus,
    Where can i define a rule for copying ATP results to purchasing? i read from http://help.sap.com/saphelp_erp2005/helpdata/en/43/543835bc0f357ee10000000a11466f/content.htm that we can define this rule.
    Thanks

    Hello,
    i defined that part before, what i would like to define is below:
    Thanks
    &#9679;     Rule for availability check
    Define a rule for copying ATP results to purchasing.
    This rule controls how the system behaves in material shortage situations, and how the delivery proposal (confirmation proposal) is displayed.
    <b>You can control the following factors in Customizing:</b>
    &#9675;     Display of results
    You define how the system copies results of the availability check to the stock transfer document. In other words, you define how the delivery proposal is displayed in the delivery schedule line view.
    You can choose between the following rules:
    &#9632;      One-time delivery (rescheduling: delivery proposal) – <blank>
    This setting corresponds to the system behavior up to and including SAP ERP Central Component, Release 5.0.
    &#9632;      One-time delivery – A
    &#9632;      Complete delivery – B
    &#9632;      Delivery proposal – C
    &#9632;      Selection window for material shortage (batch: one-time delivery) – D
    &#9632;      Selection window for material shortage (batch: delivery proposal) – E
    &#9632;      Selection window for material shortage (batch: complete delivery) – U

  • Where can I change the style for a subtab?

    Where can I change the style for a subtab? I can�t find the Style Element Property for this. I only want to change the text size (the automatic size is too large form my page)... can someone help me???????.. thanks

    Hi there
    Well, this is a yes and no answer.
    Yes, you could change an icon, But no, RoboHelp won't make it easy. What you will end up doing is massaging the JavaScript code for the WebHelp output. This particular change isn't really for the faint of heart. Oh, and you would likely have to change it each time you generate your WebHelp output.
    I would encourage you (and others) to consider submitting a Wish Form to ask Adobe to put this on their radar for a future version.
    http://www.adobe.com/go/wish
    Cheers... Rick

  • How do I  create more than one CSS style for text links?

    Hello,
    Just like the title says, I need help with creating more than one CSS text link style in Dreamweaver CS4. For instance, I want the navigation on the website I'm building to have a different text link style than a link in some part of the body copy. I've been playing with Dreamweaver for a while and can't find any way to do this. If it's even possible to do this, I would really appreciate any help.

    Yes it is possible but as you have failed to provide a valid link to your site, I will tell you in general Terms:
    1) First create a class or an ID to to your Nav bar;
    2) Now style your navbar in such a way that these styles will only apply to your nav bar.  To do this, you start your style by doing something like this:
    ul#vavigation {.........}
    ul#navigation a {.........}
    ul#navigation a:hover {.........}
    ul#navigation li {.........}
    your html code might look like this:
    <ul id="navigation">
         <li><a href="#">Home</a></li>
         etc etc .........................
    </ul>
    hth

  • Can we define search paths for an SQR ( just like -i for SQC )

    Is it possible to define search paths for an SQR ?
    Ie at run time, we would like the system to look for the SQR in c:\sqr1\ if not found then look in c:\sqr2\ and so on .. until c:\sqr4\
    Right now this feature exists ONLY for the SQC via the -i flag
    ( ex: c:\ps_home\bin\sqr\ora\BINW\sqrw.exe c:\xrfwin.sqr -ic:\sqr1\;c:\sqr2;c:\sqr3;c:\sqr4\ )
    We would like to be able to do it VIA:
    1) The process Scheduler. ( Where do we set it up ? in PSPRCS.CFG ? Not sure how )
    2) Command line. ( We can't find any flag that could satisfy this need )
    Note: We heard about a few hints ( SQRPATH, psprcs file, @FILE flag, PSSQR ) but not able get any of them cleared out.
    This is delaying our development and it's quite crucial for us.
    Any thoughts or hints would be VERY APPRECIATED !!
    Thanks

    Kelvin wrote:
    1) The process Scheduler. ( Where do we set it up ? in PSPRCS.CFG ? Not sure how )From the link below, do a search for "SQR Section" and you'll find PSSQR1, PSSQR2, PSSQR3 and PSSQR4 for sqr search paths
    http://docs.oracle.com/cd/E28394_01/pt852pbh1/eng/psbooks/tprs/book.htm?File=tprs/htm/tprs16.htm#H3002
    2) Command line. ( We can't find any flag that could satisfy this need )I'm not aware of any equivalent for cmd line, but most of the time you know where it has been stored when running it manually. You could get more in the Peoplebooks :
    http://docs.oracle.com/cd/E28394_01/pt852pbh1/eng/psbooks/tsql/book.htm?File=tsql/htm/tsql08.htm#H3019
    If you don't find anything and the cmd line is really needed, you could probably write your own script (ie .bat or .cmd) looking for the sqr which you could give as a parameter.
    Nicolas.
    Edited by: N Gasparotto on May 24, 2012 10:10 PM

  • Acrobat X, where can we set the defualt for Open, Link?

    Step 4, Open File, New Window or Within....  We would like to set NEW WINDOW as default.  (Please see screen shot also)
    Create a link using the Link tool
    Choose Tools > Content > Link. The pointer becomes a cross hair, and any existing links in the document, including invisible links, are temporarily visible.
    Drag a rectangle where you want to create a link. This is the area in which the link is active.
    In the Create Link dialog box, choose the options you want for the link appearance.
    Select one of the following link actions: 
    Go To A Page View
    Click Next to set the page number and view magnification you want in the current document or in another document (such as a file attachment), and then click Set Link.
    Open A File
    Select the destination file and click Select. If the file is a PDF, specify how the document should open (for example in a NEW WINDOW or within an existing window), and then click OK. 
    Note: If the filename is too long to fit in the text box, the middle of the name is truncated.
    Open A Web Page
    Provide the URL of the destination web page.
    Custom Link
    Click Next to open the Link Properties dialog box. In this dialog box, you can set any action, such as reading an article, or executing a menu command, to be associated with the link.
    Screen shots.......

    Thanks for your reply.  We are using Acrobat Pro 10.1.3 on Windows 7 64 bit workstation. 
    We see this when adding a link in a PDF.
    Go to Tools, Content, Link.  Highlight something, Creat Link, click Next.  Pick somthing to Link too.  Like another PDF and the Window in the first screen shot comes up.
    I ran a Regshot and here are the results.  Looks like all user keys which would be normal but there must be a way to set the default in the Preferences?  This does not seem to be a setting that stays if you will so there must be something over-riding it.

  • KM Search: How can I define a query for the user who currently logged on?

    Hello,
    I want to use the KM Search iView to display all documents from the currently logged on user in a certain sort order. The result should be some kind of report for the user...
    In the search option I can define a default sort order. And I can also define it for a special user with cm_modifiedby(value=username)
    But how can I define the predefined property value generically for the current user?
    I tried to insert following values in the parameter Predefined Properties of the search option:
    Predefined Properties (csv): cm_modifiedby(value=<user.id>)
    Predefined Properties (csv): cm_modifiedby(value=%user.id%) -> like in the predefined properties
    Predefined Properties (csv): cm_modifiedby(value=$sap_user) -> like in the xml forms builder
    But non of these 3 parameters worked. Has anybody an idea what the right variable is?
    Thanks a lot.
    Best regards
    Nicole

    Hi Nicole,
    1. First of all you need to use "<User.UserID>" to get the currently logged on user.
    2. You need to create an AppIntegrator iView (so based on com.sap.portal.appintegrator.sap.Generic) in order to be able to use this dynamical parameter. The parameter "URL template" should look like:
    <Request.Protocol>://<Request.Server>/irj/servlet/prt/portal/prtroot/com.sap.km.cm.basicsearch?layoutSetMode=exclusive&ResourceListType=com.sapportals.wcm.SearchResultList&SearchType=quick&rndLayoutSet=SearchResultLayoutSet&SearchCompsName=UISearchComponents&QueryString=*&SelectedCustomProps=cm_modifiedby(value=<User.UserID>)
    Best regards,
    Robert

  • How Can I Defined Amount Limit For All Invoices For A Supplier ?

    Hi ,
    I Want To Define Amount Limit For All Invoices For Supplier When all Invoices Amounts Be Specify Amount It Make hold For It
    Thanks,
    Mohamed Gamal

    Hi.
    At Suppliers site:
    Invoice Amount Limit. If you enter an invoice for a supplier site that exceeds the invoice amount limit you specify, Payables applies an Amount hold to the invoice during Invoice Validation. You cannot pay the invoice until you release the hold. You can release the hold by adjusting the invoice amount, changing the Invoice Amount Limit for the supplier site, or you can manually release the hold in the Holds tab of the Invoice Workbench.
    Octavio

  • Can't find delete button for quick link address in my inbox navigation pane !

    Hi,
    There is no delete button for quick link which I mistakenly added in my inbox navigation pane. In fact, the link I added for quick link was a mistake and it was a different page address, and the missing delete button is for this specific link only; other than it is alright. How can I remove or delete it from my inbox quick link ?
    Thanks,
    Regards,
    Cyberkhan

    There does seem to be a close/delete button present that is hidden under the 'm' from 'google.com' that is probably not clickable.
    I don't know if there should be such a long link visible in that list item or that something else is wrong.
    You can try to right-click that area and use Inspect Element to open the Inspector.
    *https://developer.mozilla.org/Tools/Page_Inspector

  • Can a Person put META for Images / Links ?

    Since we can put META for WholePage,.
    Is it possible to put META for a LINK ? Or since we have a
    IMAGE? how can it make it User friendly for Search Engine Bots?
    Any Alternative or such thing?

    Out of curiosity, have you read any of the links that have
    been provided to
    you when you asked questions about getting your website into
    Google?
    All you would need to do is read a few basic SEO articles and
    you'd have all
    the answers to your questions at your fingertips :)
    Nadia
    Adobe® Community Expert : Dreamweaver
    Tutorials |SEO |Templates
    http://www.DreamweaverResources.com
    http://www.perrelink.com.au
    CSS Tutorials for Dreamweaver
    http://www.adobe.com/devnet/dreamweaver/css.html
    "owaisrauf" <[email protected]> wrote in
    message
    news:ekukpj$1pf$[email protected]..
    > Since we can put META for WholePage,.
    > Is it possible to put META for a LINK ? Or since we have
    a IMAGE? how can
    > it make it User friendly for Search Engine Bots?
    > Any Alternative or such thing?
    >
    >

  • Can't define init parameters for multiple servlets

    I want to define init parameters for two servlets in the web.xml file but i only get null for my Login servlet
    <web-app>
    <servlet>
    <servlet-name>
    RSServlet
    </servlet-name>
    <servlet-class>
    RoadSafe.Servlet.RSServlet
    </servlet-class>
    <init-param>
    <param-name>serverip</param-name>
    <param-value>localhost</param-value>
    </init-param>
         <load-on-startup>
              2
         </load-on-startup>
    </servlet>
         <servlet>
    <servlet-name>
    Login
    </servlet-name>
    <servlet-class>
    RoadSafe.AdMisc.Login
    </servlet-class>
    <init-param>
    <param-name>serverip2</param-name>
    <param-value>localhost</param-value>
    </init-param>
         <load-on-startup>
              1
         </load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>
    RSServlet
    </servlet-name>
    <url-pattern>
    /RSServlet
    </url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>
    Login
    </servlet-name>
    <url-pattern>
    /Login
    </url-pattern>
    </servlet-mapping>
    </web-app>

    In the code for you Login servlet, are you using the name "serverip2" to access the initial parameter ?
    Thats the name you have used in the web.xml file.

  • Can I write Design-time for JSP custom tag(not JSF components)

    I have some old JSP custom tags(not JSF components), and I want to use them in the IDE through the toolbox.
    Now I have already written the BeanInfos for these tags, and they can be drag from the toolbox; but it will throw a Exception when render the tags, and the properties in the Property Editor are not which I describe in the BeanInfos.
    How can I write Design-time for these tags? or whether it is possible to write the Design-time for these tags?
    the Exception is shown as follow:
    java.lang.ClassCastException
         at com.sun.rave.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1347)
    [catch] at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1086)
         at com.sun.rave.insync.faces.FacesPageUnit.getFacesRenderTree(FacesPageUnit.java:993)
         at com.sun.rave.css2.FacesSupport.getFacesHtml(FacesSupport.java:152)
         at com.sun.rave.css2.CssContainerBox.addNode(CssContainerBox.java:373)
         at com.sun.rave.css2.CssContainerBox.createChildren(CssContainerBox.java:354)
         at com.sun.rave.css2.DocumentBox.createChildren(DocumentBox.java:90)
         at com.sun.rave.css2.DocumentBox.relayout(DocumentBox.java:160)
         at com.sun.rave.css2.PageBox.layout(PageBox.java:392)
         at com.sun.rave.css2.PageBox.relayout(PageBox.java:454)
         at com.sun.rave.css2.DocumentBox.redoLayout(DocumentBox.java:313)
         at com.sun.rave.css2.PageBox.redoLayout(PageBox.java:460)
         at com.sun.rave.css2.DocumentBox.changed(DocumentBox.java:634)
         at com.sun.rave.designer.DesignerPaneUI$UpdateHandler.changedUpdate(DesignerPaneUI.java:1012)
         at com.sun.rave.text.Document.fireChangedUpdate(Document.java:851)
         at com.sun.rave.text.Document$5.run(Document.java:631)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

    I have some old JSP custom tags(not JSF components), and I want to use them in the IDE through the toolbox.
    Now I have already written the BeanInfos for these tags, and they can be drag from the toolbox; but it will throw a Exception when render the tags, and the properties in the Property Editor are not which I describe in the BeanInfos.
    How can I write Design-time for these tags? or whether it is possible to write the Design-time for these tags?
    the Exception is shown as follow:
    java.lang.ClassCastException
         at com.sun.rave.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1347)
    [catch] at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1086)
         at com.sun.rave.insync.faces.FacesPageUnit.getFacesRenderTree(FacesPageUnit.java:993)
         at com.sun.rave.css2.FacesSupport.getFacesHtml(FacesSupport.java:152)
         at com.sun.rave.css2.CssContainerBox.addNode(CssContainerBox.java:373)
         at com.sun.rave.css2.CssContainerBox.createChildren(CssContainerBox.java:354)
         at com.sun.rave.css2.DocumentBox.createChildren(DocumentBox.java:90)
         at com.sun.rave.css2.DocumentBox.relayout(DocumentBox.java:160)
         at com.sun.rave.css2.PageBox.layout(PageBox.java:392)
         at com.sun.rave.css2.PageBox.relayout(PageBox.java:454)
         at com.sun.rave.css2.DocumentBox.redoLayout(DocumentBox.java:313)
         at com.sun.rave.css2.PageBox.redoLayout(PageBox.java:460)
         at com.sun.rave.css2.DocumentBox.changed(DocumentBox.java:634)
         at com.sun.rave.designer.DesignerPaneUI$UpdateHandler.changedUpdate(DesignerPaneUI.java:1012)
         at com.sun.rave.text.Document.fireChangedUpdate(Document.java:851)
         at com.sun.rave.text.Document$5.run(Document.java:631)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

  • Can I define a constructor for a Custom Component?

    I have a custom component which I instantiate through ActionScript.  For the sake of clean code, I would like to be able to assign the variables through the constructor like any other class:
    var myComp:CustomComponent = new CustomComponent(arg1, arg2, ...);
    However, when I try to write a constructor in the Script block for the component, it gives me a compile error telling me that I have multiple constructors:
    //In Script tag//
    public function CustomeComponent(arg1, arg2 ...):void { ... }
    Are we not able to define constructors for Custom Components?

    If this post helps, please mark it as such.
    If you create an array variable in your MXML component, and then set it with myVar="[val1, val2, val3]" in the opening tag of your component, then you basically have a constructor in MXML.
    You can use the [Bindable] metadata tag in three places:
    Before a public class definition.
    The [Bindable] metadata tag makes usable as the source of a binding expression all public properties that you defined as variables, and all public properties that are defined by using both a setter and a getter method. In this case, [Bindable] takes no parameters, as the following example shows:
    [Bindable]
    public class TextAreaFontControl extends TextArea {}
    The Flex compiler automatically generates an event named propertyChange, of type PropertyChangeEvent, for all public properties so that the properties can be used as the source of a data binding expression.
    If the property value remains the same on a write, Flex does not dispatch the event or update the property, where not the same translates to the following test:
    (oldValue !== value)
    That means if a property contains a reference to an object, and that reference is modified to reference a different but equivalent object, the binding is triggered. If the property is not modified, but the object that it points to changes internally, the binding is not triggered.
    Note: When you use the [Bindable] metadata tag before a public class definition, it only applies to public properties; it does not apply to private or protected properties, or to properties defined in any other namespace. You must insert the [Bindable] metadata tag before a nonpublic property to make it usable as the source for a data binding expression.
    Before a public, protected, or private property defined as a variable to make that specific property support binding.
    The tag can have the following forms:
    [Bindable]
    public var foo:String;
    The Flex compiler automatically generates an event named propertyChange, of type PropertyChangeEvent, for the property. If the property value remains the same on a write, Flex does not dispatch the event or update the property.
    You can also specify the event name, as the following example shows:
    [Bindable(event="fooChanged")]
    public var foo:String;
    In this case, you are responsible for generating and dispatching the event, typically as part of some other method of your class. You can specify a [Bindable] tag that includes the event specification if you want to name the event, even when you already specified the [Bindable] tag at the class level.
    Before a public, protected, or private property defined by a getter or setter method.
    You must define both a setter and a getter method to use the [Bindable] tag with the property. If you define just a setter method, you create a write-only property that you cannot use as the source of a data-binding expression. If you define just a getter method, you create a read-only property that you can use as the source of a data-binding expression without inserting the [Bindable] metadata tag. This is similar to the way that you can use a variable, defined by using the const keyword, as the source for a data binding expression.
    The tag can have the following forms:
    As far as binding, you can add the [Bindable] tag before the class declaration to make bindable all public properties defined as variables, and all public properties defined by using both a setter and a getter method.

  • Link Colors: Here you can change the default colors for Web links. Click on the color samples to select colors.

    This worked before, but, since I reinstalled my pc, it doesn't.
    Why is this & what must I do for it to work. ?

    Try using this add-on: https://addons.mozilla.org/en-US/firefox/addon/color-toggle/

Maybe you are looking for

  • Dbms_job submit status

    Hi, I need to disable/hide the submit button after i submit the job using dbms_job submit process. Also after after completion needs to enable the button. Is there any background process i can run which enable or disable the button? Thanks, K

  • Different visualization between parent-child dimension (obiee 11g)

    Hi! I have an assignment to do: In my dashboard I have a table with some entities on rows. There are some entities that I can drill-down but another entities not. If I click on column properties (Interaction->Primary Interaction (Default Drill) I see

  • Serial code for PS CS6 creative cloud?

    Hi, I have just joined the creative cloud paid service, and have installed the app manager and photshop. When going to launch photoshop I sign in and it requires me to licence my soft ware and asks for a serial number, I dont have a serial number, it

  • Issues downloading Adobe Reader XI

    I get to 96% downloading Adobe Reader XI and then I get a message that Adobe Reader 7.0 is using files that need to be updated by this set up - and to close the application and click retry to continue.  I cheked my system and Adobe Reader 7.0 isn't r

  • Lock code after Yosemite install

    I just installed OS X Yosemite and after it restarted it is asking for a 6 digit code. It is a white screen with six boxes that will only accept numbers and it only gives 3 options: sleep, reboot and shut down. What is this 6 digit code and where do