creating a linked css that affects several Div in the HTML

I create a css file to attach several html documents.

within these HTML is a set of regions Ap Div with the text of the hyperlink in them.

in the css style box, they are named

#apBttnAbout

#apBttnAbout:hover

#apBttnContact

#apBttnContact:hover

I took the apBttnContact: hover # (has a colored background) and turned it into: hover so that it would affect all the #apBttn.

but he ended up making all my Ap Div regions including my #mainLayout

Basically, how to create a style #apBttn:hover can I use it for everything with the beginiing #apBttn title?

In this example, you will find that links are exacerbated specific divs that are nested inside other DIV tags This allows you to have a particular style applied to a specific area without applying it to the entire site. Obviously, you'll need to set up a div for outerWrapper, one for contentWrapper and leftColumn1 to work. So what happens, it's whenever you create a href in the leftColumn1 div, the style is automatically added. If you did not compose as I showed, and then links the entire site would be affected by this css. The following creates a red box with white text, which when twitch, it turns into a grey area. Basically you take control of the

#outerWrapper #contentWrapper #leftColumn1 a {}

background-color: #c6402f;
padding: 3px;
Width: 50px;
color: #FFF;
make-weight: bold;
text-decoration: none;

}

#outerWrapper #contentWrapper #leftColumn1 a: hover {}

background-color: #666;
}
These are the classes that you apply manually (note the point before link3px) but once applied they are controlled by these few lines of css code.
.link3px a {}
background-color: #c6402f;
padding: 3px;
Width: 50px;
color: #FFF;
make-weight: bold;
}
.link3px a: hover {}
background-color: #666;
}
Simple!

Tags: Dreamweaver

