Proper CSS syntax for...

Awhile back, Murray gave me this simple thumbnail border
hover code :
img.tn {
border:1px solid #72472B;
a:hover img.tn {
border:1px solid #FFF;
Trying to extend the lesson learned to other parts of the
site, I created
this :
img#modal {
border:1px solid #FFF;
a:hover img#modal {
border:1px solid #993300;
Which, I thought, would created a white border on all images
within
overlaying div id="modal" (with a #993300 border hover
color). But neither
of the 2 borders is showing around images in that div.
What am I doing wrong? Besides listening to Linkin Park, I
mean.

You still have not gotten it.
img#modal selects the image tag with ID="modal", not the
image tag's
container. Kim has the answer.
This is not a syntax problem - it's an understanding
problem....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Jay" <[email protected]> wrote in message
news:f0iehg$13j$[email protected]..
> Awhile back, Murray gave me this simple thumbnail border
hover code :
>
> img.tn {
> border:1px solid #72472B;
> }
> a:hover img.tn {
> border:1px solid #FFF;
> }
>
> --
>
> Trying to extend the lesson learned to other parts of
the site, I created
> this :
>
> img#modal {
> border:1px solid #FFF;
> }
> a:hover img#modal {
> border:1px solid #993300;
> }
>
> Which, I thought, would created a white border on all
images within
> overlaying div id="modal" (with a #993300 border hover
color). But neither
> of the 2 borders is showing around images in that div.
>
> What am I doing wrong? Besides listening to Linkin Park,
I mean.
>

