[css-d] border needed to display background-image

2008-02-28 Thread john saylor
hey

i have a div that i am using for a header image. i get the image from
the background-image property and set the size using padding-bottom.

the image won't show unless i put someother display element out there.
i have been using a 1px white border-right, but there must be a better
way. i can't be the first with this problem.

if there is a better way to do this, can someone give me a hint? some
kinda 'display' property?

thx for any help.

-- 
\js  [ http://or8.net/~johns/ ]
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] * in css

2007-09-11 Thread john saylor
hi

On 9/11/07, Julian Tulip's Licorice [EMAIL PROTECTED] wrote:
 I am wondering if anyone knows what the asterisks in the following CSS do:

yes.

 I would love some insight

the answer was on the first page i found when i searched for css
asterisk. you can probably do this search yourself.

my guess is that the double asterisk is a typo or misunderstanding of
css selectors.

-- 
\js  [ http://or8.net/~johns/ ]
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] DT, DD, in CSS

2007-09-10 Thread john saylor
hi

On 9/10/07, Paul Hanson [EMAIL PROTECTED] wrote:
 Does anyone on this list define DT and DD tags in their CSS? I am
 trying to make this work and I'm having a tough go at it.

you might try using a more complete selector.

instead of something like this:
dt { color: green; }

try this:
dl dt { color: green; }

good luck!

-- 
\js  [ http://or8.net/~johns/ ]
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] HTML and CSS Validators

2007-07-19 Thread john saylor
hi

On 7/19/07, Gillespie, Michael A [EMAIL PROTECTED] wrote:
 Doing most of my daily work behind a firewall and usually not having an 
 option to put my file in a public place, I find myself looking for a CSS 
 and XHTML
 validator that I can install behind the firewall.

firefox has an extension for HTML validation:
https://addons.mozilla.org/en-US/firefox/addon/249

with CSS i think you need to go to w3c [unless you want to program
your own extension to do this].

but there is a file upload interface that may work for you:
http://jigsaw.w3.org/css-validator/#validate-by-upload

-- 
\js  [ http://or8.net/~johns/ ]
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] ID vs Class

2007-06-27 Thread john saylor
hi

On 6/27/07, Travis Killen [EMAIL PROTECTED] wrote:
 Why should class be used to define an element vs. id?

http://www.w3.org/TR/REC-CSS2/selector.html#id-selectors

 Any links to information on
 this topic would be much appreciated.

http://www.w3.org/TR/REC-CSS2/cover.html#minitoc

-- 
\js  [ http://or8.net/~johns/ ]
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/