Can you spot the flaw in this short CSS snippet?

In the following example...
table.grid02 td.buff {
background:url(/images/layout/shadow.jpg) repeat-y;
table.grid03 td.buff {
width:10px;
<table class="grid02">
  <tr>
    <td class="buff">
    </td>
  </tr>
</table>
...I was under the impression that no background image would show up. But shadow.jpg is showing up. Why? The code should only apply the 10px width, shouldn't it? I mean, if I understand CSS syntax correctly...
What am I not understanding about this process?
Thanks!

Sorry, my mistake. That was a typo when posting the problem. In the actual code, it *is* grid03. And it still shows the bg.
I'd edit the OP but for some reason it won't let me. So I'll just re-post everything with the typo fixed :
In the following example...
table.grid02 td.buff {
background:url(/images/layout/shadow.jpg) repeat-y;
table.grid03 td.buff {
width:10px;
<table class="grid03">
  <tr>
    <td class="buff">
    </td>
  </tr>
</table>
...I was under the impression that no background image would show up. But shadow.jpg is showing up. Why? The code should only apply the 10px width, shouldn't it? I mean, if I understand CSS syntax correctly...
What am I not understanding about this process?
Thanks!

Similar Messages

  • Can you spot any irregularities with this redo log configuration

    DB version:10gR2
    We were frequently getting 'log file sync' ranked 1 in TOP 5 wait events in AWR reports. So i looked at alert log.Can you spot any irregularities from below mentioned Redo log switching i got from the alert log?
    Thu Nov  6 05:00:07 2008
    Thread 1 advanced to log sequence 65790
      Current log# 2 seq# 65790 mem# 0: /DLPRD/ora1/APP_MK/APP_MK_redo2a.log
      Current log# 2 seq# 65790 mem# 1: /DLPRD/ora2/APP_MK/APP_MK_redo2b.log
    Thu Nov  6 05:40:37 2008
    Thread 1 advanced to log sequence 65791
      Current log# 4 seq# 65791 mem# 0: /DLPRD/ora1/APP_MK/APP_MK_redo4a.log
      Current log# 4 seq# 65791 mem# 1: /DLPRD/ora2/APP_MK/APP_MK_redo4b.log
    Thu Nov  6 05:52:31 2008
    Thread 1 advanced to log sequence 65792
      Current log# 3 seq# 65792 mem# 0: /DLPRD/ora1/APP_MK/APP_MK_redo3a.log
      Current log# 3 seq# 65792 mem# 1: /DLPRD/ora2/APP_MK/APP_MK_redo3b.log
    Thu Nov  6 06:19:05 2008
    Thread 1 advanced to log sequence 65793
      Current log# 1 seq# 65793 mem# 0: /DLPRD/ora1/APP_MK/APP_MK_redo1a.log
      Current log# 1 seq# 65793 mem# 1: /DLPRD/ora2/APP_MK/APP_MK_redo1b.log
    Thu Nov  6 06:29:04 2008
    Thread 1 advanced to log sequence 65794
      Current log# 2 seq# 65794 mem# 0: /DLPRD/ora1/APP_MK/APP_MK_redo2a.log
      Current log# 2 seq# 65794 mem# 1: /DLPRD/ora2/APP_MK/APP_MK_redo2b.log
    Thu Nov  6 06:34:24 2008
    Thread 1 advanced to log sequence 65795
      Current log# 4 seq# 65795 mem# 0: /DLPRD/ora1/APP_MK/APP_MK_redo4a.log
      Current log# 4 seq# 65795 mem# 1: /DLPRD/ora2/APP_MK/APP_MK_redo4b.log
    Thu Nov  6 06:42:02 2008
    Thread 1 advanced to log sequence 65796
      Current log# 3 seq# 65796 mem# 0: /DLPRD/ora1/APP_MK/APP_MK_redo3a.log
      Current log# 3 seq# 65796 mem# 1: /DLPRD/ora2/APP_MK/APP_MK_redo3b.log
    Thu Nov  6 06:56:19 2008
    Thread 1 advanced to log sequence 65797
      Current log# 1 seq# 65797 mem# 0: /DLPRD/ora1/APP_MK/APP_MK_redo1a.log
      Current log# 1 seq# 65797 mem# 1: /DLPRD/ora2/APP_MK/APP_MK_redo1b.log
    Thu Nov  6 07:16:12 2008
    Thread 1 advanced to log sequence 65798
      Current log# 2 seq# 65798 mem# 0: /DLPRD/ora1/APP_MK/APP_MK_redo2a.log
      Current log# 2 seq# 65798 mem# 1: /DLPRD/ora2/APP_MK/APP_MK_redo2b.log

    Log file sync is usually a symptom of "over commiting", perhaps some batch job who commits after every row processed, see Note 34592.1 WAITEVENT: "log file sync" Reference Note for a complete reference.
    HTH
    Enrique

  • Can anyone spot the problem with this coding??

    can anyone spot this problem with my program. it keeps saying
    "missing return statement } " with a little arrow beneath the bracket.
    many thanks
    public class Game extends GameInterface
         GameInterface gameInt = new GameInterface();
         String boardString;
         // final static char NOUGHT='O', CROSS='X';
         private int square = 0;
         Player player1 = new Player();
         Player player2 = new Player();
         String firstPlayer, secondPlayer;
         public Game() // Constructor
              boardString = "0123456789";
    public boolean initialise(boolean first)
                   gameInt.setPlayerNames(player1,player2);
              MyPrint.myPrintln("Player one name is " + player1.getName());
              MyPrint.myPrintln("Player two name is " + player2.getName());
              String P1 = player1.getName();
              String P2 = player2.getName();
    }

    It means you declare your method to return something, but you don't actually return anything.

  • Can you spot any glitches in this workflow for my projects

    I have been going back and forth on this topic of what format to use for my projects and have proposed various solutions which have not worked out because of some issue I overlooked. After much thought and a lot of reading, I came up with this one: I want to produce dvds for computer viewing only, using FCP HD and DVDSP 3. I'm using graphic sources ONLY, created in Motion 2 and Photoshop CS2 with music files created in Logic Pro 7, no footage. I plan to use the DVPro HD 720p 24 for the format in FCP and Motion. Since I am not using captured footage in the projects, I thought I could use just the portion of the area of the 720p screen that I would need for DVD output, which is 720 x 480, by marking it off with guides. All of the graphics from Photoshop and Motion would be brought in at the regular 720p dimensions but the content would be only in the same 720 x 480 area of the screen. When the project is done I would export it as a Quicktime movie at full size and bring it into Compressor 2. I would then use the setting for preparing it for DVDSP but I would crop the size to just that same 720 x 480 area where I limited my content. My hope is that because the dimensions are those for NTSC DV, that my pixel aspect ratio will remain square and not getsquished, and with progressive scanning it will look fine on a computer screen. Does this plan sound like it will accomplish the result I'm looking for?

    The lumina shifts out of the wipes are a result of the H.264 encoding...it isn't on the original footage. I can't figure that one out...I tried exporting out of FCP, converting with QT AND Compressor and got the same result. Scratching my head there...
    The 3-way CC was good in many cases, but when it came to the marsh grasses, it had some difficulty. Mainly in separating the blues and greens, and getting rid of the general haze of the shot. MB and CF were able to dig out the colors, but yes, Magic Bullet had more...vivid sepiad colors. That is a result of using the Color Reversal template and futzing with it, and my inexperience with MB. Color Finesse was much more familiar to me, and I was able to get STUNNING results. This is why I chose that shot for CC, because it appeared to need the most work.
    I was able to get better results with the 3-way with other footage. Most of the other footage was shot with a distinct blue tint to it, but that is easily fixable.
    I don't fault my DP too much. I asked for test footage to play with, and he did a days work, on his own time, for me to work on. The other stuff I was previously working on was for a project I am just wrapping up, and the footage was not allowed to be posted.
    All in all I feel this footage has a very cinematic feel. It is easy to work with at full resolution, doesn't take up all that much space and very very pretty to look at. The big issue that will arise is the fact that the 23.98 timeline offers ONLY NDF timecode...not DF. I have to deliver a 59.94 d5 at 10-bit uncompressed, and that allows for DF, but my timing will have to be adjusted. Just how it will is something I will be exploring as the projects plods on.
    Shane
    "There's no need to fear, UNDERDOG is here!"

  • Can anyone spot the error in this script for iTunes?

    This AppleScript is designed to copy the Name and Artist of an iTunes track, then populate the Album Artist field with both, separated with an oblique. But when I run the script in iTunes, it only pastes the Artist name in to the Album Artist field and not the whole string.
    tell application "iTunes"
    if selection is not {} then -- if tracks are selected...
    set sel to selection
    set numTracks to (length of sel)
    set s to "s"
    if numTracks is 1 then set s to ""
    display dialog "Adds the name of the track and the name of the artist to the Album Artist field." & return & return & (numTracks & " track" & s & " selected.") buttons {"Cancel", "Continue"} default button 2 with title "Create Album Artist" giving up after 30
    if gave up of result is true then return
    repeat with t from 1 to numTracks
    tell contents of item t of sel
    set {album artist} to ({get artist} & " / " & {get name})
    end tell
    end repeat
    else
    display dialog "No tracks have been selected." buttons {"Cancel"} default button 1 with icon 0 giving up after 30
    end if -- no selection
    end tell

    Hello
    Try -
    tell item t of sel
    set album artist to (get artist) & " / " & (get name)
    end tell
    instead of -
    tell contents of item t of sel
    set {album artist} to ({get artist} & " / " & {get name})
    end tell
    In your original code, the left and right value of assignment are both list, i.e. -
    left value = {album artist}
    right value = {get artist, "/", get name}
    Consequently 'album artist' is assigned to the 1st item of the list at right, which is the result of 'get artist'.
    In order to avoid this, don't use list assingment, which is not necessary at all here.
    Also, I think you may just tell item t of sel, not contents of item t of sel.
    Hope this may help,
    H

  • Can you spot the datarelationship?

    I have been adding imports for different file formats to my application, but one has got me totally puzzled. You may find it amusing to to identify the relationship/conversion, and it would be extremely hepful for me.
    What the documentation says:
    The samples are saved as 16-bit integers in pair complementation.+
    The author's first language was german and this may be a slight misphrasing - I never heard of pair complementation. twos complement??)
    The data. I'll list 3 samples:
    Note, the data format is LITTLE ENDIAN. so for practical purposes reverse the HEX, e.g. f0 55 -> 55 f0.
    My Hex editor: 00 00
    Binary value: 0
    desired value: 0
    My Hex editor: f0 55
    Binary value: 22000
    desired value: 7.3544
    My Hex editor: 30 75
    Binary value: 30000
    desired value: 10.0287
    What am I missing? how is the decimal point/sign encoded? I believe its not floating point arithmatic. Its from an old dos program format. If you need any more info (clues :) ), let me know. Many thanks...
    George
    Edited by: georgePerkins on Apr 10, 2008 1:21 PM

    My Hex editor: f0 55
    Binary value: 22000
    desired value: 7.3544
    hex 55F0 == decimal 22000
    My Hex editor: 30 75
    Binary value: 30000
    desired value: 10.0287
    hex 7530 == decimal 30000
    The rest is gibberish.

  • Can you find the problem in this code?

    I've searching some examples of the using of JTable on this forum.
    So I've used a code found here.
    But nothing happens, the JFrame doesn't appear on screen.
    I'm sure my database "CLIENTES" exists inside the db folder. And also there's data inside "CLIENTES" table.
    So, where is the problem then?
    Thanks.
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import javax.swing.*;
    import javax.swing.table.*;
    public class TelaPrincipal extends JFrame {
       public TelaPrincipal() {
            Vector columnNames = new Vector();
            Vector data = new Vector();
            try {
               //  Connect to the Database
               String driver = "org.hsqldb.jdbcDriver";
               String url = "jdbc:hsqldb:file:./db/CLIENTES";
               String userId = "sa";
               String password = "";
               Class.forName(driver);
               Connection connection = DriverManager.getConnection(url, userId, password);
               //  Read data from a table
               String sql = "SELECT * FROM CLIENTES";
               Statement stmt = connection.createStatement();
               ResultSet rs = stmt.executeQuery(sql);
               ResultSetMetaData md = rs.getMetaData();
               int columns = md.getColumnCount();
               //  Get column names
               for (int i = 1; i <= columns; i++){
                  columnNames.addElement( md.getColumnName(i) );
               //  Get row data
               while (rs.next()) {
                  Vector row = new Vector(columns);
                  for (int i = 1; i <= columns; i++) {
                     row.addElement(rs.getObject(i));
                  data.addElement(row);
               rs.close();
               stmt.close();
            catch(ClassNotFoundException cnfe) {
               cnfe.printStackTrace();
            catch(SQLException sqle) {
              sqle.printStackTrace(); 
            //  Create table with database data
            JTable table = new JTable(data, columnNames);
            JScrollPane scrollPane = new JScrollPane( table );
            getContentPane().add(scrollPane);
        public static void main(String[] args) {
           TelaPrincipal tp = new TelaPrincipal();
           tp.setDefaultCloseOperation(EXIT_ON_CLOSE);
           tp.pack();
           tp.setVisible(true);
    }

    the jdbc driver is not on the classpath?

  • How can you expect the customer to have a LOCAL/COUNTRY Based Credit Card every where we go??? Last week I was on holiday in HK,  and  from my Hotel I was able to use m VN Credit Card with my Apple ID and purchase online!  Why THIS WEEK, can't I use my HS

    Apple_ID_card_declined_for_this_country
    How can you expect the customer to have a LOCAL/COUNTRY Based Credit Card every where we go???
    Last week I was on holiday in HK,
    and
    from my Hotel I was able to use m VN Credit Card with my Apple ID and purchase online!
    Why THIS WEEK, can't I use my HSBC Platinum Credit Card from Vietnam,
    for my Singapore Apple ID account ,
    while working here in Vietnam???

    Unfortunately, this is a problem that is driven by the DRM Dictatorship.  Despite the proliferation of mobile devices and the fact that there are many of us who do a lot of international travel, content providers don't want you to have access to their products outside of your homeland.  The Balkanized mentality of the DRM Dictatorship is way out of touch with the modern world.
    At least Apple, to its credit, allows you to use your accounts outside of your homeland as long as you have the proper credentials for them.  Most other services use the more Draconian geolocation filtering which does require you to be physically present in your homeland.  For the most part, you are not allowed to leave home if you want access to your favorite entertainment!

  • HT1553 Hi, I'm stuck at step 9. I don't see my external harddrive when I want to save the DMG backup file. Can you please help me with this? I'm desperate to make this backup! Big thanx in advance!

    Hi, I'm stuck at step 9. I don't see my external harddrive when I want to save the DMG backup file. Can you please help me with this? I'm desperate to make this backup! Big thanx in advance!
    http://support.apple.com/kb/HT1553

    Repair permissions and restart your computer.  If this does not work, zap the pram.  You should now see your external hard drive. 

  • Why am I not able to type into my pdf files. Why is the cursor only appearing at he areas where there in no typing? I believe I know who's doing this, but can you fix the problem for me please?

    I cannot type into one of my pdf files. The cursor only appears where there is no typing. I believe there is foul play going on on my computer, Can you fix this problem?

    Hi Donna,
    Let's see if we can get to the bottom of this mystery! I hope it's not foul play.
    You say the problem is with just one of your PDF files? What version of Acrobat/Reader are you using? If you're in Reader, you're limited to commenting/annotating the PDF (you can't edit text with Reader, so you wouldn't be able to select text that's in the PDF already).
    Please let me know what program/tools you're using and we can take it from there.
    Best,
    Sara

  • I just noticed Private browing option, has this been downloaded or automatically added? I dont want my kids up to no good, as how can i check what they're looking at? Can you delete the private browser?

    Can you delete the private brower option

    That has been a feature in Firefox since Firefox 3.5 was released in June, 2009, it's not '''new'''.
    Sorry, that feature can't be "removed" without breaking a security part of Firefox, and the developers didn't provide a "switch" to allow parents to turn it off. What's even worse it that there is a Bug filed to disable Private Browsing when the Parental Control's that are built into Windows Vista and Windows 7 are turned on. Nothing has been done to fix that Bug in almost 2 years since that Bug was originally filed. <br />
    https://bugzilla.mozilla.org/show_bug.cgi?id=471658 <br />
    Hell, there hasn't even been a comment posted in that Bug in almost 7 months. I have done everything I can do as a support helper to make the developers aware of how important this Bug is for parents, based upon parental feedback here - that has been accepted as ''' "Thanks .... So it's on average 2 requests for this per week." '''
    In all honesty though, even if that Bug is fixed a child can just delete their browsing history in any browser quite easily; sure you'll see that it has been deleted, but you still won't know where they have been. You really need to install some Parental Controls on that PC that tracks the web sites that are being visited outside of a web browser, and can only be accessed with a password.
    I don't have any recommendations for that type of software, as I haven't needed it myself. Never had any children, and if I did even my grand-children would probably be old enough not to need monitoring like that.

  • HT1351 Can you take the music off the existing library on the ipod and sync it to a new itunes library?? and if so how do you do this???

    Can you take the music off the existing library on the ipod and sync it to a new itunes library?? and if so how do you do this???

    See this excellent User Tip from another forum member turingtest2 on how to recover content from your iPod back into iTunes.
    https://discussions.apple.com/docs/DOC-3991
    B-rock

  • While listening to a podcast on my iPhone I can e-mail the podcast ID. The email contains the url for the specific podcast. So you would assume that you could put that url into iTunes and it would take you to the podcast. This used to work but no longer.

    While listening to a podcast on my iPhone I can e-mail the podcast ID to share it with someone else. The email contains the url for the specific podcast. So you would assume that you could put that url into iTunes and it would take you to the podcast. This used to work but no longer. Months ago when I would e-mail myself the url all I had to do was click on the link in the e-mail and it took me right to the specific podcast in iTunes. Now it only opens iTunes and I can't figure out how to find the specific one. What good is the e-mail tab on the iPhone if it doesn't connect you to the podcast you sent?

    Same here. I just posted a question too.

  • I just bought the monthly package of lightroom and photoshop cc. I can't seem to find it under the apps on creative cloud - can you please assist me with this.

    i just bought the monthly package of lightroom and photoshop cc. I can't seem to find it under the apps on creative cloud - can you please assist me with this.

    You can right click the tab and choose "Close Tab" to close a tab.
    Some menu entries are hidden by default and only appear if you use the keyboard to open the menu.
    You can see the difference if you use Alt+F or Alt+B to open the "File" and "Bookmarks" menu and compare that to what you see if you use the mouse to open the menu after you have made the menu bar visible by pressing Alt or by pressing F10.
    Press F10 or press and hold the Alt key down to bring up the "Menu Bar" temporarily.

  • What is the latest version and updates available of Firefox for Mac system 10.3.9? Can you provide a link of this for downloading.

    What is the latest version and updates available of Firefox for Mac system 10.3.9? Can you provide a link of this for downloading. I am currently using Firefox 2.0.0.20 but need to upgrade to use Bell.net email.
    == URL of affected sites ==
    http://

    Firefox 2.0.0.20 is the last version that works on OS X 10.3.9
    You may want to consider using another browser if 2.0.0.20 does not work for your email. You could try using Safari for your email. If that does not work or prefer an alternative, a couple of options are [http://www.icab.de/dl.php iCab 4.8] or [http://www.opera.com/download/?os=mac&ver=9.64&local=y Opera 9.64] (Opera 10 does not work on OS X 10.3.9)

Maybe you are looking for