Thread: HTML Codes
View Single Post
  #8  
Old 03-05-2008, 02:09 PM
Eloricth Eloricth is offline
Just call me Elo
Eloricth's Primary Pirate Info

Join Date: Feb 2008
Posts: 75
Eloricth is scurvy dog
An element is one of those tags you use in the HTML code. Take, for example, the glowing text example.

Code:
<p align=center>
     <table>
          <tr>
               <td style="filter:glow(color=blue strength=5);font-family:arial;font-weight: BOLD;font-size:'18pt'">Text</td>
          </tr>
     </table>
</p>
Let's break down what's going on here...

Code:
<p></p> - Paragraph start/end elements
<table></table> - Table start/end elements
<tr></tr> - Table row start/end elements
<td></td> - Table data start/end elements
In the line...
Code:
<td style="filter:glow(color=blue strength=5);font-family:arial;font-weight: BOLD;font-size:'18pt'">Text</td>
the style="filter:glow(color=blue strength=5); font-family:arial; font-weight:bold;font-size:18pt;" is CSS (cascading style sheets). It changes the appearance (style) of HTML elements.

Anyway, the block can be rewritten to something like this:

Code:
<p style="text-align:center; font:bold 18pt arial; filter:glow(color=blue strength=5);">Text</p>
For more information on HTML, CSS, Javascript, and web development standards, check out the World Wide Web Consortium & w3schools.com.

-Elo

PS: The glow:filter CSS property does not work in Firefox because it is a Microsoft-proprietary CSS property. When Microsoft developed Internet Explorer, they failed to properly support some of the CSS1 specs (take a look at how IE renders the box model vs how Firefox does. Firefox gets it right, IE, not so much). Not only that, but they decided to create some IE-specific properties. These properties do not work in other browsers because the other browsers don't know how to handle the CSS. I'm sure this is all waaaaaay more than people want or even care to know, though. lol
Reply With Quote