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 :)

Tags: Dreamweaver

Similar Questions

  • I've just updated to Firefox Beta 20. Not happy! The options "View Background Image" and "Image Mode" when you right-click is missing. How can I get that back?

    I've just updated to Firefox Beta 20. Not happy! The options "View Background Image" and "Image Mode" when you right-click is missing. How can I get that back?

    These entries should still be there if you right click on an image or an area with a background image.

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance).

    • Do NOT click on the reset button on the start safe mode window or make changes.
  • 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.

  • 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

    }

  • background in the table cell alignment does not work

    So I have one one line, a 2 column table.  In the second/last column, I have an image which must be low and stalled on the right.  However, no matter what I do, I can't image to sit at the bottom of the cell.

    If I add columns and move the image to one of the Interior columns, it aligns bottom, but if I then delete the column to the right (so that the image is now, once again, in the last column) once again the image is not aligned.

    I tried to give the image a negative margin of down, but that does not work.

    Here is the code:

    < td = class "last" style = "" vertical-align: bottom; "> < a href ="#TOPofPage1"> < img"

    "SRC ="... / RESOURCES/i_SPECIAL_art/RETURNtoTopIcon.png "alt =" "class ="TOPofPage""

    style = "" margin-bottom:-12px; "/ > < / a > < table >"

    Here's what it looks like:

    bottom alignment.PNG

    If the orange circle with the white triangle be resting at the bottom of his column... Why is it not?

    When I copy the code of your cell and just change the image of a flat triangle I, the alignment of bottom and negative margin works correctly.

    Check other style in the tr and labels of table and also all the styles applied to a party any of the table - maybe something it's setting of the alignment of the cell.

    If nothing seems obvious, perhaps copy the entire table in a fresh test project to see what's happening and add little by little in your styles to see if you can reproduce.

  • 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;
    > }
    >

  • background image problem

    Hi, I have a strange problem with my project, I have a background image JPG (271 k) set as the background of my front (option in the Center), if I load the VI this race 6-7 cycles per second in a loop of cheating, but if I VI and put the background image to NONE, and after that, I have re - adjust my image as a background and run the vi it run at 20-25 cycles per second It's so crazy... I can't understand this is possible and I'm going crazy trying to solve this problem.


  • Location of the custom in the filesystem MX200 background image

    Hello

    I'm having a problem of downloading an image personalized to a MX200 TC6.1.1 running. I have a pc with access to this MX200, but the browser is not compatible, so I'm unable to download the image custom through the web interface. I'm looking for the file where I can transfer the file png via winscp and then run a command via SSH to use the custom image. I found a site that has the background images, but it is read-only and I do not think it is the right one. Any help is appreciated.

    Thank you!

    I have not and MX200, but I checked on my EX60, wallpaper, I just downloaded is located in:

    posters/user /.

    Despite what he called on my computer, it has been renamed simply "wallpaper".  If you do not already know the command to change the wallpaper you want will be:

    xConfiguration video wallpaper: Custom.

    It will be useful.

    Patrick

  • How to access the table cell script plugin c labels

    Hello

    We have a plugin written in actionscript, which prepares data in labels of each cell in a row of a table, when the user has their cursor in this line:

    var: a cell = getSelectedCell();

    for each {(var childCell:Cell in cell.parentRow.cells)

    childCell.insertLabel (labelName, theString);

    }

    public function getSelectedCell (): cell

    {

    ...

    var selectedLayers:Array = doc.selection in the table;

    var selectedLayers = obj:Object [0];

    If (obj have PointInsertion! = null) {}

    var ip:InsertionPoint = obj as PointInsertion;

    If (ip.parent cell) {}

    return ip.parent as cell;

    }

    } else if (obj as cell! = null) {}

    return items as cell;

    }

    Returns a null value.

    }

    I am now writing a C plugin that needs to read data using IScriptLabel: once again, when the user has a cursor in the same row.

    My problem is that I can't find (via the C code) against that UIDRefs the labels would have been stored by the script that the table does not seem that the objects of the cell in the same way as the script only.

    Any ideas on how to get the relevant UIDRefs?

    Thank you

    I found the answer:

    1) go to SnpIterTableUseDictHier.cpp.

    (2) go to the function void SnpIterTableUseDictHier::inspectThreadDict (const InterfacePtr& textStoryThreadDict).

    (3) add this code after the line after the line InterfacePtrMyCell (textStoryThread, UseDefaultIID());

    #define Solutiontotheproblem 1

    #if Solutiontotheproblem

    InterfacePtr iscript (textStoryThread-> QueryParent (ScriptInfo::RequestContext ()), IScript::kDefaultIID);

    {if (iscript)}

    Tags IScriptLabel::ScriptLabelKeyValueList is iscript-> GetTags();.

    IScriptLabel::ScriptLabelKeyValueList:iterator iter;

    If (!) Tags.Size ())

    {

    PMString return ("no labels found.");

    returnVal.SetTranslatable (kFalse);

    }

    for (iter = tags.begin (); iter)< tags.end();="">

    {

    PMString returnVal ((*iter).) Key());

    Return +=("::");

    Return += ((*iter).) Value();

    CAlert::InformationAlert (returnVal);

    }

    }

    #endif

    (3) voila!

    Hope that helped. If your question is the answer, please mark my solution as correct

    I used this link for the answer. The main thing to find was finding what associated text interface was IScript is associated with.

  • Background Image problems

    Hi all

    I'm having some problems downloading from my site and the background image appears does not (shock).

    When you view the site live design and chrome/ie/Safari, the site appears as I want it, but when I upload the site the background image does not appear.

    Here is the link to my site: www.charcombeandwills.combackground.png

    Your server is case-sensitive

    http://www.charcombeandwills.com/fullbg.jpg

    Change fullbg. JPG to fullbg. jpg

  • The table of Storyboard images

    Is there a reason that we are only able to use the images online? Why not allow us to use images of the local computer or network?

    I know how to upload images, that is not the problem. Sometimes I'm not always in range of a network.

    Thank you.

    Hello

    Currently, we only store the link to the pictures with us for tables of Storyboard, but we do not understand the need to import a local image in the table of Storyboard.

    Thank you for pointing out this; We have added a feature request for the same thing in our backlog.

    Kind regards

    Sunny

  • Copy the table data (including images) of InDesign to Excel (or other formats such as RTF)

    Hello

    We have a problem trying to get data to InDesign to Excel.

    He has this price list in InDesign, with images and small "icons" (also images) that indicate which element appears under the main image for each row in the table. Each line of 'table' can contain a number of elements, separated by return cart + line break or a similar combination.

    The problem is that we can't get good data and images appear in any other editable format. Copy and paste directly into Excel was still the most successful, but here the images are lost. Export to PDF and Acrobat Pro, exporting to other formats always seem to fail in a way or another (paintings take place on top of the other, images and so on, has lost different for the different export formats).

    Untitled-1.jpg

    Data copied to OpenOffice Calc (and then saved as a file in excel format). Yellow areas added to show where the images were in InDesign.

    Price a bit blurred in the picture showing above.

    Are there good ideas how to copy the InDesign table to another editable format (which requires no licenses Adobe...)?

    Thank you

    Andreas

    I didn't notice the direct export from InDesign to RTF. You had to put the cursor within the story make this option appear!

    It is really good, and I sent the result to those who will use it, for them to check if she's good enough and if they can take for excel or work with him in the RTF format as is.

    Thanks a lot for pointing out this option!

  • CSS positioning of elements of PA for the text on the question of background image

    I'm relatively new to dreamweaver from frontpage in the dust. Some things have been easier or I'm missing something. My client site uses backgrounds customized site on most pages, and I just want to understand how the text of the provision above. From what I've read, it seems that using AP elements is the most appropriate at this stage of the construction.

    I can't to the do stay where I want that they. They are fine until you go full screen, then they move to the right. I need to find a way to keep them in one place no matter what. I'm sure you get the idea. Any help would be appreciated.

    http://www.homeworks4u.ca/Sitemap_Homeworks4U.html

    Non-living sites. I'm just waiting for text... and trying to figure out how to do so that he can stay on top of my baggage without messing with my menus.

    Thanks in advance,

    Scott

    APDivs (formerly known as layers) are NOT the best approach for this.  Here's why:

    http://apptools.com/examples/pagelayout101.php

    (1) find a good, shaping CSS to get started with.

    http://ALT-Web.com/templates/basic-1-Col-fixed.html

    (2) a text on a complex background image alignment is futile.  It is a concept of impression that Won't hold up on web pages because you can't control the browser settings, the screen or the text sizes.

    (3) height is a restriction in all browsers except IE.  Don't use values of height on containers with text inside them because this will inevitably cause failures when the text size is increased or amount of content exceeds the available space.

    (4) if necessary to show a background image, use the min-height CSS property.

    Tables to CSS Web Design part 1-
    http://www.Adobe.com/devnet/Dreamweaver/articles/table_to_css_pt1.html

    Tables to CSS Web Design part 2-
    http://www.Adobe.com/devnet/Dreamweaver/articles/table_to_css_pt2.html

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    http://ALT-Web.com/
    http://Twitter.com/ALTWEB
    http://ALT-Web-design.blogspot.com/

  • Gradient background Image problem

    I created a gradient (a gray color that goes blank) and I use it as a background image. Everything is great, except for one page, which is very long. On this page, the gradient looks terrible b/c he jumps abruptly from white to dark gray.

    You can see what I'm talking about here: http://www.realestatepartnersadvantage.com/test/investorsearch.php
    (Choose 'National' in the drop down below and you will see how the gradient looks like once the search results are displayed.)

    How can I solve this problem? Do I have to make the gradient image as long as the length of the page? Or y at - it an easier way to handle this?

    1, your gradient is repeated. Assign the no repetition.

    2nd set the page background color for the background color of the
    gradient.

    --

    Walt

    "csbridges" wrote in message
    News:euhsji$LS$1@forums. Macromedia.com...
    > I created a gradient (a gray color that goes blank) and I use
    > as
    > a background image. Everything is great, except for one page, which is
    > very
    > long. On this page, the gradient looks terrible b/c of what it suddenly jumps
    > white
    > to dark gray.
    >
    > You can see what I'm talking about here:
    > http://www.realestatepartnersadvantage.com/test/investorsearch.php
    > (Choose 'National' in the menu drop-down and you will see how the)
    > gradient
    (> look once the 'National' search results is displayed.)
    >
    > How can I solve this problem? Do I have to make the gradient image as long
    > as
    > the length of the page? Or y at - it an easier way to handle this?
    >

  • 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

Maybe you are looking for

  • update the drivers of yoga are very old?

    I have laptop 2 13 Yoga... I have downloaded/installed new driver for my laptop from lenovo.com Once installed (driver genius proffesional)... When the scanner for the new driver gives me 9 new update for the driver then installed (drivermax) to veri

  • Fixed HP D7360 0xc18a0001 ink system failure

    0xc18a0001 ink system failure D7360 HP fixed I'm DELIGHTED to say thank you! I believed in my chest, either disconnect OR remove the battery Board would solve my problem. Of course, the first worked, and I didn't have to pull the battery. I had to st

  • HP LaserJet Pro M225dw: HP LaserJet Pro M225dw

    Hi team, I want to by a printer all-in-one HP LaserJet Pro M225dw I need to use the fax module. Please confirm that I read on the Manual: with this machine, I'll be able to use the option "fax on the record. (to send incoming faxes to a network share

  • Error 998

    Outlook express 6

  • Windows 7 updates down to 15% and I had to reinstall Windows XP

    Hi all, when I started windows 7 it marked updates service pack and he stopped at 15%. I restarted my pc, windows logo appeared, but he has not started, now I have to paste XP and Opera again... The problem is that on XP, I can't develop my minecraft