css - invalid property value for padding -


i getting invalid property value padding , don't know why. code written in ruby btw. when check browser has right value pixels, crossed out w line , isn't reading attribute. in advance.

<% mywaldo = mapping::mywaldos.sample %> <!doctype html> <html>   <head>     <title>sinatra single-serve</title>     <link href="css/bootstrap.css" rel="stylesheet" type="text/css"/>     <style>       div {         width: 1024px;         height: 768px;         background-image: url("img/waldos/<%= mywaldo[0]%>") ;       }       #waldo {         position:absolute;         top: <%= mywaldo[2]%>;         left: <%= mywaldo[1]%>;         padding: <%= mywaldo[3]%>, <%= mywaldo[4]%>;       }     </style>   </head>   <body>     <div>       <a id="waldo" href="">aa</a>     </div>     <%= yield %>    </body> </html> 

there should not comma between values:

    padding: <%= mywaldo[3]%> <%= mywaldo[4]%>; 

Popular posts from this blog

Php - Delimiter must not be alphanumeric or backslash -

Delphi interface implements -

java - How to create Table using Apache PDFBox -