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
#ctl00_ctl00_CPMain_Tabs_pnl1111_Fp1_rowHeader {
height: 630px !important;
}
i made the inline height "auto !important" by writting below code
$('#ctl00_ctl00_CPMain_Tabs_pnl1111_Fp1_rowHeader').css("height", "auto !important");
Now i am trying to remove height 630px !important height from Master Page (which is getting applied when i am making inline height "auto !important") and set "auto !important".
if (('#ctl00_ctl00_CPMain_Tabs_pnl1111_Fp1_rowHeader').height == "630px !important") {
$('#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