Similar Questions

  • I created a Javascript script that adds a watermark on the document action "paper print".  This works in Acrobat Pro, but does not work in the drive.

    I created a Javascript script that adds a watermark on the document action "paper print".  This works in Acrobat Pro, but does not work in the drive.  I am a novice using Javascript, so what am I doing wrong?

    Cannot use either addWatermarkFromFile or addWatermarkFromText methods of document with player as shown in the documentation. You can hide/display the form fields and the existing layers, so consider this approach.

  • Create a simple form that sends an email with the data

    I am creating a form of simple command for our Web site that allows people to fill out their name and address and have these data by e-mail to me.  I'm familiar with Dreamweaver, but have never looked into this kind of thing before.  I've read several tutorials on the use of PHP script to do this and he's going to 'confirmed' url after clicking on send, but I never have the e-mail.  Our site is hosted on GoDaddy.

    Could someone guide me through this process, or at least point me in the right direction?

    Thank you.

    Here is a link to a video tutorial that can help.

    http://www.Tutvid.com/tutorials/Dreamweaver/tutorials/phpFormHandler.php

  • When I create a link in WordPress it will not open the link in a new window

    Hello
    I've been creating websites in WordPress for a few years and still today, I find that when I create a link to open it in a new window using Firefox as browser the link just opens again the same page

    This is the code: -.
    "< a title ="learn more"href ="http://socialmediatrainingjob.info/mainsq"target ="_blank"> here < /a > to find out"

    "< a title ="more"href ="http://socialmediatrainingjob.info/mainsq"> fred."

    The 'fred' link will go on the site that you want, but "find it out here" is going nowhere.

    These links behave as they shoul when I use Internet Explorer and Chrome

    Any ideas how to fix this for Firefox, my version is 17.0.1

    Concerning
    Allan

    Hello

    Thanks Jscher it waqs a add on called 'Adblock Plus 2.2.1' as soon as it was turned off everything was back to normal. Just to prove it I active re and the problem comes back. So I completely removed.
    Funny, is that I never actually installed it in the first place

    Thanks for the correction of a problem tips

    Concerning
    Allan

  • Fill text with a picture and zoom so that we can "dive" into the text to see the image in full scale

    Hello

    I made a text filled with an image, and I'd like to zoom in on the letter, as if we can "dive" into the letters, then see the whole picture in full scall (my resolution is 1920 x 1080). Do you know how to make such an animation?

    screenshotjpg.jpg

    Here's a screenshot to show you what I did.

    I assume you are using the 2 as a track matte for an image. I can only imagine because you gave us no details or a screenshot of your computer with all the properties changed all of the layers has revealed. I assume you want to reveal the image below rather than pushing into it.

    If this is the case, then you can make the layer containing the number 2 a 3D layer and animate the position so that it moves to and in front of the camera or you can leave the 2D layer and animate the scale the layer. If you use the 3D trick, you will get a more natural look. You can consider to move the anchor point of the layer to the part of the 2 that you want to be at the center of the revelation. This is what a basic 3D displacement would look like.

  • Create a link to a State... why the State lacks Ahh!

    Hello

    I spent 1/2 day, trying to get a button link to a State that seems to be missing the interaction > choose target > the Application menu.

    I hit the 20 State max limitation and I have to now use States within the custom/generic components... but now when I try to link to them with one button to another component this subreport is missing. Here is a diagram showing what I'm doing... and I have to hurt?

    Capture.JPG

    So... is the first question possible to link a button in a subreport to a subreport to another component. Subreport is perhaps not the right word... but I mean a State within a component.

    Any help is greatly appreiated. Thank you.

    Thank you

    Nick

    I suppose you want the buttons in the control panel (i) drop down to post a link to any other product in the following state information?

    Here are the basic things I did to make it work.

    In Flash Catalyst, I added an interaction to change the State of the main application of 'Room01Products' on (i). The rest changes to the project when done in Flash Builder.

    Once properly imported into Flash Builder, I open the Mani.mxml file, and then find the Room01Prodcuts component (Yes there is a typo in the name in, as I've never done this) I then gave this element an id attribute:

    Then, I open the Room01PanScrollingContentSkin.mxml file. It is located in the directory of the project components.

    In this file, we will find the event handler for the (i) that we added in Flash Catalyst.

    You should see the following line of code:

    mx.core.FlexGlobals.topLevelApplication.currentState = 'Room01Products';

    Add this line of code:

    mx.core.FlexGlobals.topLevelApplication.productInfo.currentState = 'Product28';

    You will see reference us the productinfo component in code and define its currentState to 'Product28' I had him show something else than the first State of the component. Now when you click on the (i), it will change the two States concerning the application and one for the component.

    Hope this helps,

    Chris

  • Creating events in Javascript that can be caught in the trap by a plugin

    Is it possible to create an "event" pulled by a Javascript file to the level of records that can be caught in the trap by an Acrobat plug-in or application?

    In particular, I need an event that indicates that the download of annotation is implemented through collaboration SOAP (i.e. a level based sdkSOAPCollabSample.jsscript file).

    Looking through the Javascript documentation, I find no reference to the creation of custom events.  For example, event and EventListener objects appear to be limited to multimedia events.  The setAction() method is used only for WillClose, WillSave, DidSave, WillPrintand DidPrint of events.  What I need is the ability to create and raise an event at some point in my file to the folder level js, in particular, at the end of the this.enumerate () function, after all annotations have been downloaded so that my plugin can intercept the event "download in competition" and then, for example, display the toolbar comments and annotations.

    According to GKaiseril in the Scripting forum, where I already posted this question, "Yes, one can do [this], but the syntax will be dependent on what language your plugin is hardcoded.» You might want to ask this question in the Acrobat SDK forum".

    Bill

    Certainly be closer...

    As mentioned, you can not call tricks of Menuitem in a browser.

    There is a JavaScript API to implement this toolbar in the browser - I don't remember her, but a search on the web of this forum should turn up...

  • What I see in the CSS is not what appears in the HTML code - why?

    I work with 5 TCS and HR 11 FM12, all patched up. I find that any FM works better than linked (a little less crashes and access to the CSS seems better).

    However, in many cases, the CSS HR does not show which displays the HTML code. Why?

    For example, my style of GlossaryDefinition (FM_GlossaryDefinition) is indented FM (part of a running head construction) and I don't want in the HTML output. But such CSS only displayed in HR shows no dash while the HTML displays a dash. How can this be? What is going on?

    31.png

    Thank you

    Sean

    @seanb_us - I filed a bug report now on this behavior; You should probably do too. Your experimental project will be probably ideal for them to use if they need to see what is happening.

    PS - the recipe SSL is the choice that you make on the pod single Source Layouts (who came out of your help). The term 'recipe' is filched from the large (Rick Stone) @Captiv8r ;>)

  • How to proceed from here, now that I've learned about the .html extension.

    I was happy to Muse for quite awhile. Really excited. The ability to drag and drop and organize the way I thought I would is mind blowing for me. Today, for the first time, I used ftp to download a page of space only to be horrified seeing that this tag with the .html extension. WHAT? What is Frontpage? With the appearance of extension .html as you just woke up since 2002. Look, I don't mind be ignorant or learn from my mistakes, then someone let me know where I am wrong here, but I'm the only one who has a problem with that?

    I saw that there is a work around if you are using Business Catalyst, but what if I'm with Hostgator?

    I'm really just stuck in front of my computer, wondering where to go from here. That's how much I hate the .html extension. I finally have the opportunity to design because I thought, and yet the first impression will be that of the .html? People are going to have to make a link to www.mysite.com.html? SMH. How do you make an art/luxury with this extension of the site and be taken seriously?

    Web servers use the extensions of the files placed on the server to deduct their content type for example Web page, stylesheet, script, image, video, audio, etc. and send these type information content for browsers with these files so that browsers can consume/rendering these files correctly for the site visitor.

    Long story short, if Muse publishes pages without the extensions, the chances are that most of the world would not be able to see these pages correctly in a browser.

    That said, most web servers offer configurations that allow them to associate * extension-less * URL request to related files (with extension) on server (eg). Business Catalyst). However, this technique requires support and configuration side server - which is not controlled by Muse.

    See you soon,.

    Vikas

  • Spry link css &amp; js affects other spry features

    My question is

    How a spry features may be affected by adding an another spry of different type to the page?

    What could cause one effect on the other?

    Why could we have one effect on the other?

    is there a limit as to how much you can have?

    (the problem seems to happen in IE and Chrome, Firefox works like a charm)

    When the new spry .js and .css is added to the head tag.

    the first widget (my foldable panels) stop working as a collapsible Panel.

    and they simply appear as if the js is not related. It keeps its styles.

    one think that maybe having them in an inclusion

    (I mean, everything here is work with understands well enough, but still)

    could be messin something for IE?

    N °

    First of all, you have-

    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.DTD">

    http://www.w3.org/1999/xhtml">

    Remove the comment from the top of the page HTML - HTML above the doctype elements will cause some versions of Internet Explorer to view the page in quirks mode, and that's a bad thing.

    Then you have it-

    These two links are already redundant with links in the header of the document.  Please delete.

    Then you have it-

    This link is redundant with that-

    so delete it.

    Now for the drum roll!  Go here - http://www.murraytestsite.com/students.htm

    The trick is a) cleaning up the code and links and jigger b) the order of the links to the Spry elements.  What works on this page is the following order (see the links in the head).

    1 sliding panels

    2. foldable panels

    3. menu Bar

    Check it out...

  • How can I create a single action that hides several items at once?

    I create what I call a "video jukebox", and I would like to find an easier way to switch between videos, according to which the button is clicked. For example, I have 7 videos for viewers to choose.

    On the stage to animate are 7 buttons, each button corresponding to the appropriate video.

    I also added 7 videos of the scene (let's call them Video01.mp4, Video02.mp4, etc.).

    Press each key, I added the following to mousedown:

    SYM.$("Video01"). Hide();

    SYM.$("Video02"). Hide();

    SYM.$("Video03"). Hide();

    SYM.$("Video04"). Hide();

    SYM.$("Video05"). Hide();

    SYM.$("Video06"). Hide();

    SYM.$("Video07"). Hide();

    I have then change ' hide ' for 'show' according to which video I want to play when the viewer clicks the button and assign a mouseup action.

    I'm wondering 2 things:

    1. is there an action that allows you to hide all the videos with a single line of code, instead of repeating it several times (for each video)?

    2. can I assign a code to a transparent symbol I can superimpose each button so I can't open the actions for each of them? In other words, I would simply drag a symbol on the stage and have the code already attached to it, then all I have to do is change one or 2 lines instead of having to rewrite the entire thing every time.

    Thank you

    1 sym.$("video").hide (); allows you to hide all the video elements, then you can selectively show an individual video like sym.$("Vidoe01").show ();

    2 write a function in compositionReady as:

    sym.hideShowVideo = {function (name)}

    SYM.$("video"). Hide();

    SYM. $(Name). Show();

    }

    Call this function for each button in sym.hideShowVideo ("Video01");

    HTH,

    Vivekuma

  • Create a book able to change several pages at the same time later.

    I am new to InDesign (depending on the CS6) and what is probably an easy question.

    I'm creating a catalog/photo book of 6 x 9 with 2 photos per page.  I would like to create by using some sort of template system so that later if I need to change the page layout, I can change the template (for example) move the photo from the top to the top a bit and have * each * photo using this template on every inch of page shot upwards, instead of having to adjust each page by hand (120 pages).

    I can do it in InDesign, and if so, how?

    Thank you.

    Put the graphic frames on a master page. Make adjustments there.

    Bob

  • How can I create an intro clip that plays when before inserting the menu screen in PE7?

    I PrE7/PSE7 and want to create a dvd where during the insertion, it will play a clip short introduction before moving on to the main menu.  I did some tests and was not able to make it work.

    First, a play that precedes the main Menu is not possible in pre. One needs to use an another design program, such as Adobe Encore, which, starting from CS3, supplied only with PrPro or Sony DVD Architect. PrE has some limitations.

    Sorry,

    Hunt

  • Create a custom view that will be used to the discoverer

    Hello world

    I would like to create a view, which can be used in discoverer.
    I am new to Oracle and I was wondering if
    (1) the values hard-coded in the WHERE clause can be transformed into variables
    (2) if (1) is true, can the parms trip discoverer / the values of the variables for the sql?

    SQL statement is below,

    TX for any assistance, Sandra

    SELECT
    S1.ID
    S1.NAME
    SA1. ACADEMIC_PERIOD
    SA1. STUDENT_ATTRIBUTE
    IJ. STUDENT_ATTRIBUTE
    OF STUDENT_ATTRIBUTE SA1
    JOIN IN-HOUSE STUDENT S1
    ON SA1. PERSON_UID = S1. PERSON_UID
    JOIN IN-HOUSE
    (
    SELECT
    SA2. ACADEMIC_PERIOD
    SA2. PERSON_UID
    SA2. STUDENT_ATTRIBUTE
    OF STUDENT_ATTRIBUTE SA2
    WHERE SA2. ACADEMIC_PERIOD = '200920' AND
    SA2. STUDENT_ATTRIBUTE = "M4".
    ) IJ
    ON SA1. PERSON_UID = IJ. PERSON_UID
    WHERE SA1. ACADEMIC_PERIOD = '200920' AND
    S1. ACADEMIC_PERIOD = '200920' AND
    SA1. STUDENT_ATTRIBUTE = "SD".
    ORDER BY S1.NAME

    Well, all the explorers is a front end to set an investigation. Discoverer will build a SQL statement in the definition of workbook and run this SQL statement. You can configure the settings of a discoverer workbook to manipulate these variables of selection that would be variable from run to run. A parameter can be defined as optional, so that if no value is entered for the parameter, it is ignored when you perform data selection in the execution of SQL. You can import a view as a record in a business district of discoverer. You can also create a custom, folder where you manually enter the SQL statement that you want to use from the folder. The advantage of a custom folder, it's that you have create anything in the actual Oracle database, otherwise you might feel you need to do. My theory is less you fiddle with the database Oracle, better you will be. Others may disagree with that.

    John Dickey

  • I created a link to an attachment, but it supports the complete PDF file, how do I open in a new window?

    I have about 30 PDF documents attached to my main document. When I click on links, the attached document takes up the entire screen. I want it opens in a new window when I click on it, how do I do this?

    Yes, it is possible. Right click on the link using the Add or change the link, and then select Properties.

    Go to the Actions and change the link "Go to a page in another document" action

    Under "Target Document", you will see an option called "open in". Define as 'New window' and press OK.

    You'll have to make it a link both, unfortunately, unless you use a tool to set all links at the same time to behave this way.

Maybe you are looking for

  • How do you determine the VI file specification in executable?

    Under LabVIEW 2010, how can I determine a specification of file full of screws that he resides in a built executable file?  I have location of the executable file and I have the location of the screws on the drive when the executable was generated. 

  • Microsoft will come out with a "WinPad' (Windows iPad)?

    I was just wondering... It would be very cool. I would like TO design / develop the WinPad!

  • I have an a1324n

    I have a Hp Pavilion a1324n and want information about possible upgrade options.  I am running a card mother RC410-M (Asterope3).  It has a Pentium 4 cpu and 2 GB ram DIMM.  Its performance, the processor and an ATI Radeon Xpress 200 video card is 3.

  • Excel freeze when changing cell color and HP LaserJet CM1415fn is default printer

    We use a HP LaserJet CM1415fn connected via Ethernet. The computer is running Windows 7 x 64 with the latest printer drivers available on the HP Web site as of today. When this printer is the default printer, there's a freeze occurring in Excel when

  • Maximum resolution of U2713HM through Dell Dock

    Problem: Max screen resolution of 1920 x 1080Laptop: Dell Precision 6800Graphics card: Nvidia Quadro K4100MDouble-screens: 2 x Dell U2713HM Laptop is connected to a Dell docking station that has 2 outputs single link DVI, as well as 2 output of displ