| Forum Home | ||||
| PC World Chat | ||||
| Thread ID: 93443 | 2008-09-17 01:16:00 | Updated CSS (aka "the forum, and nothing but the forum") | Erayd (23) | PC World Chat |
| Post ID | Timestamp | Content | User | ||
| 705871 | 2008-09-17 07:49:00 | I have put the code into stylish but nothing seems to have changed am I doing something wrong? | gary67 (56) | ||
| 705872 | 2008-09-17 07:51:00 | In Stylish it needs to be made site specific, for instance Yahoo eMail has vital parts removed by the unmodified CSS, I find this works well: /*remove ads and misc branding clutter *//*remove ads and misc branding clutter, clean up layout */ @-moz-document domain("pressf1.pcworld.co.nz") {.fairfax_nav, .newsletter_div, #adSpace1, #adSpace2, #adSpace3, #adSpace4, #adSpace5, #adSpace6, #advert-banner, #header, #jcornerSmall, #jcornerBig, #navigation, #page-peel-right-6, #sponsor_div, ., .sponsored_links, table[width="160"], table[bgcolor="#DF0026"], table[cellpadding="5"], td[width="180"], td[width="170"], td[width="300"], div[align="center"] a[target="_new"], div[style="width:160px; float:left; "], div[style="width:300px; float:left; margin-right:10px; border:1px solid #cccccc; padding:5px; "], div[style="width:290px; float:left; margin-right:10px; border:1px solid #cccccc; padding:5px; "], div[style="width:302px; float:left; margin-right:10px; border:1px solid #cccccc; padding:5px; "], div[style="text-align:center; border:1px solid #cccccc; padding:5px; margin:0 10px;"], div[onmouseover="peel()"], img[alt="PC World Forums"], embed[name="jcornerSmallObject"], embed[umode="transparent"], div embed, div iframe, object {display: none;} } |
zqwerty (97) | ||
| 705873 | 2008-09-17 07:59:00 | @ gary67: Make sure the Enable is ON... | johcar (6283) | ||
| 705874 | 2008-09-17 08:01:00 | In Stylish it needs to be made site specific, for instance Yahoo eMail has vital parts removed by the unmodified CSS, I find this works well: /*remove ads and misc branding clutter *//*remove ads and misc branding clutter, clean up layout */ @-moz-document domain("pressf1.pcworld.co.nz") {.fairfax_nav, .newsletter_div, #adSpace1, #adSpace2, #adSpace3, #adSpace4, #adSpace5, #adSpace6, #advert-banner, #header, #jcornerSmall, #jcornerBig, #navigation, #page-peel-right-6, #sponsor_div, ., .sponsored_links, table[width="160"], table[bgcolor="#DF0026"], table[cellpadding="5"], td[width="180"], td[width="170"], td[width="300"], div[align="center"] a[target="_new"], div[style="width:160px; float:left; "], div[style="width:300px; float:left; margin-right:10px; border:1px solid #cccccc; padding:5px; "], div[style="width:290px; float:left; margin-right:10px; border:1px solid #cccccc; padding:5px; "], div[style="width:302px; float:left; margin-right:10px; border:1px solid #cccccc; padding:5px; "], div[style="text-align:center; border:1px solid #cccccc; padding:5px; margin:0 10px;"], div[onmouseover="peel()"], img[alt="PC World Forums"], embed[name="jcornerSmallObject"], embed[umode="transparent"], div embed, div iframe, object {display: none;} } This is what I get with the code inserted into stylish here (www.imagef1.net.nz) |
gary67 (56) | ||
| 705875 | 2008-09-17 08:01:00 | When I apply this code I get this error and it doesn't seem to block any ads? This style has problems that may prevent it from working: Expected identifier for class selector but found ','. Ruleset ignored due to bad selector. Do you want to use this code anyway? Am I doing something wrong? |
pine-o-cleen (2955) | ||
| 705876 | 2008-09-17 08:03:00 | When I apply this code I get this error and it doesn't seem to block any ads? Am I doing something wrong? Same |
gary67 (56) | ||
| 705877 | 2008-09-17 08:22:00 | "I mean that on a 1280*800 screen, it's impossible to see *any* useful text without scrolling down" That's terrible Erayd, you have to scroll down. Browsers are set to default settings which are the most suitable for the majority of users. If you are going to change settings and use pipelining and other non standard settings you can expect to have problems that others don't have. |
Safari (3993) | ||
| 705878 | 2008-09-17 08:33:00 | To those having problems with the '.,' rule, this should be '.tfoot,' - it means you copied from somebody's quote rather than from my original post :rolleyes:. That's terrible Erayd, you have to scroll down.Yes, and it bugs the hell out of me when trying to review a lot of threads at once. And I'm not the only one. Browsers are set to default settings which are the most suitable for the majority of users. If you are going to change settings and use pipelining and other non standard settings you can expect to have problems that others don't have.When was the last time you looked at the defaults for the major browsers? Both Firefox and Opera have pipelining enabled by default, Opera to a greater degree than Firefox. Obviously you don't have the same issues with the ads as many of us do - that's fine, nobody is stopping you from viewing them to your heart's content. For those of us who do have an issue with them, blocking is a valid option. |
Erayd (23) | ||
| 705879 | 2008-09-17 08:35:00 | Ad-Block FTW? Seriously, not a single ad here. |
beeswax34 (63) | ||
| 705880 | 2008-09-17 08:43:00 | Got it working but have lost the pcworld menu bar so turned it off for now | gary67 (56) | ||
| 1 2 3 4 5 6 7 | |||||