bhludlow wrote:
> Using Dreamweaver CS4 on a Mac
>
> Upon opening some of my pages, I get a box showing HTML
Corrections:
> "Corrected invalid HTML" then in the box it shows
something like "Line 86 Col
> 179 : Closed a <img> tag that was left unclosed."
This box has a "Continue"
> button that I click on to dismiss it; however, the same
message occurs each
> time I open that page and nothing ever seems to actually
get corrected, even
> after working on the page and saving it.
>
> I understand the Line 86 portion, but the Col 179
portion baffles me. My
> question then is twofold.
> 1. What is the Col 179 referring to?
> 2. How do I get the Line/Col correction to actually _be_
corrected?
It appears that you have an option checked in preferences to
fix HTML errors (and warn you about it). You can see these
preferences via Edit -> Preferences (or on Mac I think they are
under the Dreamweaver menu), then select the Code Rewriting
category.
"Col" means column, so at the 179th character in your code on
the indicated line where the issue was found. To remedy the issue,
well you could simply change your preferences to not update your
code. For the specific issue that you're referring to about closing
a IMG tag, it seems that perhaps you're using an XTHML doctype for
your file, but you have one (or more) images on your page that are
similar to:
<img src="me.jpg" >
instead of what XHTML would require:
<img src="me.jpg" />
So if you have a lot of pages with the non-closed IMG tags on
them, then with what appears to be your preferences Dreamweaver
will attempt to correct the issues when a new page wit the issue on
it is opened. Once Dreamweaver has fixed the issue, theoretically,
you shouldn't get that message again for that document. Unless of
course you re-add in valid XHTML code to your page.
If you have other issues with this, please post in the
general Dreamweaver forum (
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=12&catid=189&entercat=y
) and post a link to one of your pages, and possibly also post
screenshots to indicate exactly what you're seeing and when.
--
Danilo Celic
|
http://blog.extensioneering.com/
| WebAssist Extensioneer
| Adobe Community Expert