Originally Posted by troyb
I wouldn't mind having a way to collapse blocked ads, it would make for a much cleaner appearance on many pages. We're trying to get back to the 5.1.3 way at the moment but we'll see what can be done here.
Yes, it would be nice to do this relatively "automatically". But thanks to the new feature in OW 5.5 that allows a custom stylesheet in site-specific preferences, I have been able to create several stylesheets that completely hide ad containers and other things I don't want from several sites (removing them completely from the layout).
The easiest way to do this is if the container box has a specific class or ID that I can target, but CSS does also allow you to target elements by their attributes and values. The web developers among us might have forgotten about some of the more advanced selectors, cause many of them don't work in IE, but in this situation we have a lot more control, since WebKit does support the majority of the CSS2 selectors correctly. Obviously you have to be careful not to use anything too generic or you may be hiding stuff you wanted to keep.
Another thing that's helpful is the fact that OmniWeb lets you edit the source of any page, and "Redisplay" it, which makes it easy to find the element you want to target (e.g. try adding a red border with the style attribute to find containers), and test your style rules before putting them in a text file and selecting it in the site prefs.
One thing to be aware of when testing your custom CSS is that OW sometimes fails to honor these rules when you reload a page (this might only happen after you've messed with the source and done a "redisplay", because most of the time the changes to the custom CSS file seem to take effect properly when I reload). You may have to click to go to another page on the site, then click to return to the one you were viewing.