<pre> Hello All,
Greetings for the day!
Am sure it has been asked earlier, but i couldn't find the better solution else where.
Well, there is a Div ID "#ctl00_ctl00_CPMain_Tabs_pnl1111_Fp1_rowHeader" with some inline height, and in Master page also this ID has height defined.
I need to diable(or set "auto !important") both the height as it's adding some extra height to the grid.
below is Data.Master code
<pre lang="ASP.NET">#ctl00_ctl00_CPMain_Tabs_pnl1111_Fp1_rowHeader {
height: 630px !important;
}
i made the inline height "auto !important" by writing below code
$('#ctl00_ctl00_CPMain_Tabs_pnl1111_Fp1_rowHeader').css("height", "auto !important");
I am unable to avoid height which is getting applied from Master page.
Thanks,
Alin
What I have tried:
<pre lang="text">Now i am trying to remove(or setting "auto !important") height from Master Page,which is getting applied when i am making inline height "auto !important"
if (("#ctl00_ctl00_CPMain_Tabs_pnl1111_Fp1_rowHeader").height == "630px !important") {
$('#ctl00_ctl00_CPMain_Tabs_pnl1111_Fp1_rowHeader').css("height", "auto !important");
}