Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class form {
- public function button($string) {
- $button .= '<div style="float: left; width: 9px; height: 23px; background: url(../images/button-left.png);"></div>';
- $button .= '<div style="float: left; min-width: 30px; height: 23px; background: url(../images/button-middle.png) repeat-;">'.$string.'</div>';
- $button .= '<div style="float: left; width: 9px; height: 23px; background: url(../images/button-right.png);"></div>';
- $button .= '<div style="clear: both;"></div>';
- return $button;
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement