Ninjakreborn Posted March 13, 2007 Share Posted March 13, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/42580-solved-browser-default-styles/ Share on other sites More sharing options...
Ninjakreborn Posted March 13, 2007 Author Share Posted March 13, 2007 Oh, basically I wanted some feedback on this method, is it a good idea is it safe. Quote Link to comment https://forums.phpfreaks.com/topic/42580-solved-browser-default-styles/#findComment-206629 Share on other sites More sharing options...
neylitalo Posted March 13, 2007 Share Posted March 13, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/42580-solved-browser-default-styles/#findComment-206657 Share on other sites More sharing options...
Ninjakreborn Posted March 13, 2007 Author Share Posted March 13, 2007 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). Quote Link to comment https://forums.phpfreaks.com/topic/42580-solved-browser-default-styles/#findComment-206676 Share on other sites More sharing options...
Daniel0 Posted March 14, 2007 Share Posted March 14, 2007 Here is a good link as well: http://www.search-this.com/2007/03/12/no-margin-for-error/ Quote Link to comment https://forums.phpfreaks.com/topic/42580-solved-browser-default-styles/#findComment-206853 Share on other sites More sharing options...
Ninjakreborn Posted March 14, 2007 Author Share Posted March 14, 2007 Very interesting, thanks. Quote Link to comment https://forums.phpfreaks.com/topic/42580-solved-browser-default-styles/#findComment-206964 Share on other sites More sharing options...
ober Posted March 14, 2007 Share Posted March 14, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/42580-solved-browser-default-styles/#findComment-207154 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.