[CentralOH] HTML Editor?
Nick Albright
nick.albright at gmail.com
Tue Jul 26 21:37:56 CEST 2011
Ohh! I wanna say that Issac hit the nail on the head of the closing tags.
I will typically use the css 'selector' for the tag in question, like:
<div class="notification-block">
[Lots of lines]
</div> <!-- .notification-block -->
Or
<div id="header-tabs">
[Lots of lines]
</div> <!-- #header-tabs -->
And maybe some good pointers for what Issac was saying about HTML/CSS (I'm
big fan of this guy and his site)
http://www.webdesignfromscratch.com/html-css/semantic-html/
http://www.webdesignfromscratch.com/html-css/how-html-css-js-work-together/
Good Luck!
-Nick
On Tue, Jul 26, 2011 at 3:31 PM, Issac Kelly <issac.kelly at gmail.com> wrote:
> I will never use anything other than a text editor to write HTML. If
> you can't read and write your templates with a text editor, you're
> probably doing several things The Wrong Way.
>
> Some tips
>
> * use includes liberally
> * nest as little as possible
> * make a comment at your closing tags if their opening tag is > 10 lines
> away
>
> Markup should be semantic breakdowns of your page, and CSS should
> define layout. Break that rule as little as possible.
>
> Best of luck.
> Issac Kelly
>
>
> On Jul 26, 2011, at 2:45 PM, Mark Erbaugh <mark at microenh.com> wrote:
>
> > Yes, this really is a Python question<g>.
> >
> > I'm working on a web-based application using the Pyramid framework.
> Pyramid is a descendent of Pylons and can be configured to use various
> templating languages. I'm using Chameleon as it's the default for the
> template I started with.
> >
> > Anyways, I'm knee deep in HTML inside vi trying to find a mis-matched
> tag. Do people using templates still edit the HTML by hand? I've got
> Kompozer, but doesn't seem to like the template language.
> >
> > Thanks,
> > Mark
> >
> > FWIW, I'm impressed with Pyramid and yes, I will be willing to make a
> presentation to the group<g>.
> > _______________________________________________
> > CentralOH mailing list
> > CentralOH at python.org
> > http://mail.python.org/mailman/listinfo/centraloh
> _______________________________________________
> CentralOH mailing list
> CentralOH at python.org
> http://mail.python.org/mailman/listinfo/centraloh
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/mailman/private/centraloh/attachments/20110726/13714c02/attachment.html>
More information about the CentralOH
mailing list