Thank you. I will check out the display:block stuff. On Thu, Mar 11, 2010 at 1:09 PM, Medic <hofme...@gmail.com> wrote:
> > What are you applying the subtext class to? If not a block element you may > need to set display:block > > On Thu, Mar 11, 2010 at 1:28 PM, Matthew Smith <chedders...@gmail.com > >wrote: > > > > > another question: > > > > I can get the margin-bottom to work for h1, but not the subtext class? > > > > .subtext { > > color: #000077; > > font-weight: bold; > > font-size: 50px; > > font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; > > line-height: normal; > > margin-bottom: 500px; > > } > > h1 { > > font-weight: bold; > > font-size: 15px; > > font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; > > line-height: 150%; > > margin-top: 0px; > > margin-bottom: 25px; > > } > > > > On Wed, Mar 10, 2010 at 10:09 PM, Matthew Smith <chedders...@gmail.com > > >wrote: > > > > > Thanks! > > > > > > > > > On Wed, Mar 10, 2010 at 9:52 PM, Justin Scott < > > > jscott-li...@gravityfree.com> wrote: > > > > > >> > > >> > I am trying to do h1's with different colors. > > >> > > >> In that case you'd want... > > >> > > >> h1 { > > >> font-weight: bold; > > >> /* ... */ > > >> } > > >> h1.red { color: #f00; } > > >> h1.green { color: #0f0; } > > >> h1.blue { color: #00f; } > > >> > > >> And so on. If you wanted those color classes to be available anywhere > > >> (and > > >> not just on H1 tags) you would just use the class notation without the > > >> parent tag selector. > > >> > > >> .red { color: #f00; } > > >> > > >> In the html... > > >> > > >> <h1>Normal</h1> > > >> <h1 class="red">Red</h1> > > >> <h1 class="green">Green</h1> > > >> <h1 class="blue">Blue</h1> > > >> > > >> > > >> -Justin > > >> > > >> > > >> > > >> > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:313295 Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-community/unsubscribe.cfm