| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 103066 | 2009-09-11 06:52:00 | ads by google on PF1 | nedkelly (9059) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 808964 | 2009-09-12 02:35:00 | Odd this is what I have @namespace url(www.w3.org); @-moz-document domain("pressf1.pcworld.co.nz") { }/*remove ads and misc branding clutter, clean up layout */ table[bgcolor="#DF0026"], /*red banner at top of page*/ #navigation, /*grey fairfax navbar at top*/ td[width="170"], /*left ads*/ div[style="margin:0 0 5px 0"], /*top ads*/ #sponsor_div, /*bottom ads*/ div[style="width:302px; float:left; margin-right:10px; border:1px solid #cccccc; padding:5px; "], /*more bottom ads*/ #adSpace2 /*even more bottom ads*/ {display: none;} /*fix damaged alignment in forum thread list & forum header*/ where have I gone wrong? td[align="center"] {text-align: left;} |
gary67 (56) | ||
| 808965 | 2009-09-12 02:37:00 | The problem is you've put the CSS outside the PressF1 block. Note the closing } - the CSS has to go between those braces, not after them. Edit: @-moz-document domain("pressf1.pcworld.co.nz") { CSS goes here } |
Erayd (23) | ||
| 808966 | 2009-09-12 02:38:00 | Like this @namespace url(www.w3.org); @-moz-document domain("pressf1.pcworld.co.nz") {/*remove ads and misc branding clutter, clean up layout */ table[bgcolor="#DF0026"], /*red banner at top of page*/ #navigation, /*grey fairfax navbar at top*/ td[width="170"], /*left ads*/ div[style="margin:0 0 5px 0"], /*top ads*/ #sponsor_div, /*bottom ads*/ div[style="width:302px; float:left; margin-right:10px; border:1px solid #cccccc; padding:5px; "], /*more bottom ads*/ #adSpace2 /*even more bottom ads*/ {display: none;} |
gary67 (56) | ||
| 808967 | 2009-09-12 09:15:00 | OK, this seems to fix most of it, although there are still a few things aligned wrong - my vicious correction of the erroneously centred text also caught the odd thing that should have been centred. This should work both with and without JavaScript enabled, although if you disable it things will obviously render a fair bit faster. If some of you could test this and give me some feedback about what, if anything, still needs fixing / changing, or if you find any bugs, that would be much appreciated. Thanks Erayd, absolutely brilliant. :thumbs: :wub |
FoxyMX (5) | ||
| 808968 | 2009-09-12 10:15:00 | All done here too :thanks once again Erayd | gary67 (56) | ||
| 808969 | 2009-10-29 09:30:00 | OK, this seems to fix most of it, although there are still a few things aligned wrong - my vicious correction of the erroneously centred text also caught the odd thing that should have been centred . This should work both with and without JavaScript enabled, although if you disable it things will obviously render a fair bit faster . If some of you could test this and give me some feedback about what, if anything, still needs fixing / changing, or if you find any bugs, that would be much appreciated . Thanks :) /*remove ads and misc branding clutter, clean up layout */ table[bgcolor="#DF0026"], /*red banner at top of page*/ #navigation, /*grey fairfax navbar at top*/ td[width="170"], /*left ads*/ div[style="margin:0 0 5px 0"], /*top ads*/ #sponsor_div, /*bottom ads*/ div[style="width:302px; float:left; margin-right:10px; border:1px solid #cccccc; padding:5px; "], /*more bottom ads*/ #adSpace2 /*even more bottom ads*/ {display: none;} /*fix damaged alignment in forum thread list & forum header*/ td[align="center"] {text-align: left;} After updating FF to 3 . 5 . 4 the above script no longer works . Anyone else have this problem? The wide left advert column is irritating . |
Strommer (42) | ||
| 808970 | 2009-10-29 10:04:00 | After updating FF to 3 . 5 . 4 the above script no longer works . Anyone else have this problem? The wide left advert column is irritating . theres a new ( . pcworld . co . nz/showthread . php?t=103187&page=2" target="_blank">pressf1 . pcworld . co . nz) script that works now . |
GameJunkie (72) | ||
| 808971 | 2009-10-29 17:44:00 | Except the wide side column stays unfortunately | gary67 (56) | ||
| 808972 | 2009-10-29 18:31:00 | theres a new (pressf1.pcworld.co.nz) script that works now. Thanks GJ. It works. :) |
Strommer (42) | ||
| 808973 | 2009-10-29 20:17:00 | Thanks Works well :) | smurf (6545) | ||
| 1 2 3 4 5 6 | |||||