|
|
![]() (if you must) |
|
![]() (SuSe Linux!) |
|
|
Just think, you to could write a site like this using a text editor, Linux, php and your
brain. School, don't give up on it, I'll kick your a*!
\\†// [This and any other Site, Best Viewed with Anything Other Than Microsoft's W3c non-compliant Internet Exploder!] \\†// |
↜―┄┅⋱\†/⋰┅┄―↝
| also see my CSS snippets | also see MyCSS, a visual layout of my basic stylesheet |
<script language="javascript" type="text/javascript">
set document size on open:
method 01: as a meta tag in <head>
<meta pageSize=200x200, resize=no, scrollbars=no />
- or - put this in your <head> as style.
html { height: 200; width: 200;
overflow-y: hidden; overflow-x: hidden; }
<base href> set in <head> will make it so all your hrefs can be typed as 'relative'
doing away with the need for using the url eg, http://landisreed.com/images/spacer.gif or absolute path
on server, like /bclinformationservices/landisreed.com/images/spacer.gif (assuming your website is on
a host, 'shared server' (website hosting service) or shared IP, as if your domain is a root domain or
'main account' on the server or have set the php [root]
< ?php include ($_SERVER['DOCUMENT_ROOT'].'/inc/nav.html') ; ?>
*see document /sturct/links at W3C
<div id="footer"> basic 'body' box as used on this page
the color 'declaration' of selectors (tags) like background-color:rgba(0,0,255,0.5) *see note
what this says: rgba RedGreenBlue color values with the 4th value being the Alpha channel or the transparency of the element.
color values are from 0 to 255 (each) with 0,0,0 being Black, 255,0,0 Red, 0,255,0 Green, 0,0,255 Blue and 255,255,255 being pure White.
the Alpha values are from 1.0 to 0.1
*Note: background-color: when used in a child or sub element (selector) 'removes' content of 'TD':
When element - value (selector : decloration) background-color: when used in a child or sub element (selector) as in table.main td { background-color:"white" } ("none" and "inherit") will blank out the declaired cell 'TD' bground .
if the TD has a 'bgcolor=' set, the obsolete html value is replaced by parent element (selector) instead of it being the 'current' value (breaks the 'higherarchy').
I used my utf-8 text editor to search/replace <td bgcolor="xxxxxx" with <td style="background-color:xxxxxx and then the cell will again, superseed the parent style
<table,th,td> CSS and tables.. this one took me Too long. I should have given up Long before I did.
Deprecated (depreciated) HTML tags and the CSS Equivalent:
I've been searching for some 4 years for a source, list or article that gives us CSS equivalent elements to Deprecated HTML tags..
CSS: Here are a couple examples of stylesheets that I've written for clients and are currently in use;
Stylesheet used on this siteW3C HTML 4.0 / CSS2 Sample Style Sheet Here
| HTML Tag / attribute | CSS Equivalent | ||
|---|---|---|---|
| CSS Property | CSS Value | Example | |
| <font color="..."> | color | CSS color | H1 {color: blue} |
| <font size="..."> | font-size | Length / Percentage | H1 {font-size : 10px} |
| <font face="..."> | font-family | Font family name | H1 {font-family:verdana} |
| <I> | font-style | italic or oblique | H1 {font-style : italic} |
| <tt> | font-family | Font family name | font-family: monospace |
| <I> | font-style | italic or oblique | H1 {font-style : italic} |
| <U> | text-decoration | Underline | overline | none | H1 {text-decoration: underline} |
| <B> (not deprecated) | font-weight | normal | bold... | H1 {font-weight: bold} |
| <S> | text-decoration | Font family name | H1 {text-decoration: strike-through} |
| <CENTER> | <div> | <DIV id="client-boyera" class="client"> | |
| <BASEFONT> | font-family | Font family name | H1 {font-family: Tahoma} |
| <STRIKE> | font-style | italic or oblique | H1 {font-style : italic} |
| <ISINDEX> | <input> | Form input | <INPUT TYPE=BUTTON VALUE=" 7 "> |
| <APPLET> | <object> | object name | <OBJECT classid="http://www.miamachina.it/ analogclock.py"> </OBJECT> |
| bgcolor attribute | font-family | Font family name | H1 {font-family: Tahoma} |
| align attribute | font-style | italic or oblique | H1 {font-style : italic} |
| valign attribute | font-family | Font family name | H1 {font-family: Tahoma} |
| width attribute | font-style | italic or oblique | H1 {font-style : italic} |
| height attribute | font-family | Font family name | H1 {font-family: Tahoma} |
| DIR attribute (ltr) | font-style | italic or oblique | H1 {font-style : italic} |
| DIR attribute (rtl) | font-family | Font family name | H1 {font-family: Tahoma} |
| BACKGROUND attribute | font-style | italic or oblique | H1 {font-style : italic} |
| TEXT attribute (BODY) | font-family | Font family name | H1 {font-family: Tahoma} |
| LINK attribute (BODY) | font-style | italic or oblique | H1 {font-style : italic} |
| VLINK attribute (BODY) | font-family | Font family name | H1 {font-family: Tahoma} |
| ALINK attribute (BODY) | font-style | italic or oblique | H1 {font-style : italic} |
| <MENU> | <UL> DTD | class or style | <UL><IL>item one</UL> |
| <td nowrap> | white-space | nowrap | td[nowrap] { white-space: nowrap } |