change the location of a div for responsive
i have a div for a cart logo and total price that sits in the top corner of the screen
HTML Code:
#layout #main #cart {
background-color: #000;
height: 30px;
width: 20%;
padding: 10px;
position: fixed;
top: 0em;
right: 0em;
}
PHP Code:
<div class="cartText" id="cart"><a href="../SS16/cart.php"><img src="../images/trolley.png" width="25" height="25"></a> <?php echo $XCart_numItems = sizeof(${$XCName}["contents"][0]) ?> Item(s) | £ <?php echo $XCart_sumTotal; ?></div>
what i want to do is when the website is scaled down for this box to site full width across the bottom of the screen