themactep.com

A home of miscellaneous projects by Paul Philippov.

Notes

How to make a multi-line button

In HTML

<input type="submit" value="line1
line2">

In PHP

<?php
echo '<input type="submit" value="line1' + "\n" + 'line2">';
?>

In Javascript

<script>
document.write('<input type="submit" value="line1' + "\n" + 'line2">');
</script>