CSS for a page: not working
-
I am trying to style my contact page. I thought I could do this right in Word Press; if I can’t, I’ll have a whole different subject to ask about!
I designed my blog using the WordPress Theme Generator. My blog is at http://afmarcom.com/blog and the page I’m specifically asking about is http://afmarcom.com/blog/?page_id=3
I would like my photo and its caption to be floated left. The text should wrap around it. The caption should be centered and there are a few more style elements to the div.
Here is my code and a line of text that should be to the right of the photo:
<style type=”text/css”>
.image img {
border: 1px solid #a00000;
}div.image {
float: left;
width: 218px;
margin: 4px 12px 12px 4px;
}.image p {
font: arial;
font-variant: small-caps;
letter-spacing: 2px;
text-align: center;
}</style>
<div class=”image”>
<img src=”http://afmarcom.com/blog/wp-content/uploads/2009/09/2009-04-12-AFMarCom-headshot-200px1.jpg” alt=”Angelique” />
<p>Angelique</p>
</div>Trying this
———————
So why isn’t this working?
The topic ‘CSS for a page: not working’ is closed to new replies.