On Thu, May 28, 2009 at 3:20 PM, Stephen Tang wrote:
> it's Javascript code that is doing this, since I know Javascript can
> access iframe content.
Javascript suffers from the same "Same Origin Policy" as CSS
__
css-discuss [cs
> Is it possible to
> do it like this je ne sais quoi and have a
> style on an external style sheet link
>
> .french {
> lang : fr;
> font-style: italic;
> }
You can use attribute selectors though:
*[LANG=fr] { font-style: italic; }
Will not work, obviously, in some of our geriatric browsers. Bu
IIRC, those stats only come from visitors of the W3Schools website,
and thus are highly swayed toward web designers who are using FF and
away from IE.
On Feb 16, 2009, at 3:01 PM, Ryan Little @ Gusto wrote:
> Hi all,
>
> I have been lurking for the last few days watching the eb and flo. I
>
On Jan 23, 2009, at 8:09 AM, Virgilio Quilario wrote:
You can always put a tag into your html body to include your
external css file.
I'm pretty sure it would override those linked in the head.
that should make your css for the widget re-usable.
you may put all overrides into that external f
I believe you are wrong. There are valid reasons for adding inline
styles.
For instance, when creating a plugin or widget for a CMS or other
managed site, often the CSS and/or the HTML cannot be modified.
On Jan 23, 2009, at 12:52 AM, david wrote:
If you can't modify the HTML, you can't add
I believe you are wrong. There are valid reasons for adding inline
styles.
For instance, when creating a plugin or widget for a CMS or other
managed site, often the CSS and/or the HTML cannot be modified. Or
perhaps something is created in the content itself that needs specific
styling, i
>> CSS requires a change in thought process, a re-envisioning of a
>> website
>> from a different perspective.
>
> Exactly, at least for those who learned to create web pages without
> the benefits of CSS.
This is the interesting part, because I'm a professional web
designer, and until abou
Ask a person who uses a screen reader to answer why tables shouldn't
be used for layout. You'll get your answer soon enough.
Ask a person who has had to modify or alter a website made in tables,
to add new features like a new sidebar or a pull quote within the
middle of a block of text.
Ask
Archive.org doesn't cache @imported stylesheets, so if you're
interested in posterity, links are the better way to do it.
On Jan 12, 2009, at 10:42 AM, s...@ssyed.com wrote:
> Probaly linking is being cashed and @import not? Loading times?
__
That's way more code than just styling it inline, IMHO. Even if you
were going to do it this way, it would be better to create simpler
classes:
a{color:red;}
.blue{color:blue;}
.green{color:green;}
A class overrides a simple element selector, so the classed span
(.blue) would override the a
Using span elements with inline style blocks will fix your problem.
Example:
Flickr
On Jan 8, 2009, at 6:27 PM, James E. Darfler wrote:
> I'm now trying to follow the strict
> definition of XHTML and it doesn't like the "font" in the solution.
Your selectors are wrong. You aren't using descendent selectors
for .article. You are saying .hm #news_snip .date has the color green
AND ALSO .article has the color green, because of the comma. That
means you have two declarations for .article, and the second one is
over-riding the first.
I am having a specificity problem that I need help with. I am trying
to create an info box that floats to the right within my main content
div that uses the cascade to supply the styling. The content of that
info box needs to be marked up using plain html elements, because the
content write
13 matches
Mail list logo