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; }
what i want to do is when the website is scaled down for this box to site full width across the bottom of the screenPHP 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>



Reply With Quote


Bookmarks