View Single Post
Old 01-16-2011, 12:10 PM   #9
jackie_w
Wizard
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 2,877
Karma: 4200035
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350, PB360, Kobo Glo/AuraHD/Aura6"/AuraH2O
Quote:
Originally Posted by cybmole View Post
didnt seem to but maybe I messed up the syntax

other entries in .css begin with a .
so should it look like this
.h2 {margin-top:0}
No definitely h2 {margin-top:0} with no dot at the beginning.

If your CSS has
Code:
h2 {margin-top:0}
it will be applied to html with <h2> tags.

If it has
Code:
.h2 {margin-top:0}
It will be applied to html with class h2, e.g
Code:
<p class="h2"> or
<div class="h2">or 
<h1 class="h2">
Edit: Also be careful if you do conversions of conversions of conversions .... The CSS class names calibrenn may get renumbered each time

Last edited by jackie_w; 01-16-2011 at 12:16 PM.
jackie_w is online now   Reply With Quote