View Single Post
Old 09-22-2010, 11:42 AM   #2804
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by TonytheBookworm View Post
Could someone do me a favor and shed some light my way in regard to the extra_css ? Basically what is the difference between #bd and .bd and so forth?
I took and looked at some of the recipes and used firebug to try and find in the html where #bd is or whatever and i can't seem to find it.

Let say for instance i had
<div class='helloworld'>What a beautiful day it is. </div>
and i wanted it to be bold or what have you.
why doesn't this work ?
Spoiler:

Code:
extra_css = '''
                    .helloword{font-family:Arial,Helvetica,sans-serif; font-weight:bold;font-size:large;}
                   
		             '''

thanks in advance
Possibly:
<div class='helloworld'>
vs spelling of:
extra_css = ''' .helloword

??????

You probably know this, but just in case, the "difference between #bd and .bd" is that the first is for id="bd" and the second for class="bd". Usually, a class is for multiple elements on a page, while id is for individual elements, although that general rule is observed mostly in the breach.

Last edited by Starson17; 09-22-2010 at 11:52 AM.
Starson17 is offline