One way to avoid a lot of the <body> clutter is by converting your website over 
to the AMP — Accelerate Mobile Pages — standard, which is what I recently did 
with my primary website.

It was a lot of work — and very challenging and frustrating at times due to my 
own lack of knowledge — but I believe I made a wise choice.

The thing about Google’s AMP specifications is that while most of it is 
standard HTML tags that we are familiar with — with a few new ones, or 
replacement tags thrown in the mix — it is also VERY strict, and a lot of 
standard HTML elements are firmly disallowed. For example:

java scripts and java applets
background images
gradients
external stylesheets
inline font styles
table summaries
image borders
etc.

So how does this relate to your case?

Well, for one thing, you cannot even use the <font> tag in the body of your 
AMP-compliant HTML document. All styling MUST be done in the head section of 
each HTML. The end result is that you have a MUCH cleaner and LESS complicated 
body section, where you will primarily use classes instead.

Not only will your pages be cleaner by converting to AMP, but they will load 
faster as well, which offers its own array of benefits for a webmaster. For 
example, with Google’s PageSpeed Insights tool, all of my pages average 87 to 
95 on a scale of 100, depending on whether I am looking at the mobile page 
score, or the desktop page score.

Regarding that long string of closing </div> tags you are experiencing, my 
personal approach is to close a <div> tag just as soon as it is no longer 
needed, thus avoiding as much as possible, what you are now experiencing.

I don’t know if any of the above will help you or not, but there it is for what 
it is worth.

If you are interested in AMP,  you can get a start here:

https://www.ampproject.org/

Oh, I also highly recommend that you look into Jim Derry’s “Balthisar Tidy for 
Work” in the App Store. It is only $8, and is a very wise investment, in my 
view.

Kind regards,

Bill K.


On Monday, February 20, 2017 at 5:32:16 PM UTC, James Lee wrote:

> I still have some code created buy Adobe GoLive editing. There seems to have 
> been a flaw that caused duplicate vids and extra spaces so the pages have 
> become almost impossible to edit.  Here is an example:
> -----
>                                                                               
>                 <div align="left">
>                                                                               
>                         <p><font size="4" 
> face="Verdana,arial,helvetica,sans-serif"><font size="3"><strong>"One of the 
> greatest discoveries a man makes, one of his great surprises, is to find he 
> can do what he was afraid he couldn't do." - Henry 
> Ford</strong></font></font></p>
>                                                                               
>                 </div>
>                                                                               
>         </div>
>                                                                               
> </div>
>                                                                       </div>
>                                                               </div>
>                                                       </div>
>                                               </div>
> -----
> This index file is not very wide (feet, not inches).  I am hoping BBEdit has 
> some tricks I have yet to find to fix this problem. Ir maybe there is a way 
> to go back to Adobe GoLive and fix them.  Any ideas would be appreciated.
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a 
> feature request or would like to report a problem, please email
> "supp...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter: <http://www.twitter.com/bbedit 
> <http://www.twitter.com/bbedit>>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com 
> <mailto:bbedit+unsubscr...@googlegroups.com>.
> To post to this group, send email to bbedit@googlegroups.com 
> <mailto:bbedit@googlegroups.com>.
> Visit this group at https://groups.google.com/group/bbedit 
> <https://groups.google.com/group/bbedit>.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to