On Friday, February 22, 2013 12:46:37 am Angela French wrote:
> Can someone please explain this to me - what it does, and maybe a practical
> example? Thank you.
>
> [class*="span"] {
> float: left;
> min-height: 1px;
> margin-left: 20px;
> }
>
this selects any element with a class that c
Le 22 févr. 2013 à 09:46, Angela French a écrit :
> Can someone please explain this to me - what it does, and maybe a practical
> example? Thank you.
>
> [class*="span"] {
> float: left;
> min-height: 1px;
> margin-left: 20px;
> }
A helpful translator for these selectors:
http://gallery.
http://stackoverflow.com/questions/9836151/what-is-this-css-selector-class-span
Sent from my iPhone
On Feb 21, 2013, at 7:46 PM, Angela French wrote:
> Can someone please explain this to me - what it does, and maybe a practical
> example? Thank you.
>
> [class*="span"] {
> float: left;
> m
Can someone please explain this to me - what it does, and maybe a practical
example? Thank you.
[class*="span"] {
float: left;
min-height: 1px;
margin-left: 20px;
}
Angela French
Internet Specialist
State Board for Community and Technical Colleges
360-704-4316
afre...@sbctc.edu
http://ww
2012-01-25 2:21, Russ Peters wrote:
The problem is that when you go to our site: http://www.redcanoecu.com
> then try and login to Online Banking the tagline "your dreams our
passion"
> image doesn't pad right 12em. It's ends up next to the logo.
I can't explain that (IE generally honors pad
I have a class called "tagline" that is located in the css file here:
http://www.redcanoecu.com/_css/global.css It's located in the /*Header*/
section.
The problem is that when you go to our site: http://www.redcanoecu.com then try
and login to Online Banking the tagline "your dreams our passio
Stuart King wrote:
> URL:
> http://www.skingdesign.com/tv_site/index.html
>
> The .66 and .33 columns don't conform to their padding or measurements.
>
> I validated the page and tried several different configurations - noting.
>
> :o(
>
> Please help.
>
> thanks.
>
> stuart
>
Try replacing
> URL:
> http://www.skingdesign.com/tv_site/index.html
>
> The .66 and .33 columns don't conform to their padding or measurements.
These are not valid class names
--
Regards,
Thierry
www.tjkdesign.com | www.ez-css.org | @thierrykoblentz
__
URL:
http://www.skingdesign.com/tv_site/index.html
The .66 and .33 columns don't conform to their padding or measurements.
I validated the page and tried several different configurations - noting.
:o(
Please help.
thanks.
stuart
Dorothy Hesson 2336 wrote:
> Hello -
>
> I am quite baffled here. I know I am totally missing something, but I
> simply can't see it! Can you assist, please?
>
> I am trying to float an image right within a #content div. When I place
> the following rule in the element within
Good afternoon Dorothy,
It was foretold that on 04/01/2008 @ 09:26:27 GMT-0500 (which was
12:26:27 where I live) Dorothy Hesson 2336 would write:
> The whole stylesheet does work. The stylesheet validates, too. This is
> what's getting me!
> URL with the
Dorothy Hesson 2336 wrote:
> The whole stylesheet does work. The stylesheet validates, too. This is
> what's getting me!
>
> URL with the
On Jan 4, 2008, at 11:26 PM, Dorothy Hesson 2336 wrote:
> The whole stylesheet does work. The stylesheet validates, too. This is
> what's getting me!
>
> URL with the
K. Korpela
Cc: css-d@lists.css-discuss.org
Subject: Re: [css-d] Class and Specificity?
>
>> I am quite baffled here. I know I am totally missing something, but I
>> simply can't see it! Can you assist, please?
>
>I'm afraid we are missing a URL.
>
>> I am
>
>> I am quite baffled here. I know I am totally missing something, but I
>> simply can't see it! Can you assist, please?
>
>I'm afraid we are missing a URL.
>
>> I am trying to float an image right within a #content div. When I
>> place the following rule in the element within
Dorothy Hesson 2336 wrote:
> I am quite baffled here. I know I am totally missing something, but I
> simply can't see it! Can you assist, please?
I'm afraid we are missing a URL.
> I am trying to float an image right within a #content div. When I
> place the following rule in the element within
Hello -
I am quite baffled here. I know I am totally missing something, but I
simply can't see it! Can you assist, please?
I am trying to float an image right within a #content div. When I place
the following rule in the element within
On Oct 18, 2006, at 8:32 AM, frances wrote:
> Does anyone know of experienced css users creating or suggesting
> naming
> standards for classes and IDs?
I *never* put style information in the ID/class name. that means when
the time comes to rework the site, I can rework the style without
h
frances wrote:
> Does anyone know of experienced css users creating or suggesting naming
> standards for classes and IDs?
>
> Thanks for your help!
> -frances
The best theory, I believe, is to keep names, especially class names,
related to their function, as opposed to description.
So if y
I shy away from using ids and classes like .red or .bright simply because at
some point I may need to change the colours and then will have to change the
name too ie
.red {
color: red;
}
better:
.warning {
color: red;
}
__
css-d
Hi Frances,
With a layout like the following:
Navigation Area
Home
About
I use the following CSS:
.left-navi {
/* Main navi box */
width:120px;
}
.left-navi h1 {
/* Title font */
font-family: Verdana;
}
.l
Hello.
I've been working with css for a while now, but I still struggle with
creating flexible and re-usable Class and ID names. IDs are usually
easier since I most often use them for structure, so the left column is
#left-column, etc. But in cases where they are used to style content, I
am to
On 10/08/06, Chris Akins <[EMAIL PROTECTED]> wrote:
> But, even in other browsers, the bullets wouldn't go away by JUST
> defining a class rule like:
>
> .noBull {list-style:none;}
>
> and then applying that class to a in my html code.
#content ul {padding:0; margin:0; list-style:none;
list-style
On 8/10/06, Chris Akins <[EMAIL PROTECTED]> wrote:
> Why?
>
> How can I get IE to eliminate the bullets on this page and respect the
> .class="noBull"?
I think it is an unexpected inheritance problem. where the more
generic list-style doesn't overrule the list-style-image property.
Anyway you can
I'm confused over classes that sometimes just won't apply.
Page in question:
www.springfieldmogov.org/founders/concerts.html
CSS:
www.springfieldmogov.org/css/founders.css
The list of concerts on this page should NOT be showing any bullets,
custom or otherwise. But in IE it does, despite the U
> Respect what you say Christian - very much my thinking for I already build
> using no-hack no-JS cross-browser sites. However, once I saw a recent post
> (forget where) that remarked on dynamically separating styles by modifying
> the tag according to browser type, all this caught my interest.
From: "Christian Heilmann" <[EMAIL PROTECTED]>
> > All I'm playing around with here is a method of removing the need for
CSS
> > hacks by implementing different classes according to sniffed browser -
in
> > this case by calling a PHP sniffer at the top of the page. I'm
particularly
> > keen to see
> All I'm playing around with here is a method of removing the need for CSS
> hacks by implementing different classes according to sniffed browser - in
> this case by calling a PHP sniffer at the top of the page. I'm particularly
> keen to see it's use in various accessibility scenarios.
Woohoo an
From: "Christian Heilmann" <[EMAIL PROTECTED]>
> > It works fine in Firefox and IE but doesn't validate (XHTML 1.0
Strict) -
> > validation fails immediately after the "class=" declaration. I've
searched
> > without luck for information on this.
>
> In addition to the information pointed out in the
> > I'm experimenting with using a class in the tag, for example:
> >
> > http://www.w3.org/1999/xhtml"; xml:lang="en"
> > lang="en">
> http://www.w3.org/TR/xhtml1/#dtds
In addition to the information pointed out in the other posts in this
thread there's also the semantic idea:
- a class is to
Mike A a écrit :
> I'm experimenting with using a class in the tag, for example:
>
> http://www.w3.org/1999/xhtml"; xml:lang="en"
> lang="en">
>
> It works fine in Firefox and IE but doesn't validate (XHTML 1.0 Strict) -
> validation fails immediately after the "class=" declaration. I've search
Mike A a écrit :
> I'm experimenting with using a class in the tag, for example:
>
> http://www.w3.org/1999/xhtml"; xml:lang="en"
> lang="en">
>
> It works fine in Firefox and IE but doesn't validate (XHTML 1.0 Strict) -
> validation fails immediately after the "class=" declaration. I've search
Mike A wrote:
> I'm experimenting with using a class in the tag, for example:
>
> http://www.w3.org/1999/xhtml"; xml:lang="en"
> lang="en">
>
> It works fine in Firefox and IE but doesn't validate (XHTML 1.0 Strict) -
> validation fails immediately after the "class=" declaration. I've searched
I'm experimenting with using a class in the tag, for example:
http://www.w3.org/1999/xhtml"; xml:lang="en"
lang="en">
It works fine in Firefox and IE but doesn't validate (XHTML 1.0 Strict) -
validation fails immediately after the "class=" declaration. I've searched
without luck for information
Hi Georg, that was an excellent response! Saving this one to the archives.
Gunlaug Sørtun wrote:
> The one that works best - in each case :-)
Kinda what I was thinking, but wanted to hear it from the pros.
> I do add classes to ID'ed elements for certain things, but I find it
> easier to maintai
Micky Hulse wrote:
> [...] But when I start noticing common styles (for example: clears,
> background colors, and/or font colors), it seems more logical to
> apply classes to my markup like the first example (or second... which
> is better?)
The one that works best - in each case :-)
I do add
Hi all, hope everyone is doing well. :)
CSS example 1:
.fl { float: left; }
Content
Content
Content
CSS example 2:
#main, #secondary, #sub { float: left; }
Content
Content
Content
CSS example 3:
#main { float: left; /* plus other styles */ }
#secondary { float: left; /* plus other styles *
> Clients | <---
> move the selector from the anchor to the * * and use double quotes not
> single..
Is there any solid ref on use of ' over " in html and css?
Thanks for the help with the other stuff, got it working now.
--
-
Scott
Affrternoon Scott
You wrote
> Can someone help me with this one:
>
>
>Home |
>Who are we? |
>Why Us? |
>Our Approach |
>Clients |
>Lets Talk
>
>
> a.selected {
>color: red;
>font-weight: bold;
> }
>
> I get the bold, but not the red
> --
If all you want is bo
On Jun 8, 2006, at 2:37 PM, Scott Haneda wrote:
>> Since you're not giving the actual context of the snippet, I can
>> only guess:
>> You probably have set a colour for ul#navlist a, and to override
>> it with just a class, you'd have to add the parent's selector
>> too. IOW, the following will p
> Since you're not giving the actual context of the snippet, I can
> only guess:
> You probably have set a colour for ul#navlist a, and to override
> it with just a class, you'd have to add the parent's selector
> too. IOW, the following will probably work:
> #navlist a.selected {
> color: red;
Scott Haneda wrote:
> Can someone help me with this one:
>
>
>Home |
>Who are we? |
>Why Us? |
>Our Approach |
>class='selected'>Clients | href="/talk/index.ws">Lets Talk
>
> a.selected {
>color: red;
>font-weight: bold;
> }
>
> I get the bold, but not the red
S
Can someone help me with this one:
Home |
Who are we? |
Why Us? |
Our Approach |
Clients |
Lets Talk
a.selected {
color: red;
font-weight: bold;
}
I get the bold, but not the red
--
-
Scott Haneda
Design Groups wrote:
>>> Why would someone use a class instead of an id on body?<<
>
> Christy -
>
> The first thing I thought of off the top of my head were navigational links.
> I'm sure there's other reasons out there, but I recently did a site where I
> had to apply a body class because the
> I'm studying the css on some other sites and I see a class applied to
> body on one. Why would someone use a class instead of an id on body?
To allow for another ID? Also, it allows you to add more than one hook
to use in your site.
blogger.com defines layout that way:
http://code.blogspot.com
>>Why would someone use a class instead of an id on body?<<
Christy -
The first thing I thought of off the top of my head were navigational links.
I'm sure there's other reasons out there, but I recently did a site where I
had to apply a body class because the client wanted "tabbed navigation".
I'm studying the css on some other sites and I see a class applied to
body on one. Why would someone use a class instead of an id on body?
TIA,
Christy
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinf
All sorted thanks to Roger Roelofs.
I must have replied to him directly.
Ta
Ian
-Original Message-
From: {tonyFelice} [mailto:[EMAIL PROTECTED]
Sent: 02 January 2006 19:02
To: 'Ian Young'; '[EMAIL PROTECTED] Css-Discuss. Org'
Subject: RE: [css-d] class vs id issu
[tonyFelice] Ian, additional questions inline, please:
Template coming together but cannot seem to get "div class" to work.
[tonyFelice] does not work on what platform, please?
The border doesn't appear if I use the class version
[tonyFelice] which border, please?
See
http://www.iyesolutions.co.
Template coming together but cannot seem to get "div class" to work.
The border doesn't appear if I use the class version
If write as "div id" all works fine but as this is a dynamic page it will
return more than one div id and will not comply with mark-up.
See
http://www.iyesolutions.co.uk/templ
Brian wrote:
> >>> Similarly, refer to elements with an ID by the ID alone: #m_home,
> >>> not a#m_home. There should only be ONE, so there's no need to
> >>> specify the element.
> >
>If you have a rule for
>#container a {} and want new rules for #container #foo {} just give it
>the rules - anyth
> > However, as sexy as highlighting with CSS only is, it does not make
> > sense from a usability/accessibility point of view, as the current
> > page _should not be a link_. Personally I highlight the current page
> > with a strong - as this also makes sense without CSS and use the body
> > id co
Christian Heilmann wrote:
> However, as sexy as highlighting with CSS only is, it does not make
> sense from a usability/accessibility point of view, as the current
> page _should not be a link_. Personally I highlight the current page
> with a strong - as this also makes sense without CSS and use
I think the idea was that the wiki would stay "evergreen" while the past
discussion would not be
as available to new members (or existing members who don't feel like searching
archives) Wiki
pages are also more easily referred to in response to new questions than an
old discussion
thread.
>>> Now, most of us agreed that what the original poster was trying
>>> to do wasn't a Good Thing, and there otherwise wouldn't be much
>>> use to differentiate the links, but a better way would be to
>>> apply IDs instead
>
>
> Unless you have more than one navigation on the page and want to do
> And, if you *do* want to IDentify each link, an ID is what you want,
anyway.
> Conversely, when writing rules for a class, always specfy the element.
If only we all had the freedom to do so.
~ cj
[stuck with Microsoft hijacking ID tags for their own use and making it
impossible for me to sp
> >
> >
> >
> >
>
> Now, most of us agreed that what the original poster was trying to do
> wasn't a Good Thing, and there otherwise wouldn't be much use to
> differentiate the links, but a better way would be to apply IDs instead
Unless you have more than one navigation on the page and want t
I keep seeing examples where people are using classes instead of IDs in
their markup. Take this example from the "rollover with no link content"
thread:
>
>
>
>
Now, most of us agreed that what the original poster was trying to do
wasn't a Good Thing, and there otherwise wouldn't be much u
Stephen Kortz wrote:
> I am a bit confused about: style. Take the following statement: style="margin-top; 200px"> From my reading, I understand that this
> html element, "style" has been deprecated. Is this true or have I
> misinterpreted the information?
Inline styles are not deprecated, but
On 25/11/05, Stephen Kortz <[EMAIL PROTECTED]> wrote:
> I am a bit confused about: style. Take the following statement: style="margin-top; 200px"> From my reading, I understand that this html
> element, "style" has been deprecated. Is this true or have I misinterpreted
> the information?
It isn't
I am a bit confused about: style. Take the following statement: From my reading, I understand that this html
element, "style" has been deprecated. Is this true or have I misinterpreted
the information?
Second, how would I go about replacing this html version of "style" into a
proper CSS rule to u
I have a simple questions for all of yours. If I have this styel:
.mainTableContainer {
max-width: 760px;
border: 0px;
width: 740px;
}
And I have this code:
Kerry Kobashi wrote:
> Is the use of classes and id together well supported in browsers today?
>
> Any thing to be aware of that will end up in gotchas later on through its
> use?
There are two possible gotchas in IE6.
Ingo
http://www.w3.org/TR/html4/strict.dtd";>
gotchas with class-class o
Kerry Kobashi wrote:
Is the use of classes and id together well supported in browsers today?
Any thing to be aware of that will end up in gotchas later on through its
use?
Hi Kerry,
there is no problem using classes and id's together just remeber that an
id may only be used once in a document
> Doing this presupposes that you will only have one blue item and one red
> item on a page. What if you want to create anything else on the page with a
> blue background? I would keep them all classes and use the structure below
>
> .box {border: 1px solid black; }
> .blue{background-color: blu
Hi Kerry,
Doing this presupposes that you will only have one blue item and one red
item on a page. What if you want to create anything else on the page with a
blue background? I would keep them all classes and use the structure below
.box {border: 1px solid black; }
.blue{background-color: blu
Is the use of classes and id together well supported in browsers today?
Any thing to be aware of that will end up in gotchas later on through its
use?
For example:
.box
{
border: 1px solid black;
}
#blue
{
background-color: blue;
}
#red
{
background-color: red;
}
On 7 Nov 2005, at 7:43 pm, Roberto Gattinoni wrote:
> I have a table in my markup which uses a COL tag for each column of
> the
> table. In the COL tag I specify a class which has to be applied (in my
> understanding of it) to all the corresponding TD's of the column. This
> is
> what I get in
Don't know what is the correct behaviour (and not sure this is the correct
place to post the question).
I have a table in my markup which uses a COL tag for each column of the
table. In the COL tag I specify a class which has to be applied (in my
understanding of it) to all the corresponding T
On 7/20/05, Michael Cassidy <[EMAIL PROTECTED]> wrote:
>
> .here {
> font-family: Georgia, Times, serif;
> font-size: 100%;
> color: #fff;
> }
>
> I had originally wrote:
>
> Discussion and thumbnails
>
> but that did nothing. So I changed it to:
>
> Discussion and thu
We would really need to see the rest of the CSS and the code itself but
a guess is that there is a more specific CSS rule operating on class="here">.
Maybe there is rule such as #someID p {some stuff here;} that is more
specific than your other rule so your other rule does not apply.
Michael
.here {
font-family: Georgia, Times, serif;
font-size: 100%;
color: #fff;
}
I had originally wrote:
Discussion and thumbnails
but that did nothing. So I changed it to:
Discussion and thumbnails
Which works.
Why?
Jazz is freedom. - T. Monk
www.panix.com/~cassidy
_
Ahhh...that makes sense then. Outlook error then. Thanks man.
Larry
-Original Message-
From: Ingo Chao [mailto:[EMAIL PROTECTED]
Sent: Monday, June 13, 2005 9:43 AM
To: Larry Winfrey
Subject: Re: [css-d] Class=3d"something"
Larry Winfrey schrieb:
> I have been see
Larry Winfrey wrote:
I have been seeing this used in a lot of examples on this list lately
and I was wondering what it was for. I have never seen that 3D part
of a selector before. Could someone explain that to me?
Hi,
I don't think what you are seeing has anything to do with the CSS
examples
Larry / James,
> I have been seeing this used in a lot of examples on this list lately
> and I was wondering what it was for. I have never seen that 3D part of
> a selector before. Could someone explain that to me?
It's a type of encoding called quoted printable. Basically you can write a
charac
css-discuss.org
Subject: [css-d] Class=3d"something"
I have been seeing this used in a lot of examples on this list lately
and I was wondering what it was for. I have never seen that 3D part of
a selector before. Could someone explain t
I have been seeing this used in a lot of examples on this list lately
and I was wondering what it was for. I have never seen that 3D part of
a selector before. Could someone explain that to me?
Larry Winfrey
__
css-discuss [EMAIL
On Sun, 05 Jun 2005 14:27:26 -0400, Felix Miata <[EMAIL PROTECTED]> wrote:
Dida Kutz wrote:
I have a problem that seems exceedingly simple to solve, but I can't
seem to- so hoping you can help out.
The header on my pages are defined as with the numbers
changing per entry. To format this he
Dida Kutz wrote:
> I have a problem that seems exceedingly simple to solve, but I can't
> seem to- so hoping you can help out.
> The header on my pages are defined as with the numbers
> changing per entry. To format this header in red I'm understanding
> that all I need to do is place this in
Dida Kutz wrote:
>I have a problem that seems exceedingly simple to solve, but I can't seem
to- so hoping you can help out.
>The header on my pages are defined as with the numbers
changing per entry. To format this header in red I'm understanding that all
I need to do is place >this in my styl
I have a problem that seems exceedingly simple to solve, but I can't
seem to- so hoping you can help out.
The header on my pages are defined as with the numbers
changing per entry. To format this header in red I'm understanding
that all I need to do is place this in my stylehseet:
h3[id] {color
Worked, thanks.
I had finally figured out that it was the use of the italic but I
couldn't come up with a work around except changing to a sans-serif
font and no italic.
Thanks.
On May 26, 2005, at 2:27 AM, Bruno Fassino wrote:
Michael Cassidy wrote:
I have a bar that I want to extend acr
Michael Cassidy wrote:
> I have a bar that I want to extend across the top of my page.
> It works on all my pages except one; and on that one on my Mac's
> browsers but not using Explorer in Windows.
>
> http://www.panix.com/~cassidy/test.html
>
> The bar across the top will extend if I just have
I have a bar that I want to extend across the top of my page.
It works on all my pages except one; and on that one on my Mac's
browsers but not using Explorer in Windows.
The page is at:
http://www.panix.com/~cassidy/test.html
The bar across the top will extend if I just have a single baptism
I can't think of any problems.
The css selectors are different (# vs .), so you should be fine.
However, I personally wouldn't do this.
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wik
85 matches
Mail list logo