开发者

Make Title Float Over Content [closed]

开发者_如何学运维 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