Page 1 of 1

[RESOLVED] Problems with CSS

Posted: Sat May 02, 2009 9:48 pm
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"?

Re: Problems with CSS

Posted: Sat May 02, 2009 11:35 pm
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.

Re: Problems with CSS

Posted: Sun May 03, 2009 10:06 am
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.

Re: Problems with CSS

Posted: Sun May 03, 2009 10:44 am
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.

Re: Problems with CSS

Posted: Sun May 03, 2009 11:50 am
by Stilgar
That's all? :D
It works!

Mille grazie!

Re: [RESOLVED] Problems with CSS

Posted: Thu May 14, 2009 7:07 am
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.