Double Line spacing
Wednesday, December 12th, 2007span style=’line-height: 2em’; [surround content] /span
span style=’line-height: 2em’; [surround content] /span
Here are some development notes on my approach for CSS 2.0simply nest containers…
build a master styles document per template
align a basic standard relative primary geometry master styles document
next build a content container for each
then also create a second tier of stylesheet(s) for each use case instanc
and to polish do the same specific styles that waterfall beyond the construct for each user
Construct Notes :
/*
CSS Document
Index Page Styles Dislaimer
*/
.copyStyleName
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 11px;
color: Silver;
background-color: Gold;
text-decoration: underline;
~or
#nameof_container
left curly bracket
position: absolute / relative ;
margin-left:auto;
margin-right:auto;
margin-top:0px;
top:***px;
left:***px;
width:***px;
height:***px;
z-index:*;
text-align: left / center ;
background-image:*********);
background-repeat:no-repeat;
line-height:**px;
padding:**px;
right close curly bracket
@import url("loudvoice.css") aural;
ALSO @media all, aural, braille, embossed,
handheld, projection, tty, tv, screen, print {
/* style sheet for print goes here */
}
keyword: "string";
H1 { margin: 0.5in } /* inches */
H2 { line-height: 3cm } /* centimeters */
H3 { word-spacing: 4mm } /* millimeters */
H4 { font-size: 12pt } /* points */
H4 { font-size: 1pc } /* picas */
For example, suppose the following rule:
BODY { background: url("yellow") }
is located in a style sheet designated by the URI:
http://www.myorg.org/style/basic.css
The background of the source document’s BODY will be tiled with whatever image is described by the resource designated by the URI
http://www.myorg.org/style/yellow
Puseudo class elements are really intriguing and add extra flare to your formatting:
like ::
or
or
A:focus:hover { background: white }

this page is a breakdown on padding a Div layer
I use div layers alot like I approach Group Collections or Panels in Window Application Development…
[ CSS padding link ]
You can affix a contextual/decendant styles by what “containing” a font style within a specific div tag you instantiate a font header style - you can have h1 display selector header tag in more than 1 way… great for hierarchical layouts!
in CSS all you have to do is add your independent style like so: #divtagname h3
After many a night wasted on a simple centering fix I found this little trick to be a jem. But recently working with firefox 1.5x this trick wasn’t working right. I always use a page container div tag and each content or menu section has its own div tag. In firefox 1.5x my page content was not positioning correctly.
Simple fix that might be helpful:
min-height: 580px;
_height: auto !important;
height: 580px;
Not exactly sure why this works but now firefox 1.5x and 1.0x work as well as IE. I havn’t tried this in any other browsers yet.
Being a Microsoft bigot I really love all of Microsoft’s products, but I do find IE a real pain. Especially its inconsistencies with CSS.
On a recent development project I needed to ensure that a < div > tag had a minimum height of 100px; but the min-height property of the style attribute on a < div > fails to work in IE. After a bit of work I found this solution. I’ve included the style attribute in the < div > tag but you’ll be keeping this in your stylesheet.
and for DIVs
< div >
< div style=”height:100px; float : right; width : 1px; z-index: -1;”> < /div>
< /div >