Re: quick css question

2010-03-11 Thread Matthew Smith
Thank you. I will check out the display:block stuff. On Thu, Mar 11, 2010 at 1:09 PM, Medic 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 >wrote: > > > > > another question:

Re: quick css question

2010-03-11 Thread Medic
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 wrote: > > another question: > > I can get the margin-bottom to work for h1, but not the subtext class? > > .subtext { > color: #77; > font-wei

Re: quick css question

2010-03-11 Thread Ian Skinner
What are you using the subtext class on. Inline elements don't have margins so the margin elements do nothing to them so margins only really applies to block elements. I think at least some browsers support left and right margin effects on inline elements though just to make it all more conf

Re: quick css question

2010-03-11 Thread Matthew Smith
another question: I can get the margin-bottom to work for h1, but not the subtext class? .subtext { color: #77; 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: 1

Re: quick css question

2010-03-10 Thread Matthew Smith
Thanks! On Wed, Mar 10, 2010 at 9:52 PM, Justin Scott 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

Re: quick css question

2010-03-10 Thread Matthew Smith
mith [mailto:chedders...@gmail.com] > Sent: Wednesday, March 10, 2010 10:23 PM > To: cf-community > Subject: quick css question > > > looking at a templates css, trying to figure out the double #. I know one > # > is a id. Looked at several tutorials but couldn't fi

RE: quick css question

2010-03-10 Thread Justin Scott
> 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 woul

RE: quick css question

2010-03-10 Thread LRS Scout
Was it original inline in cf? You use two pounds to escape one pound. -Original Message- From: Matthew Smith [mailto:chedders...@gmail.com] Sent: Wednesday, March 10, 2010 10:23 PM To: cf-community Subject: quick css question looking at a templates css, trying to figure out the

quick css question

2010-03-10 Thread Matthew Smith
looking at a templates css, trying to figure out the double #. I know one # is a id. Looked at several tutorials but couldn't find an answer. Example: /*header*/ ##header .menu{ height:65px} ##header .menu .fleft{ padding:11px 0 0 71px} ##header .menu .fright{ padding:31px 75px 0 0} ##header .m

RE: Quick CSS question...

2004-09-17 Thread Tyler Silcox
up, and the livedocs say that CF already encodes the mime type as text/html. I don't think it's going to work that way, or at least the way I'm doing it-> Tyler    _   From: Sandy Clark Subject: RE: Quick CSS question... http://www.w3.org/TR/xhtml-media-types/

RE: Quick CSS question...

2004-09-17 Thread Sandy Clark
  _   From: Tyler Silcox [mailto:[EMAIL PROTECTED] Sent: Friday, September 17, 2004 12:27 PM To: CF-Community Subject: RE: Quick CSS question... Sandy wrote:  I've never had a problem viewing my cfdumps, but I also have my   development   web server to serve XHTML as text/html rather than the   applic

RE: Quick CSS question...

2004-09-17 Thread Tyler Silcox
Sandy wrote:  I've never had a problem viewing my cfdumps, but I also have my   development   web server to serve XHTML as text/html rather than the   application/xml +   html. Is this a IIS setting? Or do you have something special going on? Err...with the development server that is ;-) Tyl

Re: Quick CSS question...

2004-09-17 Thread Kevin Graeme
Depends on the project. The vast majority of the stuff we do is tacking on to a crufty bunch of templates built back about 5 years ago and it's a mishmash of outdated crap. It's mostly 4.01 Transitional and most have no doctype so we're freewheeling it until we can do a massive rearchitecting. And

RE: Quick CSS question...

2004-09-17 Thread Sandy Clark
riday, September 17, 2004 11:36 AM To: CF-Community Subject: Quick CSS question... Now, that we are on the CSS subject...what doctype declaration do y'all use for your sites? I've been using the transitional declaration and I usually comment it out during development, so I can view my cf

Quick CSS question...

2004-09-17 Thread Tyler Silcox
Now, that we are on the CSS subject...what doctype declaration do y'all use for your sites? I've been using the transitional declaration and I usually comment it out during development, so I can view my cfdumps, etc. But that can cause some issues when I uncomment the tags when we go live...anyo

RE: Quick CSS Question...

2003-11-14 Thread Sandy Clark
Saidi [mailto:[EMAIL PROTECTED] Sent: Friday, November 14, 2003 4:25 PM To: CF-Community Subject: Quick CSS Question... Ok, so I have this code in a style sheet: div#mainnav{ background-color: #006; color: #ccf; font: "Arial, Helvetica, sans-serif" 70% bold; } div#mainnav a:link, a:visit

Quick CSS Question...

2003-11-14 Thread Marwan Saidi
Ok, so I have this code in a style sheet: div#mainnav{ background-color: #006; color: #ccf; font: "Arial, Helvetica, sans-serif" 70% bold; } div#mainnav a:link, a:visited { color: #ccf; text-decoration: none; font-size: 70%; font-weight: bold; } div#mainnav a:hover { color: #006; b