jquery - Enabled Adblock moves div up -
my problem is, when enable adblock, "box_and_content" div moves behind navigation.
now "box_and_content" should fixed margin-top, or this. it shouldn´t move when user has adblock.
sorry eventual bad english , in advance.
i checked site, should post codes. image not helpful enough. can not comment because not have enough reputation.
the problem not "box_and_content" div
. see alright when there "ad" because "ad" has margin-top
value, inline style. , see problems when "ad" removed, because "box_and_content" not have "margin-top" value set same amount.
solution:
remove inline style ad. instead add padding-top
or margin-top
"#wrapper", value should same or more "nav" height
visible. noticed using css @media. not forget change value there, when change height
of "nav".
Comments
Post a Comment