No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
Re: Hi, use this code <!DOCTYPE html> <html> <body> <p>Click the button to display an alert box.</p> <button onclick="myFunction()">Try it</button> <script> function myFunction() { window.alert("I am an alert box!"); } </script> </body> </html> more u want refer to w3schools... | |
Re: hi, Try this code: <?php $cart = 0; if (isset($_POST['submit'])) { $samples = ($_POST['sample_']) * 50; $cart = $cart - $samples; } ?> <form action="echo.php" method="post"> <input type="hidden" value="1" name="sample_" id="sample_"> Sample Bottle <br /> <input type="submit" value="Add to Cart" name="submit"><br /> </form> <h1>Cart Total: $<?php echo $cart; ?></h1> ![]() | |
Re: Hi, You will need to use a child div of the appropriate width to do that: #mainDiv { height: 100px; width: 80px; position: relative; border-bottom: 2px solid #f51c40; background: #3beadc; } #borderLeft { border-left: 2px solid #f51c40; position: absolute; top: 50%; bottom: 0; } HTML: <div id="mainDiv"> <div id="borderLeft"></div> </div><!--end … |
The End.