jquery - Enabled Adblock moves div up -


my problem is, when enable adblock, "box_and_content" div moves behind navigation. content behind navigation

when adblock disabled, looks this good

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

Popular posts from this blog

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -