Forum Moderators: open
When I display my pages on Macs, it looks fine; when I browse via pcs, it doesn't. It's as if the editable region marker (which I named, "stage") kicks the alignment out slightly. I've tried to delete the "align=top" code from my template, but nothing was changed.
Anyone? Thanks
are there any empty font/div tags within the cell you have specified as editable?
Have you viewed the table on a PC with out applying the template to see if it is a display error with the table settings?
Also you may want to delete any white space either side of the editable regions so the <td> tags are 'flush' with the editable region tags
Ta
Limbo
Go back into your tempate and check the code -- and delete the non-breaking space in there, if there is one. I'll bet there is.
FWIW, when I've done similar page layouts, I find it easier to leave an image in the template but designate it as editable. Then in my child pages I just double-click the image to select a different image.
Deleting the space b/w the editable region and the TD tag worked - almost. It worked for images w/out area maps links, but for those w/ the image area links, it didn't.
Here's the code from a page that works, and a page that doesn't.
WORKS: <TD COLSPAN=2 ROWSPAN=9 bgcolor="#F2ECD6"><!-- InstanceBeginEditable name="stage" --><img src="images/s_nye_12.jpg" width="402" height="445"><!-- InstanceEndEditable --></TD>
DOESN'T WORK: <TD COLSPAN=2 ROWSPAN=9 bgcolor="#F2ECD6"><!-- InstanceBeginEditable name="stage" --><img src="images/s_wb1_12.jpg" width="402" height="445" border="0" usemap="#Map">
<map name="Map">
<area shape="rect" coords="0,343,174,366" href="http://www.womensbuilding.org" target="_blank" alt="Women's Building">
</map>
<!-- InstanceEndEditable --></TD>
Try removing all the paragraph returns between tags, like this:
<TD COLSPAN=2 ROWSPAN=9 bgcolor="#F2ECD6"><!-- InstanceBeginEditable name="stage" --><img src="images/s_wb1_12.jpg" width="402" height="445" border="0" usemap="#Map"><map name="Map"><area shape="rect" coords="0,343,174,366" href="http://www.womensbuilding.org" target="_blank" alt="Women's Building"></map><!-- InstanceEndEditable --></TD>
I get that warning in DW all the time. According to the people at the Macromedia support forums, that generally means that there's an error somewhere in the template code. But I think it's a bug in Dreamweaver. I get that error so frequently, with so many different templates, when there's definitely no error in the template code, that I can't believe it's anything but a bug. I've just learned to ignore it, and I don't think I've ever lost any changes.