Similar Messages

  • What is the proper SQL syntax for dates input as variable

    Hello,
    I am working on an ASP JavaScript page that requests totals
    from an Access database for a specific date range. I can write the
    SQL statement to query the DB and get the results I need using the
    WHERE statement below.
    ...WHERE LABOR_DATE BETWEEN #7/15/2006# AND #7/18/2006# GROUP
    BY [LABOR].[JOB_NUMBER_NAME]
    I have another page that I want to pass two variables in
    Dreamweaver specifying the date range varBeginDate and varEndDate
    and query the database using the date range input by the user.
    What is the correct syntax for replacing the actual dates in
    the example above with my variable values?

    Short answer - you can't. There's no automatic link between file paths and mounting servers. There are lots of valid reasons for this (e.g. preventing malicious links from automatically opening files from remote servers), but you can get there in a controlled environment.
    You can configure Automounts on any directory. That way whenever any application tries to access a particular path the OS will automatically mount the directory, but it needs to be told in advance which directories (and which servers) to mount.
    For example, if you'd configured your iTunes Library to be saved at /mnt/itunes and it's served from afp://mediaserver.your.net/path/to/itunes you would configure an automount to mount the AFP server at /mnt/itunes.
    Since its an automount, the OS wouldn't mount the server until some process tried to read /mnt/itunes.
    There are several ways of specifying automounts, and for each there are several tutorials online that walk you through the process. Try Mike Bombich's site for a starter.

  • Determining proper hyperlink syntax for TOC destination within PDF using example?

    I've dabbled but only able to construct a hyperlink jumping to a specific page rather than jumping to a specific table of Contents (TOC) entry, e.g.  "901. Scope of the Training and Education Program" in http://www.nerc.com/files/NERC_ROP_Effective_20130305.pdf 
    Q1:  In general how should one determine and form up a TOC based hyperlink to a destination within a PDF such as this.. likely applying "hxxp://www.domain.com/file.pdf#nameddest=TOC" syntax?  
    Q2: What would be the specific hypertext brower launch link for this example? 
    tia

    To make use of the "nameddest" parameter you'll have to actually have those in the PDF. The PDF at the link does not have any.
    As the authoring file for the PDF was a Word file you could see if Word can be configured to provide named destinations.
    If not then you would have to put them in manually using Acrobat (Pro supports this - maybe Standard also).
    If you don't already have it the "Parameters for Opening PDF Files" is the document that discusses parameters for opening a PDF via a URL.
    http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdf_open _parameters_v9.pdf
    Be well...

  • What is proper path syntax for home folder for users

    I'm taking over for someone who has left the organization.
    They have used two methods for setting up a home folder for each AD user. I think they did this because over time they learned some things and just changed the way they did things. I'm not sure, but I'm trying to understand which is best to use going forward.
    We use 2003 - and 2008R2 environment for AD.
    We have a folder on our server called D:\userfiles
    In this folder we have each department with a folder eg.
    D:\userfiles\hr
    D:\userfiles\accting
    D:\userfiles\department1
    etc.
    When we set up a User in AD we click on the Profile tab and then select H: as the "Home Folder" and then in the To box enter one of two paths.
    My question is which path is best. They both seem to work.
    The one with the $ at the end I think creates a share in the shared folder when you look at shared folders in the computer management on the server for that user.
    Anyway I'm not really sure which to use or what the difference is.   I would like to use one or other.
    We also have a script that is run when people log on but I'm unclear if that is just   a red herring in this discussion.
    Thanks.

    Hi stevwolf,
    Based on my understanding, you would like to know what the mean of the dollar sign($) at the end of the share name. Right?
    The share name which has the dollar sign($) at the end means it is a hiden share. Hidden shares are not listed when you look through the shares on a computer or use the
    net view command. In your case, the folder joebleow$ will not be liated in the path
    \\server1. 
    Regards,
    Lany Zhang

  • Proper URL Syntax for "Open Stream" Dialog Box

    Hello all,
    I would like to open in iTunes the following radio stream link copied from my browser.
    javascript:openPlayer('http://www.streamaudio.com/stations/player/pages/index.as p?headertext=KGSRFM&Station=KGSRFM&OptIn=no;');
    I have tried removing everything up to http:// and some of the characters on the back end as well with no luck.
    Any suggestions?

    When I load that link in my browser, it tries to bring up an embedded Windows Media player. Windows Media is not a format that iTunes can handle. Sorry.

  • Syntax for calling html page in PL/SQL package

    Hi,
    I'm trying to call html page (stored on server) in my pl/sql package!
    I have already create html page in pl/sql package code and it's works fine.
    Now create better html page (interface design) and stored on server. I would like to call that stored html page in my pl/sql package.
    What is syntax for calling html page in PL/SQL or could you suggest me some literature.
    In first option I had created ces and stored it on server. Then I call it in pl/sql package like htp.p('<link rel="stylesheet" href="\download\table_style.css" type="text/css">');
    I try someting like that for calling html page but it doesn't works.
    htp.p('<link rel="form" href="\download\interface.htm" type="text/html">');
    Does anyone know syntax for calling html page in pl/sql?!?
    Thanks!

    hello
    I normally use htp.anchor(URL,linkname);
    it works
    ammar sajdi
    www.e-ammar.com/Oracle.htm

  • Model Binding and Calculated Field Syntax for "class" Attribute

    Hi,
    I tried to use the calculated field syntax from SAP UI5 to change the CSS class attribute of an element based on some model property, i.e., I wanted to change the class in the corresponding formatter function based on the currently bound value. However, my formatter function is not called. When I use the same syntax on a text attribute, it works.
    I also tried to use normal property binding, but it did not work on the class attribute either (it just put class="{property}" in the rendered HTML).
    Is there anything I missed or is it just not possible to use property binding and calculated field syntax for class attributes? Did anybody try something like this before?
    I think it is a standard use case to change the CSS class based on some model property. So, if anybody knows how to do that, could you give a short example?
    Best regards
    Svenja

    They have a class property. At least, I can do the following in an XML view:
    <Button
                  icon="sap-icon://add"
                  press="onButtonPress"
                  class="my-button-class" />
    I would expect the following to work as well, but for me it did not:
    <Button
                  icon="sap-icon://add"
                  press="onButtonPress"
                  class="{/customClass}" />
    This renders the following HTML (cropped to the important parts):
    <button type="button" class="sapMBtn {/customClass}">
    </button>
    It seems like the class attribute is something special although I don't see a reason why. Other HTML templating engines, for example, support things like that.

  • Syntax for page level process to invoke an on-demand app level process?

    I want to use a page level process (if that's the right thing to do) to run an application process on-demand each time certain pages load. What is the proper syntax for the page level process?
    I tried many variations of the following but it does not pass syntax checking.
    1.
    APPLICATION_PROCESS=GLOBAL_UPDATE;
    2.
    begin
    APPLICATION_PROCESS=GLOBAL_UPDATE;
    end;
    What is the proper syntax?
    Thanks,
    Linda

    Linda - If you want to run an application process when certain pages load, just create an application process (PL/SQL type) with the desired firing point, e.g., On Load: Before Header and in the process condition use a condition type like "Current Page Is Contained Within Expression 1 (comma delimited list of pages)". No need to create either a page process or an on-demand application process to do this.
    Scott

  • Proper function syntax

    I can not seem to find documentation explaining proper syntax for the Rank function. Can anyone help with locating syntax or even provide the syntax? Your assistance is greatly appreciated.

    http://download-west.oracle.com/docs/cd/A97630_01/server.920/a96540/functions95a.htm#1000677

  • Syntax for linear gradient

    I'm getting:
    WARNING: com.sun.javafx.css.parser.CSSParser linearGradient Using deprecated syntax for linear gradient at <filename & line #>. Refer to the CSS Reference Guide.
    But I'm copying the syntax from the only reference guide I can find (no reference is included in the JDK)
    http://download.oracle.com/javafx/2.0/api/javafx/scene/doc-files/cssref.html

    The docs in the SDK have the correct reference. You can find the ref by following the link from the class doc for Node. Here is the relevant section.
    Linear Gradients <linear-gradient>
    linear-gradient( [ [from <point> to <point>] | [ to <side-or-corner>], ]? [ [ repeat | reflect ], ]? <color-stop>[, <color-stop>]+)
    where <side-or-corner> = [left | right] || [top | bottom]
    Linear gradient creates a gradient going though all the stop colors along the line between the "from" <point> and the "to" <point>. If the points are percentages, then they are relative to the size of the area being filled. Percentage and length sizes can not be mixed in a single gradient function.
    If neither repeat nor reflect are given, then the CycleMethod defaults "NO_CYCLE".
    If neither [from <point> to <point>] nor [ to <side-or-corner> ] are given, then the gradient direction defaults to 'to bottom'.
    Stops are per W3C color-stop syntax and are normalized accordingly.
    This example will create a gradient from top left to bottom right of the filled area with red at the top left corner and black at the bottom right.
    linear-gradient(to bottom right, red, black)
    This is equivalent to:
    linear-gradient(from 0% 0% to 100% 100%, red 0%, black 100%)
    This more complex example will create a 50px high bar at the top with a 3 color gradient with white underneath for the rest of the filled area.
    linear-gradient(from 0px 0px to 0px 50px, gray, darkgray 50%, dimgray 99%, white)
    The following syntax for linear gradient does not conform to the CSS grammar and is deprecated in JavaFX 2.0. The JavaFX 2.0 CSS parser supports the syntax but this support may be removed in later releases.
    linear (<size>, <size>) to (<size>, <size>) stops [ (<number>,<color>) ]+ [ repeat | reflect ]?
    Radial Gradients <radial-gradient>
    radial-gradient([ focus-angle <angle>, ]? [ focus-distance <percentage>, ]? [ center <point>, ]? radius [ <length> | <percentage> ] [ [ repeat | reflect ], ]? <color-stop>[, <color-stop>]+)
    If neither repeat nor reflect are given, then the CycleMethod defaults "NO_CYCLE".
    Stops are per W3C color-stop syntax and are normalized accordingly.
    Following are examples of the use of radial-gradient:
    radial-gradient(radius 100%, red, darkgray, black)
    radial-gradient(focus-angle 45deg, focus-distance 20%, center 25% 25%, radius 50%, reflect, gray, darkgray 75%, dimgray)
    The following syntax for radial gradient does not conform to the CSS grammar and is deprecated in JavaFX 2.0. The JavaFX 2.0 CSS parser supports the syntax but this support may be removed in later releases.
    radial [focus-angle <number> | <number> ] ]? [ focus-distance <size> ]? [ center <size,size> ]? <size> stops [ ( <number>, <color> ) ]+ [ repeat | reflect ]?

  • What is bind syntax for blob datatype for sqlite3

    Hi All,
    i have written 2 times.
    1. sqlite3bind_blob(insertstatement, 1, image, -1, SQLTRANSIT);
    it doesn't give compile error but when i run the applilcation it crash the
    simulator.
    2. sqlite3bind_blob(insertstatement, 1, image, -1);
    it gives error like too few arguments.
    here image is object of UIImage........
    pls anyone can tell me what is proper syntax for binding of blob datatype.
    Thankx.
    vavdiyaharesh is online now Add to vavdiyaharesh's Reputation Report Post Edit/Delete Message

    I wanted to do something similar, but as you mention, there isn't a lot of sample code to copy and paste etc, and I didn't have the time to spend investigating this one issue when plenty of other things needed my attention.
    In the end I decided to save my BLOB data as actual files in the document directory and then store a link to these in the database row. Something like primarykey_id_blobname.jpg etc.
    Probably not the answer you want, but hopefully it'll get you past a road block and onto the next item on your list.

  • Syntax for Contextual Selectors

    In my continuing quest of CSS proficiency, I have been
    reading a number of books. In some it appears the syntax for a
    contextual selector is
    .classname tag (h1 or p or other tag)
    example: .header h1
    in others I see
    tag .classname
    h1 .header
    Are these the same or is there a nuance I am missing?
    Thnx
    Fred

    On Fri, 1 Dec 2006 19:39:58 +0000 (UTC), "Fred1000"
    <[email protected]> wrote:
    > .classname tag (h1 or p or other tag)
    > example: .header h1
    >
    > in others I see
    >
    > tag .classname
    > h1 .header
    >
    >
    > Are these the same or is there a nuance I am missing?
    No, they are not the same. Consider this:
    body {color: blue}
    .aclass p {color: red}
    p .aclass {color: green}
    <div class="aclass"><p>This is red</p> and
    this is blue.</div>
    <p><span class="aclass">This is
    green</span>, but this is blue.</p>
    The first one (.aclass p) will apply to any <p> element
    that is
    contained within a parent element with the class name of
    aclass. In this
    case, a <div> tag with a class name of aclass, the
    color red applies
    only to the paragraph and not to the remaining text in the
    <div>. That
    remaining text inherits the blue color from the body
    declaration.
    The second one applies to any element with a class name of
    aclass, that
    is contained within a paragraph. In the example, we have a
    <span> with a
    class name of aclass, that is contained within a paragraph.
    That picks
    up the green color. The remaining text of the paragraph that
    is not
    contained within the <span> inherits the blue color.
    Gary

  • I am trying to find out the proper graphic card for mac.

    I am trying to find out the proper graphic card for imac. The graphic card which is mentioned in the web sit, that Graphic Card is not available in the open market. In open market NVIDIA GeForce GT 750M and NVIDIA GeForce GT 755M is available and this card is not mentioned in web site. So please help to select a proper suitable GPU.

    Are they supportable for After Effects ray-traced 3d renderer.
    I am confused because adobe recommended on the following graphic card.
    Mac OS
    GeForce GTX 285
    GeForce GTX 675MX
    GeForce GTX 680
    GeForce GTX 680MX
    GeForce GT 650M
    Quadro CX
    Quadro FX 4800
    Quadro 4000
    Quadro K5000

  • Syntax for using a variable in an equation.

    Hi all,
    Simple question here.  What is tha appropriate syntax for using a variable in a calculation equation.  Specifically, I am taking an established curve fitting equation from my channels and trying to calculate it over a lineargenerated data set to extend the curve  beyond the original data sample.  Here is the small portion of script I have that will not work.  Thanks for any help.
    dim a,b,c
    a = Data.Root.ChannelGroups(5).Channels("air consumption formula").Properties("ResultApprAnsatzCoef1").Value
    b = Data.Root.ChannelGroups(5).Channels("air consumption formula").Properties("ResultApprAnsatzCoef2").Value
    c = Data.Root.ChannelGroups(5).Channels("air consumption formula").Properties("ResultApprAnsatzCoef3").Value
    Call Calculate("Ch(""[5]/Air Consumption LG"")= ""a"" + Ch(""[5]/LinearGenerated"")*""b""+""c""*ch(""[5]/LinearGenerated"")^2")

    Hi Gloorious,
    I am using diadem script.  In my example above, for the equation, if I substitue a,b,and c with numerical values, the script runs just fine and the formula executes as desired.  Is there a way to place the variables there instead as I have tried to do (I was hoping it was just a syntax issue) or do I have to approach it a completely different way?
    This script will execute just fine:
    Call Calculate("Ch(""[5]/Air Consumption LG"")= 4 + Ch(""[5]/LinearGenerated"")*5+6*ch(""[5]/LinearGenerated"")^2")
    but this will not:
    dim a,b,c
    a = Data.Root.ChannelGroups(5).Channels("air consumption formula").Properties("ResultApprAnsatzCoef1").Value
    b = Data.Root.ChannelGroups(5).Channels("air consumption formula").Properties("ResultApprAnsatzCoef2").Value
    c = Data.Root.ChannelGroups(5).Channels("air consumption formula").Properties("ResultApprAnsatzCoef3").Value
    Call Calculate("Ch(""[5]/Air Consumption LG"")= ""a"" + Ch(""[5]/LinearGenerated"")*""b""+""c""*ch(""[5]/LinearGenerated"")^2")

  • TS2634 I bought a composite AV cable with 30 pin connector at a proper apple store for my ipad 2 which no longer works now i have updated to ios7 - please advise how to make this work ?

    I bought a composite AV cable with 30 pin connector at a proper apple store for my ipad 2 which no longer works now i have updated to ios7 - please advise how to make this work ?

    I have the same problem.
    Two similar discussions:
    https://discussions.apple.com/message/23081658#23081658
    https://discussions.apple.com/message/23281391#23281391
    I have not yet seen any official response to the question: "Is the Apple AV Composite cable fully supported with 30pin connector devices upgraded with iOS7 - specifically ? - eg. iPad 2, iPhone 4, iPhone 4s"
    If it is not currently supported is that then due to a bug / oversight and in that case is it something that will be fixed in the near future?
    Please let us know what feedback you got from asking Apple support.

Maybe you are looking for

  • Is there any need to download and install LR5 CC if I already have LR5.2 full standalone version?

    I have just purchased the Creative Cloud for photographers package, on offer @ $9.99 (£8.78) at the moment. I am an existing CS6 Premium customer which as you know includes Photoshop CS6 extended.  I have downloaded and installed the CC versions of P

  • Value Mapping Replication - 7.31

    hi,       working on a requirement of value mapping replication on 7.31 environment.        I have used the standard - ValueMappingReplication service interface as the receiver as it is an async scenario.        My sender structure is similar to the

  • New Message Window popup - Odd

    This has just started to happen. I have a few users who send a new message and after clicking send and the message is gone a new message window appears automatically. This is annoying to them because they need to close the window to do anything else

  • Soil texture triangle in oracle reports

    Hello everybody, I need to show the soil texture triangle, example: http://courses.soil.ncsu.edu/resources/physics/texture/soiltexture.swf, in a report. The graphic depends on three parameters: sand, clay and silt Anyone knows how to do it? Anyone kn

  • Error during backup!

    I have getting errors with the last 3 versions of PC Suite when trying to make a full backup. It seems like it won't backup my calender. It says my calender is in use. I DO have data in the calender. I have no 3rd party calender installed. Doesn't PC