<p>I am using the AJAX Control Toolkit Popup Calendar Control in a datagrid. When it is in the footer it looks fine. When it is in the edit side of the datagrid it is inheriting the style from the datagrid and looks completely different (i.e. too big). </p>

<p>Is there a way to alter the CSS so that it does not inherit the style from the datagrid?</p>

[{'answer_id': 64245, 'author': 'McKay', 'author_id': 8384, 'author_profile': 'https://Stackoverflow.com/users/8384', 'pm_score': 0, 'selected': False, 'text': "<p>It uses the style from the grid, because it's in it. If you want to change it's style, change the style of the control. What do you want it to do?</p>\n"}, {'answer_id': 64317, 'author': 'user8456', 'author_id': 8456, 'author_profile': 'https://Stackoverflow.com/users/8456', 'pm_score': 2, 'selected': True, 'text': "<p>Open the page in firefox. However, first, download the firebug extension. Then, right click on the offending version and go down to inspect element.</p>\n\n<p>Firebug is awesome because it let's you navigate the css of any element. You have two options here:</p>\n\n<p>1) Assign the topmost element an css class and work it that way. \nor\nIf that's not an option, you can use firebug to get the xpath to the offending element. \nXpaths look like body/table/tr/td/table/tr[2]</p>\n\n<p>what you want to do with that in css is</p>\n\n<pre><code>body table tr td table tr {\n    /*css goes here */\n\n}\n</code></pre>\n\n<p>Option 1 is definitely the better pick. Option 2 is more of a dirty way of getting things\ndone when things like asp.net doesn't let us have the fine grain of control we want.</p>\n\n<p>It would be really awesome if you used a pastebin and posted the link to your rendered page's html. </p>\n"}, {'answer_id': 64842, 'author': 'Travis', 'author_id': 7316, 'author_profile': 'https://Stackoverflow.com/users/7316', 'pm_score': 0, 'selected': False, 'text': '<p>Here is the pastebin link:</p>\n\n<p><a href="http://pastebin.com/m17d99f8a" rel="nofollow noreferrer">http://pastebin.com/m17d99f8a</a></p>\n\n<p>I am using a stylesheet for the grid that I got from Matt Berseth\'s blog located here:\n<a href="http://mattberseth.com/blog/2007/10/a_yui_datatable_styled_gridvie.html" rel="nofollow noreferrer">http://mattberseth.com/blog/2007/10/a_yui_datatable_styled_gridvie.html</a></p>\n\n<p>I am using a similar stylesheet for the calendar that I cannot find the link for anymore.</p>\n'}]
['https://Stackoverflow.com/questions/64193', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/7316/']