DW CS6 Valign a table cell?

I use DW since Macromedia days.  I started my site Web to help teach yourself the publication of Laura Lemay Web with HTML 3, released in 1996.  I learned HTML 3.  I learned to use Dreamweaver.  I have maintained my site without too many problems, relying on DW.  Until the CS6.

Now I'm lost.  I only want to vertically align a small icon (a 30 x 30 px JPEG) and 10-point in a table cell text. The cell is a length of three cells.  The code looks like this:

< td colspan = "3" valign = "middle" >
"" < img src = "... / images/misc/little-stars/Tiny-Star-1.jpg" width = "30" height = "31" border = "0" >
< span class = "verdana10" > - in time for filming! (rules of < em > Dave < /em > clock!) </span >
< table >

It can be seen on the Web here.  http://www.techno-Imaging.com/gal15summer/gal2015summer.html

I understand that does not support HTML5 valign = "middle" and that I should use a CSS style.  But most browsers should be backwards compatible.  I prefer to use the old code in this instance.

If I knew how to add a CSS class to my default style sheet I would.

TIA,-Dave

Do what you want to achieve? (Although course without border)

Remove the valign = "middle" and insert this code at the end of the img element:

"img src ="... / images/misc/little-stars/Tiny-Star-1.jpg "width ="30"height ="31"border ="0" style =" "vertical-align: middle;" "

Us-hh

Tags: Dreamweaver

Similar Questions

  • VALIGN in table cells does not

    I'm trying to change the vertical alignment of the content in a table of a checkerboard to fluid. Before you set the table in the grid of fluid (I did in a document separate html5), alignment was fine, but when I copied it in, VALIGN had no effect and all default values contained to the top of the cell. Is it possible that I can change this? I tried to reset the VALIGN after copying into the grid of fluid, and the code in the table reflects that it should be aligned to the bottom, but he always appears at the top, in Dreamweaver and I tested it in all browsers.

    Thanks in advance.

    Hi guys -.

    I fear that you practice these obsolete methods page layout, you're in for a lot of problems.

    Take a look at the "errors" reported by the W3C validator

    http://validator.w3.org/check?URI=http%3A%2f%2Fwvadmin.DNS-systems.NET%2FtestHome.html&Cha rset = % 28detect + automatically 29% & doctype = Inline & group = 0

    I put your logo and header text in the same container and left float image.

  • With the help of several styles of paragraph in a table cell

    Hello

    I'm stuck using several styles of paragraph within a cell. I guess the solution is that I need to start a new paragraph, but so far I have not found a way to do it. When I directly in InDesign, it works fine, but I can not start a new paragraph when you use the script.

    Here's a solution I've tried:

    with {(table)

    .properties de.insertionPoints.item-(1) lines [0] .cells [0] = {}

    content: '1 ' Format string,

    appliedParagraphStyle: styleFormat1

    };

    .properties de.insertionPoints.item-(1) lines [0] .cells [0] = {}

    content: "\rString in size 2',

    appliedParagraphStyle: styleFormat2

    };

    }

    But until now I did not get a new paragraph. When you look at the IDMLs, you can see that InDesign adds a new paragraph inside the cell, while my code remains in the same paragraph.

    Here the IDML result when I do in InDesign:

    "< cell auto ="ue0ie4i0"Name =" "0:0" RowSpan = "1" ColumnSpan = "1" AppliedCellStyle = "CellStyle / $ID / [no]" AppliedCellStylePriority = "0" >

    < ParagraphStyleRange AppliedParagraphStyle = "ParagraphStyle/Format1" >

    < CharacterStyleRange AppliedCharacterStyle = "CharacterStyle / $ID / [no style character]" >

    < content > string to Format 1 < / content >

    < Br / >

    < / CharacterStyleRange >

    < / ParagraphStyleRange >

    < ParagraphStyleRange AppliedParagraphStyle = "ParagraphStyle/Format2" >

    < CharacterStyleRange AppliedCharacterStyle = "CharacterStyle / $ID / [no style character]" >

    < content > string to Format 2 < / content >

    < / CharacterStyleRange >

    < / ParagraphStyleRange >

    < / cell >

    And here is that when I use the script:

    "< cell auto ="ue0ie4i0"Name =" "0:0" RowSpan = "1" ColumnSpan = "1" AppliedCellStyle = "CellStyle / $ID / [no]" AppliedCellStylePriority = "0" >

    < ParagraphStyleRange AppliedParagraphStyle = "ParagraphStyle/Format2" >

    < CharacterStyleRange AppliedCharacterStyle = "CharacterStyle / $ID / [no style character]" >

    < content > string to Format 1 < / content >

    < Br / >

    < content > string to Format 2 < / content >

    < / CharacterStyleRange >

    < / ParagraphStyleRange >

    < / cell >

    It is therefore quite clear my script is not adding a new paragraph. Any ideas how to get a new paragraph so I can use more than one paragraph style?

    I don't have test nore debug your code, but I suggest you another method to apply the content and style of two paragraphs. Do not use a with statement.

    What is your version of InDesign?

    Example:

    // Add new document:
    var doc = app.documents.add();
    // Add two paragraph styles:
    var paraStyle1 = doc.paragraphStyles.add({name : "ParaStyle-1" , pointSize : 20});
    var paraStyle2 = doc.paragraphStyles.add({name : "ParaStyle-2" , pointSize : 15});
    
    // Add a new text frame (default is on page 1):
    var newTextFrame = doc.textFrames.add();
    newTextFrame.geometricBounds = [0,0,"150mm","150mm"];
    
    // Add a table to this text frame:
    var table = newTextFrame.tables.add
    (
        {
            bodyRowCount : 4 ,
            columnCount : 3 ,
            width : "150mm"
        }
    
    );
    
    // Assign the contents as array:
    // The fisrt and only entry in this array will give the first cell its contents:
    table.contents =
    [
        "Paragraph 1"+"\r"+"Paragraph 2"
    ]
    
    // Assign the formatting of the two paragraphs:
    table.cells[0].paragraphs[0].appliedParagraphStyle = paraStyle1;
    table.cells[0].paragraphs[1].appliedParagraphStyle = paraStyle2;
    

    Strategic outcome with InDesign CS6 Mac OS x 10.6.8 v8.1.0:

    Hope, that helps.
    Uwe

  • [DITA] How to use the attribute valign for table row to control the position of a list

    This attribute seems quite apply to < TEXT >. If a ul, p, or fig element appears in the table cell, it will not work.

    I also tried to write a rule context to li, as ul < entry < row [valign = "middle"], but there is no chance.

    OK, I had finally it works.

    I should have written the rule of context as a paragraph, so that it will not be substituted by another rule.

  • Vertical alignment of the table cell can be defined via CSS?

    In a table cell (IE, 'td') is it possible to define "valign" via CSS, instead of table cell appropriate?

    In other words, instead of...

    < table >

    < b >

    < td valign = "top" >

    .. is it possible to do:

    < table >

    < b >

    < class td = "top" >

    .. somehow, .and allow the stylesheet to define the vertical alignment?

    I ask because none of the attribute in Dreamweaver CS4 presets seem to provide for vertical alignment. Everything on God's Green Earth seems to be there, but the vertical alignment of the cell table seems to be the ONLY thing THAT forgotten CSS.

    miyeager, I'm sorry, I misread your question. Yes, you can. Use ' vertical-align: top of the text.

  • 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
    
    --
    
  • 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.

  • Table cell height 11 FM

    Is there an easy way to control the height of a table cell? Is there a key combination that will allow me to move the bottom margin upwards or downwards, or do not develop until the last line of text?

    Thank you

    Bill

    By default, the height of line expands with the content.

    Use the Table > Format > row height to set a height of minimum and maximum line for selected rows:

    Don't forget that you can control the margins of cell for the table in table designer > basic and properties by the paragraph by paragraph Designer tag > Table Cell properties. These margins might be useful to get the look are are after as well.

  • How do I get the table cells?

    It's my get code that any object in propagation.

    Int32 childCount = parent-> GetChildCount();

    for (int32 /IndexEnfant = 0; childIndex < childCount; /IndexEnfant ++)

    {

    InterfacePtr < IHierarchy > child (parent-> QueryChild (childIndex));

    ChildUIDRef = UIDRef: GetUIDRef (child);

    TextFrame table

    }

    How do I get the table cells?

    You can access the table using ITableModel and GridAddresscell.

    But to get to the ITableModel since ITextModel implies some complexity.

    Few things to understand:

    -L'interface that corresponds to the written document is ITextModel

    -The recommended method to iterate tables in a story done by ITextStoryThreadDictHier

    -Get the ITextStoryThreadDictHier on the history and the main thread as ITextStoryThreadDictHier::NextUID()

    -Now get ITextStoryThreadDict for UID and query for ITableModel. If you get ITableModel, then you have found the table.

    Once you have ITableModel you can get ITableCell as follows:

    ITableModel:QueryCellContentBoss(GridAddress); Give ITableCell

    You can refer to SnipperRunner (SnpManipulateTextModel).

    Download text template table model:

    InterfacePtr textModel (storyUIDRef, UseDefaultIID());

    InterfacePtr textStoryDictHier (textModel, UseDefaultIID());

    NextUID UID = sourceStory.GetUID (); / / Download the main thread dictionary

    Now loop the dicthier to iterate through all the threads dicts.

    InterfacePtr textStoryThreadDict (sourceStory.GetDataBase (), nextUID, UseDefaultIID());

    InterfacePtr tableModel (textStoryThreadDict, UseDefaultIID());

    If (tableModel) / / the storythreaddict represents a table

    {

    You are now in a table

    }

Maybe you are looking for

  • Satellite A300 - how to recover the operating system without a recovery disk?

    First of all, sorry for my very bad English. I bought a laptop Toshiba Satellite A300, PC 9 months ago. I had problems with a virus and result is that despite clean-up and disinfection, the computer is still infected and I refused access to the hard

  • Lights on my laptop

    Hi all I have a HP Pavilion dv9000 Laptop. However my lights on the Volume bar don't work anymore, all the lights but not work if I push the button it still works! Can I solve this problem with the software or is - it just a broken leads and I want t

  • Windows App Crash

    I'm so frustrated, but have learned that a large part of this problem, learned since everything except the answer to my problem, I have windows vista family 32-bit premium, it runs very very slow and Explorer windows continues to work or respond, I'm

  • Change the size of the icons on deskyop

    I have a Compaq laptop running windows 7. All the icons on my desk suddenly went great. How can I reduce the size of the icons? I tried to use the display Control Panel instructions, but it did not work.

  • using windows media player, save voice of a Sony ICD-UX71RED to the library files?

    using windows media player, save voice of a Sony ICD-UX71RED to the library files?