Arrow

CSS-error | Peter's Custom Anti-Spam for WordPress | Forum

Back to the custom anti-spam plugin page

Please consider registering
guest

Log In

Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
CSS-error
September 25, 2007
7:11 am
Carabus
Guest

I get the following CSS errors with the antispam plugin:

189 Value Error : height only 0 can be a length. You must put an unit after your number : 50
189 Value Error : width only 0 can be a length. You must put an unit after your number : 160

How do I fix this?

Thanx

September 25, 2007
10:17 am
Peter
Admin
Forum Posts: 841
Offline

Hi!

Find this part of the code:
echo( 'height:' . $cas_imgheight .';width:' . $cas_imgwidth . ';" />' );

And add "px" to the end of the height and width values:

echo( 'height:' . $cas_imgheight .'px;width:' . $cas_imgwidth . 'px;" />' );

I will have to fix that in the next version of the plugin.

September 26, 2007
8:43 am
Carabus
Guest

Thank you very much for your quick answer and your kindness. It's very much appreciated!

Cheers