Is there a way to align two divs side by side on the same line, despite both having p tags and one containing an image that is necessary? I appreciate any workaround suggestions. Thank you!
Here is the code snippet:
HTML
<div class="MainMenu">
<a href="home.php"><p>HOME</p></a>
<a href="#"><p>ABOUT</p></a>
<a href="store.php"><p>STORE</p></a>
</div>
<div class="MainMenuBasket">
<img src="../Images/jigsoar-icons/PNG/light/64px/64_cart.png" width="px" height="px" />
<a href="#"><p>BASKET</p></a>
</div>
CSS
.MainMenu{width: 680px; float: left; margin-top:25px;}
.MainMenu a{text-decoration: none; color: #FFF; }
.MainMenu a:link {color: #FFF; text-decoration: none;}
.MainMenu a:active {color: #; text-decoration: none;}
.MainMenu a:hover {background-color: #7D3B05; text-decoration: none;}
.MainMenu a:visited {color: #; text-decoration: none;}
.MainMenu p{display: inline; font-size: 18px; padding-left: 20px;}
.MainMenuBasket{float: left; margin-top:25px;}
.MainMenuBasket a{text-decoration:none; color: #FFF;}
.MainMenuBasket a:link {color: #FFF; text-decoration: none;}
.MainMenuBasket a:active {text-decoration: none;}
.MainMenuBasket a:hover {background-color: #7D3B05; text-decoration: none;}
.MainMenuBasket a:visited {text-decoration: none;}
.MainMenuBasket p {display: inline; font-size: 18px; padding left: 20px;}