[RESOLVED] Problems with CSS

Ask for help about NoScript, no registration needed to post
Stilgar

[RESOLVED] Problems with CSS

Post by Stilgar »

Hello,

At first my config:
FF 3.0.10
NoScript: 1.9.2.6
No other FF-AddOns and a new FF profile.

I have a strange problem with NoScript.
I've used a CSS (CCS only no JavaScript) menu from this side:
http://www.cssplay.co.uk/menus/dd_valid.html
there it works without problems even NoScript is blocking all scripts there.

Now I've build a own side with this menu. Offline it works even when NoScript is blocking all scripts.
When I try this page online:
http://thorsten-willert.de/test.html
and NoScript is blocking I see on the left side on this page, most of the content a second time. If I set the page on the withelist this doubled content disappears.
CSS file:
http://thorsten-willert.de/html/menu.css

I'm using NoScript for some years and I've never see so strange things :?:

I've tried it with a new FF-profile with only NoScript as AddOn, changed all NoScript prefs, but I can't change this problem only when I set the page on the whitelist.

Where comes this from?
- I'm using not one line of JavaScript on this page
- If NoScript is blocking I see complete different things "offline" and "online".
- Could it be a problem with the style "display: none"?
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Problems with CSS

Post by therube »

The cssplay.co.uk site does work as expected.
Removing NoScript & disabling JavaScript & your site works as expected.
Removing NoScript & enabling JavaScript & your site works as expected.
Installing NoScript & you get that oddity on your site, yet cssplay.co.uk continues to work as expected.

So ...? NoScript or something in the coding of your site.

PS: When I save your site (Save Page As) & open that locally, I still get the same oddity regardless of file:/// being Allowed or not and regardless of whether NoScript is installed or not.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b5pre) Gecko/20090429 SeaMonkey/2.0b1pre
Stilgar

Re: Problems with CSS

Post by Stilgar »

PS: When I save your site (Save Page As) & open that locally, I still get the same oddity regardless of file:/// being Allowed or not and regardless of whether NoScript is installed or not
I haven't this problem. It works locally if it is allowd or not or if NoScript is installed or not. I also saved the online-version and it works locally, too.
I've tried the example code from cssplay.co.uk, too and I have the same problem with FF and NoScript.
In every other browser it works, if scripting is allowed or not. This is my problem, there are no scripts and I have different results if I'm working with NoScript. The code on this page are only a simple HTML-list and CSS to made a menu from it.
Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Problems with CSS

Post by Giorgio Maone »

It is NoScript, but there's an easy fix.
In order to improve usability of scriptless pages, NoScript scans them to find at least one visible link. If none is found, but there are actually hidden links, NoScript assumes that the page was going to unhide them using JavaScript and therefore shows them to make some navigation possible with no need for allowing scripts.
Just put at least one visible link (even a clickable image) in your page, and the link list on the left side will disappear.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)
Stilgar

Re: Problems with CSS

Post by Stilgar »

That's all? :D
It works!

Mille grazie!
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10
eveniax
Posts: 1
Joined: Wed May 13, 2009 5:35 am

Re: [RESOLVED] Problems with CSS

Post by eveniax »

Is it possible to target link states in html emails with inline css? I am designing html emails for my company using inline css. Can somebody tell me if it is possible (and how) to set different states of my links using inline css? I am designing mainly for outlook 2003.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10
Post Reply