From: Richard L. <ce...@l-...> - 2007-08-16 19:00:30
|
On Thu, August 16, 2007 12:28 pm, Richard Lynch wrote: > Can anybody tell me WHY in this page: > > http://www.l-i-e.com/css/mailto.php.htm > > The TEXTAREA is having all these #xxx_xxx_form styles applied, while > the INPUTs are not? > > At least, according to firebug, it is. > > And, in Firefox, it is being styled as #profile_password_form, which > is only 300 wide and has margin-left of 380, which is just totally not > what I wanted... > > NONE of the styles should be applied from an ID that's not even in the > whole page! > > And if it IS going to apply them, at least be consistent with INPUT > and TEXTAREA and apply the same rules! > > Grrrrr. > > CSS seems so damn random! Aha! As Audra Coldiron pointed out on another list... #id1 input, textarea, select means: (#id1 input), (* textarea), (* select) and does NOT mean the same as what I should have typed: #id1 input, #id1 textarea, #id1 select This even makes sense, now... :-) -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? |