Previous Message
Next Message

In HTML CSS vs. Separate style sheet CSS

Sent by Climis, Tim on 15 March 2010 16:04


> 100%px isn't valid, unless my programming mind is tying to make too much sense.

I think that's the problem... His template is putting in 'px' even though he doesn't want one.  And
he wants to have a width of 100% in spite of it.

> Stylesheets should never overwrite a style defined in the actual tag
(Unless it's on the user's side).

On the other hand, that gave me an idea that may work (completely untested mind you):

Invalid styles should be ignored.  So, if you specify "width: 100%px" in the inline style, and then
width: 100% in the style sheet, it might actually get applied.  It would be among the ugliest hacks
I've ever seen though.

---Tim




______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Message thread: