Arrow

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

Back to the custom anti-spam plugin page
 
Current User: Guest
Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

CSS-error

Reply to Post Add a New Topic
UserPost

7:11 am
September 25, 2007


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

10:17 am
September 25, 2007


Peter

Admin

posts 732

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.

8:43 am
September 26, 2007


Carabus

Guest

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

Cheers

Reply to Post

Reply to Topic:
CSS-error

Guest Name (Required):

Guest Email (Required):

HTML Editor
Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
11 + 6