hi,

you can use http://lud.icro.us/wordpress-plugin-head-meta/ for
inserting <head> tags on wordpress.

to make sure that your stylesheet overrides all other styles, list it
last, that is, insert before </head>. use your browser's view source
to see if it is placed last.

to learn how css cascades, see
http://www.w3.org/TR/CSS2/cascade.html#cascading-order

actually, i only use inline css if i don't want my styles for certain
elements gets overridden such as branded layouts for widgets. one
example is google adsense.

you just have to make sure that you can change the widget layout from one place.

cheers,
virgil
http://www.jampmark.com


On Sat, Jan 24, 2009 at 2:13 AM, Dan Gayle <danga...@gmail.com> wrote:
> On Jan 23, 2009, at 8:09 AM, Virgilio Quilario wrote:
>
>> You can always put a <link> 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 file.
>
> You could, and it will work, but that would be invalid XHTML :(
>
> Now, of course, I could insert the same stylesheet into the <head> element,
> but that still wouldn't solve my specificity issue, since I have no way of
> knowing what is or isn't in the cascade.
>
> ______________________________________________________________________
> css-discuss [cs...@lists.css-discuss.org]
> 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/
>
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
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/

Reply via email to