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') ; ?>
<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
08.06.11:
'postit-note' how I built this css3 'box' with {border, shadow, background color:
the 'in-line style' is used to create this box
*<style="box-shadow:5px 5px 5px rgba(20, 126, 0, 0.8); font-size:14px; background-color:lightyellow; border:2px solid gray; border-radius:10px; margin-left:2px; padding:5px; width:440px ">
also see my Special Character html, hex, unicod encoding page
this is the <stylesheet> or <head> 'long form' of my 'box' element
Rotation-Selectors are 'rem'd' (remarked, commented out) because the code to 'workaround' the rotation in ie (internet explorer), early firefox and mac safari,,, Sucks!
<style type="text/css"> *see css hr
div.postit-yellow {
/* this works great, but... inserting onto a table or 'cell' shifts other things. Need to try puting on top of page and specifing location with margin properties.. another day. 08.06.11 - Landis */
width:280px;
padding:0px;
border:2px solid gray;
border-radius:10px;
/* margin:60px; /* changes position relative to where it's inserted, Nope, puts a border or 'margin' on all 4 sides. need to use margin-right etc */
margin-left:10px;
/* margin-top Minus 100px is an attempt to 'move' the box outside of the td it's in */
margin-top:-100px;
/* margin-top Minus,,, Yep... It works, cool ! Landis */
background-color:yellow;
/* rotation-point:50% 50%; /*as of 08.06.11, not yet supported */
/* rotation:45deg; /*as of 08.06.11, not yet supported */
/* transform:rotate(30deg); /*might not be supported yet either, 08.06.11 */
/* Rotation, for now, this is how (08.06.11) */
transform:rotate(20deg);
-ms-transform:rotate(10deg); /* IE 9 */ /*Does NOT work on any ie bellow 9.. ie and ms suck! */
/* Minus Rotation - this is an atempt to see if a Negitive Rotation works or does it only work 'clock-wise' ie -10 would be 350deg */
/* Yes, again, cool. Minus (-10deg) works... */
-moz-transform:rotate(-10deg); /* Firefox */
-webkit-transform:rotate(30deg); /* Safari and Chrome */
-o-transform:rotate(30deg); /* Opera */
/* Rotation, for now.. Freaking Works... Cool - 08.06.11 Landis (got this from w3schools.com */
}
hr.sharpie {
width:90%;
background-color:black;
border:2px solid gray;
/* border-color:gray; /* will use 'grey' , but seems to like 'gray' with an A - Actually this is Not even Used - *see above border */
border-radius:25px;
height:5px;
}
</style>
<table,th,td> CSS and tables.. this one took me Too long. I should have given up Long before I did.