View Full Version : Error on page
Dfroemke
Feb-09-2006, 08:02 AM
Hey Gang,
Thanks for helping to get my site up and running. Smugmug is now an odd obsession. I's killing me. . . ;)
Question: I'm receving the attached error message when using IE to view my pages. Any thoughts on how to get rid of it?
http://froemke.smugmug.com/photos/55714025-S.jpg
If I remove all the co-branding it goes away. I haven't been able to narrow it down to a particular section, because if i remove any of the sections seperately, they problem still exists.
Any thoughts?
David
http://froemke.smugmug.com
Mike Lane
Feb-09-2006, 02:59 PM
Hey Gang,
Thanks for helping to get my site up and running. Smugmug is now an odd obsession. I's killing me. . . ;)
Question: I'm receving the attached error message when using IE to view my pages. Any thoughts on how to get rid of it?
http://froemke.smugmug.com/photos/55714025-S.jpg
If I remove all the co-branding it goes away. I haven't been able to narrow it down to a particular section, because if i remove any of the sections seperately, they problem still exists.
Any thoughts?
David
http://froemke.smugmug.com
What version of IE are you using? I'm not seeing that warning message at all when I visit your page in IE6.
What version of IE are you using? I'm not seeing that warning message at all when I visit your page in IE6.
that's because you cant get to the cobrand.mg page.
Mike Lane
Feb-09-2006, 03:51 PM
that's because you cant get to the cobrand.mg page.
Ahh, of course.
Dfroemke
Feb-10-2006, 04:58 AM
Okay, I think I am misunderstanding you guys?
What is the issue?
Okay, I think I am misunderstanding you guys?
What is the issue?
the issue is that we cant see the issue because the issue is only an issue when you're logged in.
make sense? :D
Andy
Feb-10-2006, 06:46 AM
the issue is that we cant see the issue because the issue is only an issue when you're logged in.
make sense? :D
I'm logged in and I can't see any bad errors showing in my javascrippy console...
EDIT: BUT, this error does show up: Error: Error in parsing value for property 'padding'. Declaration dropped.
Source File: http://froemke.smugmug.com/include/css/user_Froemke.css
Line: 145
and here's the CSS in question?
#navcontainer ul li a
{
text-decoration: none;
padding: .2em 1em;
color: #000000;
background-color: #E9C112;
}
anyhow...
flyingdutchie
Feb-10-2006, 06:52 AM
For some weird reason, your custom footer does show up in your cobranding page after you hit 'Save' changes. At least, that happens on my site. After i hit Save to apply my new customization settings, my Statcounter appears on the bottom of the page. :dunno
If your script relies on other parts (e.g. your custom header) to be available as well, you may get javascript errors.
But anyway, only you get the error. None of your customers does. If you think the pop-up is annoying, there is a setting in IE6 that let's you disable this pop-up.
Mike Lane
Feb-10-2006, 06:53 AM
I'm logged in and I can't see any bad errors showing in my javascrippy console...
EDIT: BUT, this error does show up: Error: Error in parsing value for property 'padding'. Declaration dropped.
Source File: http://froemke.smugmug.com/include/css/user_Froemke.css
Line: 145
and here's the CSS in question?
#navcontainer ul li a
{
text-decoration: none;
padding: .2em 1em;
color: #000000;
background-color: #E9C112;
}
anyhow...
That is valid CSS.
flyingdutchie
Feb-10-2006, 06:55 AM
That is valid CSS.
Maybe .2 should be 0.2?
Maybe .2 should be 0.2?
ding ding ding.
Andy
Feb-10-2006, 06:57 AM
Maybe .2 should be 0.2?
OK. David, I made that change for you, see if you still get the error.
Dfroemke
Feb-11-2006, 08:28 PM
OK. David, I made that change for you, see if you still get the error.
You Rock!
I am a Smugmug addict!!!
That worked. I did notice that same error whether or not I was logged in. Additionally, I noticed a similar error on another Smugsite. I wish I remembered what site it was so I could point them in the right direction.
Thanks a ton
David
Mike Lane
Feb-11-2006, 09:04 PM
I can't find anywhere that .2em isn't valid so this must be a problem with IE only. Andy it looks like you used a CSS validator to come up with that suggestion. I took his CSS and made it .2em and submitted it. That wasn't the problem that the validator had with his code. The error was with the #navcontainer ul.
This is still in the code:
#navcontainer ul
{
margin: 0;
padding: 1;
list-style-type: none;
text-align: center;
}
The issue is that you can't have padding: 1; since only the number 0 is allowed to go without a unit. Having padding:1px; or padding:1em; or padding:1ex; would work but padding:1; fails the validator. The padding:.2em 1em; isn't a problem.
I can't find anywhere that .2em isn't valid so this must be a problem with IE only. Andy it looks like you used a CSS validator to come up with that suggestion. I took his CSS and made it .2em and submitted it. That wasn't the problem that the validator had with his code. The error was with the #navcontainer ul.
This is still in the code:
#navcontainer ul
{
margin: 0;
padding: 1;
list-style-type: none;
text-align: center;
}
The issue is that you can't have padding: 1; since only the number 0 is allowed to go without a unit. Having padding:1px; or padding:1em; or padding:1ex; would work but padding:1; fails the validator. The padding:.2em 1em; isn't a problem.
the javascript console in firefox was showing the .2 as being an invalid declaration. changing it to 0.2 fixed that error.
Mike Lane
Feb-12-2006, 06:11 AM
the javascript console in firefox was showing the .2 as being an invalid declaration. changing it to 0.2 fixed that error.
Interesting. The error I pointed out should be fixed as well.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.