Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

How can we disable default browser style properties for elements?

How can we disable default browser style properties for elements?

Problem

Having issue in design on forms and links on a page I created because of the Browser Style Properties. How can I disable it so that no elements in my html page gets affected by the browsers' default style property?

All solutions are welcome. I am using php for development. So all solutions with css, javascript, php etc are welcomed.

Problem courtesy of: AeJey

Solution

You cannot disable browser default style sheets, just override them by setting properties to specific values. It is common to confuse the two.

This is a decision by browser vendors. They could give a page (scripts on a page) access to the browser’s stylesheet allowing it or parts thereof to be disabled. But they haven’t done that.

Solution courtesy of: Jukka K. Korpela

Discussion

View additional discussion.



This post first appeared on CSS3 Recipes - The Solution To All Your Style Problems, please read the originial post: here

Share the post

How can we disable default browser style properties for elements?

×

Subscribe to Css3 Recipes - The Solution To All Your Style Problems

Get updates delivered right to your inbox!

Thank you for your subscription

×