using the .class in css ID.

creation of boxes on my site.  each box will be the same size, have the same rollover effects and everything, but the only difference is the color of the boxes and hyperlinks will be different for each box.

I know that I can create these as a 'class id' in css, but won't that make sure all the boxes must have the same background color? How can I do this? Using the class option will make me a ton of time, but is not only of course how to make each a different color of the box.

Your CSS syntax is incorrect-

. Blue: {}

This should be present-

. Blue {}

Tags: Dreamweaver

Similar Questions

  • Using the class Tween w / dynamic text

    Hi all

    I feel sort of my way along here. I'm certainly not an expert in what I'm looking for.

    I created a small flash animation that imports data from an XML file into different six fields of text and one image. It works wonder.

    However, the customer would be as a kind of animation on the text so it fade, scaling, color changing, movement... whatever. I've only used the class tween once but that sounds like the way to go (I think...?).

    I'm stuck. I've been searching the Net and I can't seem to make sense what I read when it comes to use the Tween class with dynamic text.

    I enclose my actionscript.

    Can someone point me in the right direction?

    Thank you!!

    Nevermind, I think I found what I needed. Thank you guys!

  • Block of data to be inserted using the class SqlBulkCopy - constructor type not found System.Data.DataColumn

    I am using the SQLBulkCopy class methods for bulk inserts data into a PostgreSQL RDBMS. Think "table grapes." I'm basically buffer a lot of data to be inserted when a task is completed, rather than constantly doing transactional inserts have a lot more overhead.

    To do this, I use the SqlBulkCopy(DataTable table) method as the IDataReader objects and DataRow have no public constructors in LabVIEW. Here's my current implementation:

    But it fails with this error:

    The VI is attached for reference. Any ideas (or alternative bulk insert) would be appreciated.

  • Development of portlets: when to use the class that extends the PortletBridge...

    When I create a Portlet (based .jspx) JDeveloper generate resources. One of these is a class (with the name I ve configured), which extends from PortletBridge...

    Ok. So, I want to know if I use the standard JSF should I put my actions in this class or should I create an another bean Managed to handle this? What to do with this generated class?


    Thank you.

    A bean managed for a portlet must be recorded in the faces-config. XML
    It has nothing to do with the class that extends the portlet bridge.

    So to create a java class and write it to the faces - config.xml, then you can use in your jspx pages that make up the portlet.

  • Use the class with the same name as the default Package class

    I am upgrading a project to Flash CC and to do in the old class JSON in com.adobe.serialization.json. When I compile, I get an error "1061: call to a possibly undefined method to decode a static type reference Class ' because he's probably trying to use the default package latest JSON class rather than com.adobe. I have the import statement in my class, 'import com.adobe.serialization.json.JSON', but I guess its audit against the default package and gives me a compilation error when I call "var parts: Object = JSON.decode (jsonData);

    Change the name of your custom class or change your settings (to use fp before 11) publication.

  • How to set the user name and password when you use the class for SOCKS5 Proxy?

    Hi all

    I use the proxy class for SOCKS5, so need to set the user name and password, I can't find where I put the value. If the API support.

    Thanks in advance!

    Exactly how to repeat the question five times ater, we told you the answer would erase anything? A: this isn't. This irritates just the hell out of people. Irritating the hell of those who's trying to help you is not rational behavior either.

    I have no idea on the support of third-party for transmission by proxy via NIO.

  • Error 1172 tries to use the class mx.controls.List

    I'm writing code Action script in Flex Builder 3 but I'm unable to use some of the classes in the mx package. When I import like this:

    Import mx.managers.PopUpManager;
    Import mx.controls.List;
    to import flash.display.SimpleButton;

    SimpleButton imports fine but for PopUpManager and list control, I got these errors:

    1172: definition mx.managers:PopUpManager could not be found.
    1172: definition mx.controls:List could not be found.

    Other controls in the mx package seem to be available as mx.managers.IFocusManager (as well as three other mx.managers interfaces.

    Why the part of the mx package is available?

    Problem solved now. It turned out that I could not access the complete packages because my project was an ActionScript project instead of a Flex project.

  • DA on updatable report items Sql query using the class

    Request Express 4.2.5.00.08

    10-11 g Oracle

    I have a page, so it has a link/button when he clicks then modal region will appear. Modal region has a as a table (Type SQL Query (updateable report)). All work very well so far.


    However, I've now added some complex things.

    for example. My region is based on the query of SQL Type (editable report).

    SELECT id, name of family, Traghetti, area, d_date, start_time, End_time, displacement, role of table where id =: P10_ID;

    I can also add a new line of course.

    My problem is, (point) Shift display based on the value of Start_Time point) and so I made sure the class for two items.

    for example, Start_Time (' class = "st_tm" ') and Maj ('class to = "Shift_time" '). Start_Time is based on (LOV) and shift is off the point in the sql query, but change the Start_Time.

    And now, I created the DA.

    1. event: change

    Selection type: jQuery Selector

    jQuery Selector: .st_tm

    Condition: No.

    1. action: set value

    Set type: Expression Javascript

    The JavaScript Expression: $(this.triggeringElement) .val ();

    The element affected: P10_X1 (it is a hidden item)

    2. action: Plsql Code

    Code: start to null; end;

    Page items to submit: P10_X1

    3. action: Plsql Code

    Code: start

    If: P10_X1 between '03' AND '11' then

    : P10_X1: = 'EARLIES ';

    elsif: P10_X1 then '12' and '18'

    : P10_X1: = 'LATES ';

    on the other

    : P10_X1: = 'NIGHTS';

    end if;

    end;

    Page items to submit: P10_X1

    NOW another DA

    Event: change

    Article (s) P10_X1

    Condition (in list)

    value (HASTY, LATES, NIGHTS)

    Action:

    Set type: Expression Javascript

    The JavaScript Expression: $(this.triggeringElement) .val ();

    Affected item:

    Selection type: jQuery Selector

    jQuery Selector:. Shift_time

    Well, I look forward all the above work well, but I'm having a problem.

    If I have more than 1 lines on a modal region and if I change the Start_Time value for a row then MAJ (point) is changing but he effect on all lines.

    I want, if I make the changes on the line line # 2 while only 2 # MAJ (point) must be not performed any other lines?

    Help, please!

    Kind regards

    RI

    I found the solution me thank you.

    I removed all the DA mentioned above and created a new.

    1. event: change

    Selection type: jQuery Selector

    jQuery Selector: .st_tm

    Condition: No.

    Scope of the event: dynamic and light on page load.

    Action (Javascript code)

    ROW_ID = $(this.triggeringElement).attr('id').substr (4);

    If ($(this.triggeringElement). val() > = 03 &. val() $(this.triggeringElement))<= 11)="">

    .Val ('EARLIES') $(«#f11_» + row_id);

    }

    ElseIf ($(this.triggeringElement). > 11 val() & $(this.triggeringElement). val())<= 18)="">

    .Val ('LATES') $(«#f11_» + row_id);

    }

    ElseIf (. val() > $19 (this.triggeringElement)) {}

    .Val ('NIGHTS') $(«#f11_» + row_id);

    }

    also created another DA because I have a disabled report items.

    Event: before the page is sent.

    $('_:_disabled').removeAttr ("disabled");

    and finally created manual process of DML for tabular and everything works fine. (Insert, Update, and delete).

    Kind regards.

  • How to use the class IIA for LabVIEW driver wrappers?

    Hi all

    I've read some texts on IVI compliance, but I have not quite how I wrap an IVI - COM to an IVI - C. Where is this done?

    In MAX, I see:

    -Configuration-> software-> IVI Compliance Package 3.3

    But no properties in there...

    I have an analizer spectrum available drivers are only IVI - COM, but I want to wrap them up in IVI - C...

    can someone tell me step by step how can I do this?

    or maybe tell me some beginner tutorial?

    Kind regards

    JPLO

    Hello JPLO,

    Before trying to communicate with your instrument using any sort of instrument drivers, you must confirm that you can connect at a lower level.  In most cases, this means through VISA, using MAX.  IVI - COM driver installation program should add a software module to the IVI Configuration, which is the MAX.  Most installers IVI - C also adds a pilot session, but you'll need to create a.

    We include adaptors IVI - COM for class IVI - C with PKI pilots.  Here's a knockout who talk about them: IVI-C class for specific drivers IVI-COM driver Support

    You can also simply treat the IVI - COM driver like any other ActiveX object.

    What type of instrument you are using?

    See you soon,.

    NathanT

  • How to use the class ApplicationMenu

    Hi, there are new class SDK 3.2.0 - ApplicationMenu. Sounds interesting, but how can I use it? All of the examples available somewhere?

    That's how I work (entire sample):

          var appMenu:ApplicationMenu=new ApplicationMenu();
            appMenu.width=stage.stageWidth;
            appMenu.helpAction=new Action(bundle.getResource("help"), Icons.help, 6);
            appMenu.settingsAction=new Action(bundle.getResource("settings"), Icons.settings, 7);
            appMenu.addEventListener(ActionEvent.ACTION_SELECTED, actionSelected);
            QNXApplication.qnxApplication.addEventListener(QNXApplicationEvent.SWIPE_DOWN, onApplicationSwipeDown);
    
            private function actionSelected(e:ActionEvent):void{
                trace("ACTIONSELECT "+e.action.data);
                switch(e.action.data){
                    case 6: //help
                        break;
                                    case 7: //settings                                         break;           }
            }
    
            private function onApplicationSwipeDown(event:QNXApplicationEvent) : void
            {
                var to:int=0;
                if(this.contains(appMenu)){
                    to = -appMenu.height;
                }else{
                    appMenu.y=-appMenu.height;
                    this.addChild(appMenu);
                    to = 0;
                }
                Tweener.addTween(appMenu, {y: to, time: 0.5, transition:"linear", onComplete: function():void{
                    if(appMenu.y<0){
                        removeChild(appMenu);
                    }
                }, onUpdate: function():void{
                    maincontainer.y=maincontainer.y=appMenu.y+appMenu.height;
                }});
            }
    
  • using the class

    Hello
    I can't understand what my problem is here.
    I created 2 classes here one that creates a circle called ball
    and one that has managers to drag the circle.
    My main class MouseMoveDrag is connected to a document class and he is ordered to the queue.
    However, I get this message
    "1120: access of undefined property ball."

    This is because you used a reserved word: onMouseDown.

    which causes no problem. your code will still work. but I think the annoying messages like that so if I were you I would change for onMouseDownF.

  • Collapsible menu by using the feature of CSS of CS6, Spry Collapsible Panel

    Hello

    Can you please how to

    1. Add a second or multiple lines of fields contained when inserting the Panel collapsible Spry in CS6? I want to use as a collapsible menu in the sidebar on my side.

    2. it is a good idea?

    Thank you for you thoughs.

    Using Spry for what anyone in a web page is not a good idea. Adobe announced several months ago that we invest more in the development of Spry. It is likely that the Spry widgets will be removed from the next version of Dreamweaver.

    However, widgets Spry will continue to work (as long as JavaScript is enabled in the browser). Foldable panels is simply

    elements. You can add HTML elements you like in their breast.

  • How to change the text design AS3 using the class Date

    Hi I tried to create a 24-hour countdown on 24 who will make a loop and play back counting it self down to 00:00:00:00

    Thanks to Andrei1 for providing me with this code to create the next animtion:

    var result: String = "";
    var date: Date = new Date (null, null, null, 0, 0, 0, 24);

    var timeDisplay:TextField = new TextField();
    timeDisplay.autoSize = TextFieldAutoSize.LEFT;
    timeDisplay.multiline = timeDisplay.wordWrap = false;
    timeDisplay.border = true;
    timeDisplay.x = timeDisplay.y = 20;
    timeDisplay.text = "00:00:00 ';

    addChild (timeDisplay);

    var: timer = new Timer (250);
    timer.addEventListener (TimerEvent.TIMER, count);
    Timer.Start ();

    function countDown(e:TimerEvent):void {}
    Date = new Date (date.setTime (date.getTime () - timer.delay));
    result = date.toTimeString () replace (/ \s+GMT\-\d + /, "");
    timeDisplay.text = result;
    }

    The end result, I'm looking for is to display this countdown clock in a clear gray arial font as shown in the picture below link:

    http://img801.imageshack.us/img801/3604/picture1ms.PNG

    Right now the code I received leaves me with a box around the type and a GMT (+ 000):

    http://img534.imageshack.us/img534/4264/picture2ot.PNG

    I was wandering if any body knows how to change the design of something in the photo above simular.

    Thank you for your help in advance.

    Tom

    Snippets of code is one thing, but nothing is gained back together solutions to people without explanation (but maybe a smile to not have to struggle with it).  Learning is not easy and it is better that it isn't... it involves the effort, stadiums, an increase in capacity to win.  You presented an entirely different approach to a solution that involves techniques beyond a beginning level.

    Don't you think that tom understands what he has in his hands?  It can develop its own regular expressions or manipulate a Date object to what you gave to him?  More importantly, since he never solved the intitial design of yesterdays issues poster, which has involved basic concepts much more, don't you think he could solve this design now?  Or he missed on some basic things that must precede the techniques that you have provided learning?

  • I need help with the use of Class.forName and getResourceAsStream

    I am trying to write code that will play an audio file. All references I found the point of code as follows...

                              Class dir = Class.forName("lib.testother");
                                InputStream input = dir.getResourceAsStream("/explosion.aac");
                                Player player =
                                    javax.microedition.media.Manager.createPlayer(input, "audio/aac");
                                player.realize();
                                VolumeControl vol = getVolumeControl(player);
                                if (vol != null)
                                {
                                    int volume = vol.getLevel();
                                    vol.setLevel(volume);
                                }
                                player.prefetch();
                                player.start();
    

    I use Blackberry JDE. Now, I'm supposed to put the audio file of the project?

    Second, how then use the class.forName function? I put the audio file as a member of the project and then tried the above code and I get that it can not find lib.testother (which is the path of the code).

    If I use getClass() instead of dir above, getResourceAsStream returns null.

    Are there examples of the use of these or how to include the audio in your project... from end-to-end. The code snippet above is all I could find and it isn't enough.

    THX

    D

    Check this thread:

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=11616&query.ID=18...

  • Decryption of the output of DESEncryptorEngine using the encryption of the j2se class

    Does anyone know how this can be done?  I'm the encryption with the following:

            byte[] keyBytes = new byte[] { -62, 11, -39, 115, 61, -123, 91, -105 };        byte[] data = new byte[] { 90, 61, 43, 52, 81, 42, 124, 82 };        byte[] encryptedData = new byte[data.length];
    
            DESKey key = new DESKey( keyBytes );        DESEncryptorEngine encryptor = new DESEncryptorEngine( key );        encryptor.encrypt( data, 0, encryptedData, 0 );
    
            //encryptedData now equals { -27, 79, 100, 23, -113, 20, -24, -80 }; 
    

    And decryption using the class encryption of the j2se as follows:

            byte[] keyBytes = new byte[] { -62, 11, -39, 115, 61, -123, 91, -105 };        byte[] encryptedData = new byte[] { -27, 79, 100, 23, -113, 20, -24, -80 };
    
            SecretKeySpec key = new SecretKeySpec( keyBytes, "DES" );        Cipher cipher = Cipher.getInstance( "DES/ECB/NoPadding" );        cipher.init( Cipher.DECRYPT_MODE, key );        byte[] data = cipher.doFinal( encryptedData );
    
            //data now equals {24, 124, -74, -35, -115, -39, -65, -87}, which is WRONG!
    

    I tried all combinations possible of algorithm/mode/padding for Cipher.getInstance ().  What I am doing wrong?

    Thank you

    Mark

    Too bad, I was misinterpretting as the keys in the way which were used.

    Sorry,

    Mark

Maybe you are looking for

  • Link for you to connect to a desktop to another computer

    I just bought a HP computer... HP Pavilion HPE h9 - 1210t Phoenix. I also have a HP laptop. I got a link that would allow me to see one office to another and I had to do a restore of the system on the office and lost this link and I was wondering if

  • How to run vi

    Hello I m new in labview. I want to run my VI means automatically when I double click on my VI. I don't have to run it manually by clicking the arrow to run it. Infact I want to remove this bar to my application program.

  • finger 2 roll

    I have just boughed spectrum HP 360 but I want to reverse the direction of travel of the 2 finger, is it possible? I am unable to find it.

  • Help blackBerry Smartphones RIM required expert

    Can someone explain why this is happening. In brief on my Storm, I can't get full blackberry service so that in a call on the network, but everything seems to work ok while the phone is in mode only GPRS Here are some from my Blackberry to al72al net

  • Message from Smartphones get BBM blackBerry copied to the Clipboard.

    Hey when I copied a BBM message it reads copied in the Clipboard... I can't find Clipboard anywhere on my flashlight to look at the message.