[CSS|JS] questions
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

[CSS|JS] questions

From: onetitfemme <onetitfemme2005@yahoo.com>
Date: Sun Apr 30 2006 - 20:20:04 CEST

>> Why is it that sometimes you must use inline styles? (I have tried
>> doing it in may different ways)
> Do a google search on "css specficity", but that's outside the scope of this group.
> Matt Kruse wrote:
> css specificity ...
 I wonder to which extent I could have conflicting CSS rules, since in
my trials I used both classes and id selectors and found the same
behavior. Also I post here in this group too, because JS and CSS do not
always play well together when you dynamically play setting/(re)-/(un)-
CSS properties with JS
.
 Here are the two examples, one with inline styles and the other with a
CSS.
.
// __ this one works!
 http://www.geocities.com/tekmonk2005/example02_inline.html
.
// __ this other one, based on CSS-based styles, does NOT!
 http://www.geocities.com/tekmonk2005/example04_css.html
.
 Both pages validated (except for the unfinished form, which I complete
dynamically and whose "action" you don't really need in this case)
.
 I need to understand this prob and fix it because I don't see any
benefit in using inline styles
.
 Also:
.
 How can you work around the "end tag for "..." which is not finished."
types of errors?
.
 The form element I need only in order to format the pop up and to use
the id selector, in order to feed it in with. I need to complete the
forms dynamically because I work on multilang sites
.
 Also there are ways to dynamically insert elements in a select box via
"new Option(...)". How can you do the same thing with radio button or
check boxes options in a form?
.
 otf js css
Received on Mon May 1 05:28:01 2006