Hello. I'm trying to align some text and images. I have one div, and I'm trying to attach one image to the left side and the other image to the right side, and have the text center. Here's the sample code I'm dealing with:
XHTML:
CSS:
Here's the page: http://homepage.mac.com/rendezvouscp/cobalt/. Thanks in advance!
-Chase
XHTML:
Code:
<div>
<img alt="tree" border="0" height="50" src="elements/tree.gif" title="tree" width="50" />
<p class="header">The Rendezvouscp Website</p>
<img alt="tree" border="0" height="50" src="elements/tree.gif" title="tree" width="50" />
</div>
CSS:
Code:
/* Header */
.header {background: #bbb;
margin: 0;
width: 100%;
font-weight: normal;
text-align: center;
font-family: Lucida Grande, Verdana, Geneva, Arial, sans-serif;
font-size: 3.5em}
Here's the page: http://homepage.mac.com/rendezvouscp/cobalt/. Thanks in advance!
-Chase