Jump to content

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.

Link to comment
https://forums.phpfreaks.com/topic/42580-solved-browser-default-styles/
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.

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).

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.