The Element tag for CSS - how to use it?

Hi,
I was watching this video and this guy was using Inspect Element in Chrome to identify things he wanted to change in a web page.  I remember him using this a lot:
element.style {
...and then write in Dreamweaver the changes to his CSS.  I've not been able to figure out what that above element.style means though.  Can someone help explain what it is?  Do I need to use it every time I want to add a change to my existing CSS file?  Sorry this is a vague question but I just want to understand it better.  For some reason, I've gone to W3 school and still can't find anything.
Thanks.

At a guess
element.style {
is a generic term meaning exactly that.
element is the element that is being referenced as in p, div, span, h2 etc, etc.
.style is the class that has been assigned to the element for identification.
If we wanted to change the colour of the text of a particular heading we would use
h2.red {
     color: red;
and our markup would look like
<h2 class="red">This is my red heading</h2>

Similar Messages

  • If I by aperture at the App Store for $80, how many computers can I install it on??

    If I by aperture at the App Store for $80, how many computers can I install it on??

    For personal use... Any Macs that you own.
    http://support.apple.com/kb/HT4461
    Regards
    TD

  • How to create the servlet as acontroller  and how to use it

    how to create the servlet as acontroller and how to use it

    >
    John
    Please update your forum profile with a real handle instead of "914824".
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
    I am going to have over 50 buttons in a page, Why? This would be a most unusual UI paradigm. I've never seen such a page, which suggests that whatever you want to do is normally done another way. Please explain the requirement in more detail.
    just wanted to know if its possible to do something like this in java.
    Java is not used in programming APEX UI behaviour. Java and JavaScript may share initial syllables, but they are not closely related.
    It's possible to achieve a great deal in JavaScript, but a clear definition of the requirements is necessary. Do you mean the buttons should be dynamically generated? If so, yes, this is possible in JavaScript. What would drive the process?
    Also, i would like to have dynamic action on it, for example, when the button is pressed, fill a string of text into other items(text field) within the page. Without more detail its not possible to make any specific suggestions. For example, I certainly would not want to create 50+ individual dynamic actions relating to different buttons.

  • How can I have one thing open in Safari on my MacBook Pro and search for another thing in Safari without closing out of the other? For instance, How can I leave Pandora playing while I search Facebook?

    How can I have one thing open in Safari on my MacBook Pro and search for another thing in Safari without closing out of the other? For instance, How can I leave Pandora playing while I search Facebook?

    With Safari open use the Command + T keyboard shortcut to open a new tab.
    Or, Command + N to open a new window.

  • I have ps elements 10  for  pc how  do  i crossgrade  to mac version of same sw?

    i have ps elements 10  for  pc how  do  i crossgrade  to mac version of same sw?

    Hi Rikk,
    Welcome to the Community!
    You will not be able to crossgrade as it is available for the current versions.
    Check this link for the same: http://helpx.adobe.com/x-productkb/policy-pricing/order-product-platform-language-swap.htm l
    Thanks!
    Ankit

  • HT1208 Where do I find a tutorial about how to use the new iTunes? I have version 11.1.3 (8). I looked on the Apple web site but only found info extolling the virtues of iTunes, not how to use it.

    Where do I find a tutorial about how to use the new iTunes? I have version 11.1.3 (8). I looked on the Apple web site but only found info extolling the virtues of iTunes, not how to use it.

    Use it the same way as previously.
    ctrl B shows the menus.
    ctrl S shows the sidebar.
    What else do you need help with?

  • What's the Commitment item? And how to use it?

    When I create a G/L account by FS00 I need to input a Commitment item.
    But I don't know how to use it.
    Can you tell me what's the Commitment item? And how to use it?
    Thank you very much.
    Moderator: Try pressing F1 or going to help.sap.com

    >>In SAP XI / PI, WS adapter is not thier frm standard SAP.
    Are you sure about this?
    WS is a standard adapter shipped along with PI 7.1 installation.
    Quote from help.sap.com
    Using the WS adapter you can configure the communication of systems, which communicate with each other using the Web service runtime either directly (point-to-point) or using the Integration Server
    Refer:
    http://help.sap.com/saphelp_nwpi71/helpdata/en/0d/5ab43b274a960de10000000a114084/content.htm
    http://help.sap.com/saphelp_nwpi71/helpdata/en/45/37d73b80554c2ce10000000a1553f6/frameset.htm
    If you are not sure about what you are saying, it is better not to say it.

  • I am working with two computers in my profession (Mac/PC). I want to download testversions, lets say Premiere Elements 13, for Mac and PC using my adobe login. Is this possible?

    I am working with two computers in my profession (Mac/PC). I want to download testversions, lets say Premiere Elements 13, for Mac and PC using my adobe login. Is this possible?

    Sure. Elements is cross-platform, anyway.
    Mylenium

  • I have forgotten what the url is for icloud, how do I log in?

    I have forgotten what the url is for icloud, how do I log in?

    iCloud web interface: www.icloud.com
    To set up your device with iCloud go "Settings > iCloud" (iOS 5) or "System Preferences > iCloud" (Lion & Mountain Lion)

  • Can the keynote app for my macbook be used for my iPad as well? or do i need to purchase the iPad app too??

    can the keynote app for my macbook be used for my iPad as well? or do i need to purchase the iPad app too??

    You need to purchase both. They are different apps.

  • Developerproblem: i cant get the onkeyup event to work on the body tag in firefox how can i do this? this used to work in previous versions of firefox

    i made an application using DOM and i am using extensively keyup events in the body tag
    in previous versions of firefox this was working fine
    but now it doesnt
    events that do not work for body tags that i have used are
    onKeypress
    onKeydown
    how ever the event does fireup if the html element are of input types (e.g. textboxes, images, etc)
    how do i address this problem?

    A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.<br>
    You need to register at the MozillaZine forum site in order to post at that forum.

  • How do I get ALL the info records for a materials plants using an SAP FM?

    I need to get all of the info records from the EINE table for a material - all of its sites (plants, we are using SAP retail).
    The problem is this:  I call the FM MD_INFORECORDS_READ - here is the code for my call:
    CALL FUNCTION 'MD_INFORECORDS_READ'
              EXPORTING
                imatnr               = t_output_data-article <-- the material number
                iliefnr              = lv_eina_key < -- see below on how I get this
              importing
                eeine                =
              TABLES
                exp_eina             = it_eina
                exp_eine             = it_eine
              EXCEPTIONS
                no_eina_record_found = 2
                no_eine_record_found = 3.
    lv_eina_key is taken from this call:
    SELECT SINGLE altkn INTO lv_vendor_no
            FROM lfb1
            WHERE lifnr = lv_site (plant)
            AND bukrs = t_output_data-company_code.
    The probelm is it only returns the first record it finds for each site.  There could be multiple info records, each one based a a different Valid From date for each site.  I need either ALL of the EINE records for each site OR the most current one
    I know I am not using ALl of the parms in the FM - but are there  maybe there are other ones should I be using.
    Perhaps there is there another FM I should be using - cause I do not have the info record number to pass. 
    Thanks.
    Scott

    Never mind - the FM does work - this was bad data.

  • How to find the Commitment cost for a PM order using tables ?

    Hello all ,
           How to find the Commitment cost for a given PM order using table  .
    Thanks and regards ,
    Prem.

    Issue got resolved

  • How to block the Form Settings for Main Menu to use ONLY "My Menu"?

    Hi everyone:
    Our customer wants to define an User Menu (My Menu) for each B1 user within the company and restrict the Modules at main menuu2026
    How can I block the Form Settings for the Main Menu?... It is possible to give an user Only access to My Menu and denied Authorization to the Modules?. 
    I appreciate your help!!. Thanks very much
    Claudia Gutiérrez

    Hi,
    'My Menu' refers to the third tab on the Main Menu, and the
    authorization of 'Organize My Menu' works as below:
    - Full Authorization: Allows the user to access the Organize User Menu
      window (Tools -> User Menu -> Organize) and customize the menu.
    - No Authorization: The user cannot open this window.
    Check the Note  [1062635|https://websmp130.sap-ag.de/sap(bD1odSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1062635] if you are looking for it.
    Regards,
    Jitin
    SAP Business One Forum Team

  • How do I obtain the next number for a Primary Key using an ADF View Object?

    I have two separate View Objects (A & B) for the same Entity Object. View Object A does a SELECT on all of the fields in the table. This View Object is where I execute my adds and updates. View Object B is only used to retrieve the next number for the primary key. This is done so that when I add a row to the database, I always get the max number of the primary key and add one to it. I accomplished this by setting the SQL mode to Expert and using the SQL: "SELECT MAX(NBR) AS MAX_NUMBER FROM TABLE_1". This may be overkill having a seperate View Object for this, but so far this is the only way I have found to obtain the next number. However, I have discovered that this way does not always work.
    The problem I'm running into is when I try to add multiple records to View Object A without committing the transaction between each add. Because View Object B is disconnected from View Object A, the MAX_NUMBER of View Object B comes back with the same number for each add I do on View Object A. So I know I must retrieve the MAX_NUMBER from View Object A.
    I've tried using the following code in my Table1ViewImpl class:
    this.setQuery("SELECT MAX(Table1.NBR) AS MAX_NUMBER FROM TABLE_1 Table1");
    this.executeQuery();
    The view object now has what I want, but I have yet to figure a way to extract the MAX_NUMBER out of the View Object. I've also looked into using the method addDynamicAttribute() but I can't figure out any way to set the attribute with the MAX_NUMBER.
    I can't be the only one trying to retrieve the next number from a database table using ADF. Can anyone help me with this? FYI - I'm using JDev 10.1.3 EA.

    You missing the point.
    On a multi-user db knowing the next highest number doesn't guarantee the number will be available when it comes time to commit the record. You can prove this to yourself by opening two instances of your app and do whatever you do to add a new record to your VO. Both will assume the same number, and when you commit an error will be generated
    You must use sequences to avoid the possibility of duplicate keys. If you are trying to avoid gaps in your numbering then you need to convince yourself why this is necessary.

Maybe you are looking for

  • Song won't play in landscape mode

    I have what appears to be one song that won't play in the music app when the ipad is in landscape mode. When you press on the screen, nothing happens. If you flip the ipad to portrait mode it plays just fine. This is an itunes purchased song. I have

  • Date popup validation in manual tabular form

    Hey all- I'm creating a tabular form manually (i.e., with apex_collection) per instructions at OBE (http://www.oracle.com/technology/products/database/application_express/ppt/odtug2008_marcie_young.pdf). Working fine, except I'm having a problem with

  • Install RAC failed with root.sh error while loading shared libraries: libst

    Hi , I install rac under vmware workstation using this atricle . http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnCentos4UsingVMware.php everything work smoothly but I faced error with root.sh Failed to upgrade Oracle Cluster Reg

  • TreeTable control: where is hasExpander property?

    Hi all, I'm using TreeTable control to show dynamically loaded data. When the first level elements are loaded, I am not loading the whole tree, just the root. The children levels will be loaded when the toggleOpenState event is triggered. I have foun

  • Highlight with a Picture behind a button.

    Im trying to make the buttons on a dvdsp4 project highlight with a .psd file of a piece of masking tape. I want the tape pic to appear behing the button's text when thier mouse passes over it or when they have moved to it with thier dvd remote. Im st