On this page I'm trying to make the title float over the content so that they are in line... I've tried to give the title similar CSS to the content as far as positioning is concerned. I'd be grateful for any tips!
Thanks guys,
Tara
Why is your <img>
inside the <head>
element of your document?
You should consider learning more about plain HTML/CSS before trying to make a WordPress website.
As proof of that fact:
<img class="title2" href="http://www.2touchrulz.com" src="/wp-content/themes/adventure/images/title2.png" />
Why does your <img>
have an href
attribute? You need:
<a href="http://www.2touchrulz.com/"><img .. /></a>
You can fix your title with only pure CSS changes like this:
img.title2 {
width: 740px;
float: left;
position: relative;
left: 50%;
margin-left: -490px;
}
But, that's really not how you should be doing it.
You should forget the CSS I just wrote, and simply move the <img>
to inside <div id="center">
. Problem solved.
精彩评论