Jump to content

Archived

This topic is now archived and is closed to further replies.

Ninjakreborn

[SOLVED] Browser default styles

Recommended Posts

I had to share this.

 

http://tantek.com/log/2004/undohtml.css

I tested this, I use to have lot's of cross browser issues.  This successfully removes about 90% of all issues.  If you built a site, and if you are trying to get some stuff working, and you have having cross browser issues, then go for it.  Try this at the top of your CSS file, chances are those issues will simply disappear.

Share this post


Link to post
Share on other sites

Oh, basically I wanted some feedback on this method, is it a good idea is it safe.

Share this post


Link to post
Share on other sites

That looks like a pretty comprehensive list - thanks for the link.

 

In response to your "is it safe?" question: Of course. Just put that at the top of your first CSS file, so it doesn't over-ride any settings you establish later on.

 

I think I'm going to bookmark this thread... thanks again.

Share this post


Link to post
Share on other sites

I actually found it by a freak accident.

 

Some things I like too.  For example the image borders already taken care of, the varying ul, li styles are stripped preventing cross browser issues with those.  The thing automatically flushes above, with no extra work.  I am happy I ran across this, it is the only one like it on the Internet, I searched everywhere for another version after it, this was the only one.

 

If you go through his file's and logs he presents other file's for debugging.  HE has debugging structures, and scallops to help debug CSS issues, the stuff I found there is going to be very helpful.  It has already saved me hours worth of changing around (no more using borders to get the top to snap into place).

Share this post


Link to post
Share on other sites

Hmm... I normally do most of that stuff anyways.  However, I'm against removing the padding and margins from ALL that stuff.  I do it for body and a handful of others, but the default padding and margins on some of those other times can come in handy.

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.