HTML tips

1. Inserting a page break in HTML Put this before you want the new page to start:


<P style="page-break-before: always">

Also works for <div> and other tags using styles

2. Overriding the CSS table style


The table style in the CSS file forces all tables to have a number of attributes that make some tables pretty, but severely limits what we can do with tables.

To overide that style, there is a .textandfig CSS element, which can be used by inserting the following into any table:

class="textandfig"

This can easily be done in the Seamonkey editor, using the Advanced button. There is a pulldown choice for class, so you just fill in "textandfig".

3. Embedding YouTube videos

Click on "Share". Choose Embed <>

This will display HTML <iframe> code that you can past directly into the web page.