Advertisement
Guest User

Untitled

a guest
May 22nd, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.51 KB | None | 0 0
  1. <?php
  2. class form {
  3.     public function button($string) {
  4.         $button .= '<div style="float: left; width: 9px; height: 23px; background: url(../images/button-left.png);"></div>';
  5.         $button .= '<div style="float: left; min-width: 30px; height: 23px; background: url(../images/button-middle.png) repeat-;">'.$string.'</div>';
  6.         $button .= '<div style="float: left; width: 9px; height: 23px; background: url(../images/button-right.png);"></div>';
  7.         $button .= '<div style="clear: both;"></div>';
  8.         return $button;
  9.     }
  10. }
  11. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement