Forum Moderators: open
I have setup my site to include an "advertisement" (placed on the right side of a centered table using CSS).
It looks great on higher resolutions. MY goal though , is to make it seem like it's "not there" on lower resolutions. However, on lower resolution, the horizontal scroll bar is active.
Is there any way to disable this horizontal scroll bar, or alternatively, program it so the ad isn't displayed in lower resolutions?
Let me know,
Andrew.
overflow:hidden;CSS style on the element and see if that has the intended effect. (It may be better to put it on the parent element, not really sure)
You may also want to post this in the CSS forum [webmasterworld.com] as the answer surely lies in CSS styling.
Now, for anyone whose using "better than" 800*600 resolution, i want it to display the add on the right of this table.
I didn't even think of the problem of "actually counting impresions" even though the add isn't displayable... Hm..i'm using goole adwords and wonder if this would have an adverse effect?
Is there any simple javascript that could perhaps be incorporateD? Perhasp soemthing like :
if resolution = 800*600
then display ad.
if resolution > 800* 600
don't display ad?
Maybe i'm getting to complciated...maybe i should rethink this? Any suggestions appreciated.
Andrew.
But mostly, I'd say your suspicion is on the money - this is a bit too complicated an approach altogether. You certainly don't want to generate issues with Google.
I have seen sites that simply allow the horizontal scrollbar for ads on the right. If you ensure that the immediately readable content does not require scrolling, that can be workable.