The Techtoucian Network

The Journal of Ashley Kyd

Welcome to my site. Currently it's a cross between a proof of concept, a collaboration of my projects, a testing ground for new technology, and a place for me to get angry.

CSS Parent Styling

Posted Thu, 27 March 2008

Rascal Writes:

"I can't remove the parent styling such as underline, colour, and strikethrough of the ins and del tags."

You should be able to alter any CSS property, but in this case it's likely being overridden by something you've set previously.

If you've got the web developer toolbar, press ctrl+shift+y, or whatever the macquivalent is and click the element in question; it'll bring up all the styles applying to it. Using more accurate selectors you should be able to overcome this.

As a last resort if you can't work it out, you can force a style using !important. For instance ins{border-bottom:none !important;} The side-effect is that all browsers rendering that instruction think it's important, and there's no telling what troubles that might cause in the long run.

I do hope this helps.

Previous Articles

Click Here

Frazzled at being bombarded with link text reading "click here" all day, I thought it would be an interesting experiment to list what some of the worst offenders are.

No Comments.

Facebook

Why would you lock a log-in button after it's been clicked? Tell me that.

2 Comments.

For Further Reading:

Can't find what you're looking for? Try looking through the directory of Previous Articles, or type some keywords into the search form.

Article Search