...

View Full Version : how do i override chrome's user agent stylesheet?



JMayer
04-06-2011, 08:56 PM
Chrome is ignoring my style sheet placing a 40px padding between some text that I did not put there. How can I override this, so that it displays in chrome the way that I want it to?
I already have *{margin-top: 0; padding: 0; }
at the beginning, but still chrome is placing the 40px padding where it does not belong.

VIPStephan
04-06-2011, 09:07 PM
I suspect this is not an issue of Chrome’s user agent CSS but rather of your HTML. Please validate your code (http://validator.w3.org/) and fix any errors you may have. You can’t expect consistent results in different browsers if the code isn’t valid. If yours is, however, then please post your entire code (HTML and CSS) so we can have a look at it.

JMayer
04-06-2011, 10:11 PM
Do you have a link to a code validator? Is there one that will validate unpublished code by copying and pasting?

I do not have it published online yet.

I found the problem. Thanks.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum