Table cell background

Hello... I need help. I use a table to layout the page and have a column of 3 rows on the left I want just a background image. I inserted the picture in the cell and also in the CSS style applied to it. It looks good in DW, but when displayed in IE or FF, the column collapses to a few pixels. I have a 88 now applied in the style and the cell width, but again, he collapses. The link to the page is www.carondesign.com/europe/england.html
I tried to insert a spacer image, but that did not help. The code of the cell and the CSS to follow... Thanks in advance.

< td width = "88" rowspan = "3" align = "left" valign = "top" background = "europe_images/vertdot_bg.gif" class = "verttable" > < table > "

{.verttable}
URL(europe_images/vertdot_bg.gif) repeat top center;
margin: 0px;
padding: 0px;
border-top: medium none;
border-right: Middle Ridge #525252;
border-bottom: medium none;
border-left: medium none;
Width: 88px;
}

Hello

Change the width in the .maintable CSS of 700 to 790.

Take care
Tim

"scaron" wrote in message
News:fl8sne$g7i$1@forums. Macromedia.com...
> Hi... I need help. I am using a layout table this page and I have a 3 line
> column
> on the left I want just a background image. I have inserted the image
> in the
> cell and also in the CSS style applied to it. It looks good in DW,
> but
> When displayed in IE or FF, the column collapses to a few pixels. I have
> have
> width 88 applied in the style and the cell now, but it is still
> collapses. The
> link to the page is www.carondesign.com/europe/england.html
> I tried to insert a spacer image, but that did not help. The code of the cell and
> CSS
> follow... Thanks in advance.
>
>
> background = "europe_images/vertdot_bg.gif" class = "verttable" > "
>
> .verttable {}
> url(europe_images/vertdot_bg.gif) repeat top center;
> margin: 0px;
> padding: 0px;
> border-top: medium none;
> border-right: Middle Ridge #525252;
> border-bottom: medium none;
> border-left: medium none;
> width: 88px;
> }
>

Tags: Dreamweaver

