RAWCSS, ONCLASS, OFFCLASS not working [resolved]
- nwilcox
- Mega Advanced
- Posts: 269
- Joined: Sat Aug 20, 2005 6:14 am
- Location: Indianapolis, IN
- Contact:
RAWCSS, ONCLASS, OFFCLASS not working [resolved]
hello...
I'm developing quite a few sites concurrently here at our work with Milonic and none of them are working correctly with the RAWCSS,ONCLASS,OFFCLASS attributes. These parameter used to work before in older versions.
http://clients2.serverside.net/mattinglycorp/ - onclass/offclass
http://clients2.serverside.net/rwarmstr ... ports.aspx - rawcss
Any suggestions? Am I putting the attributes in the wrong place with newer versions of the menu?
http://clients2.serverside.net/optiform/
http://clients2.serverside.net/onslow/
Both of their sub-menus have rawcss left-padding assigned and CSS classes.
IE - rawcss doesn't work
Firefox, Safari, Opera - rawcss and onclass,offclass don't work
I'm developing quite a few sites concurrently here at our work with Milonic and none of them are working correctly with the RAWCSS,ONCLASS,OFFCLASS attributes. These parameter used to work before in older versions.
http://clients2.serverside.net/mattinglycorp/ - onclass/offclass
http://clients2.serverside.net/rwarmstr ... ports.aspx - rawcss
Any suggestions? Am I putting the attributes in the wrong place with newer versions of the menu?
http://clients2.serverside.net/optiform/
http://clients2.serverside.net/onslow/
Both of their sub-menus have rawcss left-padding assigned and CSS classes.
IE - rawcss doesn't work
Firefox, Safari, Opera - rawcss and onclass,offclass don't work
Hi,
It seems that in 5.775 the rawcss wants ALL the sides, not just right and left. So, I did the following and that fixed it [ignore the 50 that is just to make things obviously visible when I test
As to the off and on class, they are working [with the exception of opacity in Safari [see later for a fix] Opacity is coded as opacity:0.1 to 1.0 and the same for -moz-opacity.
I changed it so that the class things would be obvious if they were working overline is working in Safari, but not opacity.
Now, I did find a fix. It is really weird and I got it from reading about so-called bugs in various browsers. One fix for something in Safari, and I don't remember the issue I've read so much just now, anyway the fix was to set position:relative; to get it to do something or other. .... I thought, 'let's try putting opacity in the rawcss and if that doesn't work try adding position:relative; and see what happens. "lo and behold" it worked
I don't see anything weird in IE, FF, or NN when using the rawcss position:relative, but FF and NN are older versions so you'd need to test on newer ones.
I have to figure this is a safari bug on opacity.
Ruth
It seems that in 5.775 the rawcss wants ALL the sides, not just right and left. So, I did the following and that fixed it [ignore the 50 that is just to make things obviously visible when I test

Code: Select all
rawcss="padding-top:0px;padding-right:50px;padding-bottom:0px;padding-left:50px;font-size:11px";
Code: Select all
.opaque{
.opacity:0.3;
-moz-opacity:0.3;
text-decoration:overline;
visibile:false;
Now, I did find a fix. It is really weird and I got it from reading about so-called bugs in various browsers. One fix for something in Safari, and I don't remember the issue I've read so much just now, anyway the fix was to set position:relative; to get it to do something or other. .... I thought, 'let's try putting opacity in the rawcss and if that doesn't work try adding position:relative; and see what happens. "lo and behold" it worked

Code: Select all
rawcss="opacity:0.5;position:relative;padding-top:0px;padding-right:50px;padding-bottom:0px;padding-left:50px;font-size:11px";
Ruth
Hiya again,
Just thought I'd let you know, I was just testing the rawcss again before I reported to Milonic and found out that the probem you are having only occurs when you call a class and also use rawcss. Maybe the program expects you to put all the css in the class if you call one in the the style section???
I am going to report it and hopefully we'll get a quick clarification from Milonic.
Ruth
Just thought I'd let you know, I was just testing the rawcss again before I reported to Milonic and found out that the probem you are having only occurs when you call a class and also use rawcss. Maybe the program expects you to put all the css in the class if you call one in the the style section???
I am going to report it and hopefully we'll get a quick clarification from Milonic.
Ruth
Hi,
I understand it has to be fixed since rawcss is a really important tool in the menu, and I'm sure Andy will get it pretty quick, as he usually does with fixes, but if you have to have something now to continue working on the designs, since you are calling a class, have you tried doing the left/right padding in it?
Ruth
I understand it has to be fixed since rawcss is a really important tool in the menu, and I'm sure Andy will get it pretty quick, as he usually does with fixes, but if you have to have something now to continue working on the designs, since you are calling a class, have you tried doing the left/right padding in it?
Ruth