Similar Questions

  • The table cell background image problem-

    I'm sure it's something super simple, but I can't see what it is. I'm working in Dreamweaver CS3, but having to modify the code by hand, because the code is not validated I fight to clean up the last error on this page before applying the model it is based on the rest of my site...

    This page was based on the original model: http://jpcltdservices.com/template-page.html

    As you can see by the w3C validator, it had a number of problems with the tags for the table background image:

    http://validator.w3.org/check?URI=http%3A%2f%2Fjpcltdservices.com%2Ftemplate-page.html & cha rset = (detect + automatically) & doctype = Inline & group = 0 & verbose = 1 & st = 1 & user-agent = W3C_Validator %2F1.606

    I cleaned up by adding the table background image css to my stylesheet main and changed the code in the page for suggested type reference.

    http://jpcltdservices.com/Alternate_template_page.html

    W3C validator shows now only 1 error:

    http://validator.w3.org/check?URI=http%3A%2f%2Fjpcltdservices.com%2FAlternate_template_pag.html & charset = (detect + automatically) & doctype = Inline & group = 0 & verbose = 1 & st = 1 & = _Validator%2F1.606 W3C user agent

    The problem is, if I replace the background = "Images/CellBG1sm.jpg td' on line 34 with style ="background-image"td tag that works on line 27, the background image disappears completely from the whole table!"

    I'm sure it's something super simple, but I can't see it. I'm working in Dreamweaver CS3, but having to modify the code by hand, because the code it generates does not validate in many cases.

    TequilaMockingbird published in macromedia.dreamweaver

    > I cleaned up by adding the css to the bottom of table
    > image to my main
    > sheet style and changed the code in the page to the suggested
    > reference style.
    >
    > http://jpcltdservices.com/Alternate_template_page.html
    >
    > W3C validator shows now only 1 error:
    >
    >
    > http://validator.w3.org/check?uri=http%3A%2F%2Fjpcltdservices.com%2
    > FAlternate_te
    > mplate_page.html & charset = (detect + automatically) & doctype = Inline & group
    > p = 0 & verbose = 1 &st=1&user-agent=W3C_Validator%2F1.606
    >
    > The problem is, if I replace the td
    > background = "Images/CellBG1sm.jpg" on "
    > line 34 with style = "background-image" td tag that works on
    > line 27, the background image disappears completely from all
    > table!

    You seem to be sensational. The CSS validator is another object of value
    tool: http://jigsaw.w3.org . I suspect this first error to main.css is
    the incorrect syntax used here:

    background-image: {"url... / Images/CellBG1sm.jpg";}
    ' background-repeat: repeat;
    }

    Go ahead and remove this rule completely.

    For an inline style, try this:

    But it might be better to remove all those inline styles and use your
    external main.CSS. For example, you are not currently using. MainContent,
    so maybe it's a good place:

    . MainContent {}
    do-family: Arial, Helvetica, without-serif, Tahoma;
    color: #3F3F61;
    do-size: 100%;
    background-image: URL("Images/CellBG1sm.jpg");
    margin: 0 auto;
    padding: 0;
    Width: 790px;
    }

    Then, in the table cell or appropriate:


    or

    Not quite $ $0,02, but HTH

    --
    Mark A. Boyd
    Keep-on-Learnine :)

  • Difficult to scroll with the background color of table cell

    When I changed the background color of cell, the table has become difficult to achieve.

    And I can't finish change the cell background color, it takes forever.

    Anyone encountered this problem before?

    LabVIEW 2011 on WinXP.

    Hello Zou,.

    The problem is not with "background color of the cell.

    But the problem is with the "size of the Table!

    When the size of your table is huge, the windows + chart LabVIEW take longer to scroll.

    Attached VI may help you to experience the same. Change the size of the table and the roll of experience.

    Solution: -.

    1 initialize the Table for that size, if the size of your table is small.

    2. use a table (UI) + Scroll Bar (Manual from Numeric range) + internal buffer (block diagram), for the size of the huge table

    Kind regards

    Yogesh Redemptor

  • Change the background color of a table cell, depending on the selection in a drop-down list

    I have a drop-down list wrapped in a subform in a table cell. Users can choose green, yellow or red, and I want the background color to change according to their choice.

    Can you tell me why this script does not work? I'm sure that some of you, dear friends can see in a second.


    If (this. ListItem == "green") {}

    Subform1.DropDownList1.fillColor = "000,128,000"; BackgroundFill = "solid";

    }

    If (this. ListItem == 'yellow') {}

    Subform1.DropDownList1.fillColor = "255,128,000";

    }

    If (this. ListItem == 'red') {}

    Subform1.DropDownList1.fillColor = "255,000,000;

    }


    Thank you

    Hello

    I think you should be able to use the following code in the event change of the dropdownlist control.

    Form1. #subform [0]. Table1.row2.DropDownList1::change - (JavaScript, client)

    If {(xfa.event.change=="green)"}

    this.fillColor = "000,128,000";

    }

    If {(xfa.event.change=="yellow)"}

    this.fillColor = "255,128,000";

    }

    If {(xfa.event.change=="red)"}

    this.fillColor = "255,000,000;

    }

    Concerning

    Bruce

  • Change table cell color according to the input data

    Hi, I have a table in a form and I want the cells to have a dark in each cell if it has not entered data, but the cell background color to change white if no text is entered in the cell. Is it possible to do?  Thank you.

    You can use the fillColor for this property. It depends on your table structure how you do this. If you have relatively small table say 3 columns. 3 rows and then in each cell of sortient / calculate event you can put the following script.

    If (Cell1.rawValue == null & Cell2.rawValue == null & Cell3.rawValue == null)
    {
    Row1.fillColor = "255,0,0";
    }
    else {}
    Row1.fillColor = "255,255,255";
    }

    If you have a larger table, then you must create a function for it.

    Thank you

    Sidonie.

  • Balancing the columns with grids of fluid and CSS3 'table-cell '.

    I try to balance the height of by-side columns, and I'm happy to use ' display: table-cell "that I've seen work. But I can't make it work with DW flow layout grid. I have an example here: http://leighjackson-co-nz-dev.web4.pbstaging.com/htm/test-2a.htm

    I want the right div, color, below the image, to be full height, identical to the div of the text to the left of it. It doesn't seem to work.

    Any suggestions?

    Sorry, CSS display: table does not work on the floating divs.   The alignment is done with the width of the cells in the table, divs.

    {#div1}

    Width: 100%;

    Auto margin: 0;

    Display: table;

    border-collapse: collapse;

    }

    #div2 {display: table-row;}}

    {#div3}

    Display: table-cell;

    Width: 50%;

    background: #D8E9B6;

    vertical-align: top;

    }

    {#div4}

    Display: table-cell;

    Width: 50%;

    background: #CCE6FF;

    vertical-align: bottom;

    }

    HTML:

    Content for the div3...

    Content for the div3...

    Content for the div3...

    Content for the div3...

    Content for the div3...

    Content for div4 here...

    Nancy O.

  • How to bind a table cell?

    Hello

    What would be the best way to link this table cell? I want the entire cell related rather than just the text inside.

    < table width = "160" border = "0" align = "right" cellpadding = "5" cellspacing = "0" class = "backgroundbox-video" >
    < b >
    < td width = "167" align = "left" valign = "top" > < class p 'navheader-lg' = > Video Clip < /p >
    < class p "navheader-sm" = > watch a short < br / >
    video testimony < /p > < table >
    < /tr >

    Thank you very much

    Laura

    Of course, simply add the new image as a background in this selector:

    .vidA a:hover{     background-color:#C4F894;        background-image: url(...);}
    

    This might be a good time to mark this as so answered correctly the people who help will not need to click on this thread more.  Thank you!

    --
    
    E. Michael Brandt
    
    www.divahtml.comwww.divahtml.com/products/scripts_dreamweaver_extensions.phpStandards-compliant scripts and Dreamweaver Extensions
    
    www.valleywebdesigns.com/vwd_Vdw.aspJustSo PictureWindowJustSo PhotoAlbum, et alia
    
    --
    
  • subsidence of table cells...

    My last question for now...
    How can I get this cell collapse while my CSS assigned to this particular cell is dominant. At the present time, my CSS inserted figure shows, but the cell left a block of white space above the graph... as if the table cell knew reduce (or cultures down) the CSS image. Here is the piece of code & I'm not sure how to change it accordingly. -I just need the cell collapse for graph CSS image assigned.

    < b >
    < td width = "0" height = "0" class = "dotbar01" > < table >
    < /tr >

    Thank you very much!

    r_tist wrote:

    > Here is the State...
    > I deleted '& nbsp' my code & what does the cell collapse of extra space. When
    > the cursor is in this cell, my properties shows my name designated CSS,.
    > However, the Visual CSS does NOT appear (even if the fact of his name). -do
    > meaning?
    >
    > .dotbar01 {}
    > background-image: url (dotbar01.jpg);
    > background-repeat: repeat-x;
    >
    > This is my CSS for .dotbar01. It seems to only appear on the screen if I understand
    > the '& nbsp' in my code that causes the problem of the inclusion of a piece of white
    > space, the cell collapses not not at the height of the graph.
    >
    > Any ideas? -Thanks!
    >

    This is because the & nbsp stops the cell from completely collapsing. Try
    put a height in the cell.

    {.dotbar01}
    background-image: url (dotbar01.jpg);
    background-repeat: repeat-x;
    font size: 7px;
    }

    or

    {.dotbar01}
    background-image: url (dotbar01.jpg);
    background-repeat: repeat-x;
    height: 7px;
    }

    or put a transparent gif in the cell attached to the height you want it to be.

  • a cross on the table cell

    Is it possible a cross on the table cell?

    The term "strike" can have multiple interpretations.

    1. As a checkbox clickable?
    2. With diagonal lines, which intersect?
    3. With vertical lines or horizontal hash?
    4. With table cell fill of a model image pre-built?
    5. With gray scale or the fill color, without content, to suggest the use of cell?

    Pages, you didn't say what version, so I'll use v5.6.2, does not provide the points 1, 2 and 3 for the cells in a table.

  • table cell shift problem

    Get a weird selection indicator displacement effect in the cells when using tables in LV 2013 (32) on Win 7 (64).   Hesitate to call it a "scroll" because that which has other meanings in the context of the table.

    Click on the letters in the attached VI to see - same effects if the table is in a VI running or not.

    + clicking on 'A' has no effect.  You remove 'A', the cell to move.

    + clicking on one of the cells located below "A" act as above

    + clicking on the header cell 'x' causes a big drift.  Put the other values in the cell has other effects (some travel a lot, some not at all)

    + clicking on the cell of the table "y" causes a big bend on the side.  Put the other values in the cell has other effects (some travel a lot, some not at all)

    + clicking on the "z" table cell is not moving.  You delete 'z', a big bend on the side

    + I noticed the change which occurs when you remove "A" stops at the same place in the landscape as if you

    Comments:

    + Seems to be related to the cells to justify = center.

    + Shifting is always is from right to left.

    + I noticed the change which occurs when you remove "A" stops at the same horizontal location as if you click on 'y '.

    + occurs at least two different machines from different mfg both 2013-32 running on Win7-64.

    In the case where you are still interested, see 5 message in this thread.

  • access to table cells

    Hello

    Could someone please help me understand how to access the cells in a table (to do)?  I have a report with a table full of a channel.  In a column, it shows a list of names (which come from a channel).  I have another string with a list of colors and I want to associate each name in the table with a color of the second round. I tried unsuccessfully to access even a cell using D2TabRow and D2TabCol and the content...

    Any help is appreciated

    Thank you

    Hi Muskeg,

    Edna has sent two times it shows the only way to change the font of the text in individual table cells properties.  You create, save and call a UserCommand, so is not simple.  The main problem you use is that the table in the REPORT object does not generally contain cells.  If you happen to have chosen a column type in the 'list of text', then you can access the contents of individual table cells, but otherwise, your only options are to get and set the values outside the table that the table is referencing - be they channel values or the values of variables or expressions.

    The easiest option is to get/set of string values and assign each column of the table or row to display the channel values.

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • hyperlink in the table cell?

    Hi all

    We need to navigate a path for each row in the table control. Is it possible to have a hyperlink in a table for each row cell? or do I have to use button battery to do the same thing?

    Kind regards

    Kanu

    The answer is, you can't. However, the custom hyperlink control is open-source. You can find the source in toolslib\custctrl\hyperlinkctrl.c. It's a pretty simple code module, so it is not all that difficult to modify this code so that it could work in a table cell, rather than a message text control.

    Luis

  • the display of ssize_t value in table cell

    Hello

    I want to display a number of type ssize_t in a digital table cell. In the user interface editor, the cell has been set to intptr_t.

    Runs the code in debug64 works fine, in debugging I get the error message:

    FATAL RUN - TIME ERROR: Invalid argument type: found "int", "__int64" expected.

    I have to add: in the user interface editor, I created the table with one row only, I have add as many rows programmatically using InsertTableRows (but the cell types need to be inherited). The error appears when filling out the cell in the last row.

    Ideas?


  • get location from pixel coordinates to table cell

    I would like the opposite of what the MakePoint() function.  Instead of providing an index of table of row/column cell, I would get the coordinates of the beginning of a table of mouse cell.

    Is there a special function to do this?

    Hello ElectroLund,

    I think GetTableCellRangeRect is what you are looking for.

    To get the mouse coordinates table cell using GetTableCellFromPoint.

    Constantine.

  • How can I write in a table cell (row, column appear) in a databae?

    How can I write in a table cell (row, column appear) in a database using LabVIEW Database Toolkit? I use Ms Access. Suppose I have three columns in a table, I write 1 row of the 1st column, then 1st rank of the 3rd column. The problem I have is after writing the 1st column of 1st row, the reference goes to the second row, and if I write in the 3rd column, he goes to the 2nd row 3rd column. Any suggestion?

    When you perform a SQL INSERT command, you create a new line. If you want to change an existing line, you must use the UPDATE command (i.e. UPDATE tablename SET column = value WHERE some_column = some_value). The some_column could be the unique ID of each line, date and time, etc.

    I don't know what is the function to use in the Toolbox to execute a SQL command, since I do not use the Toolbox. Also, I don't understand why you don't do a single INSERT. It would be much faster.

Maybe you are looking for