/    Sign up×
Community /Pin to ProfileBookmark

Content taking over the other content. NEED HELP!

Hi here is the sample [url]http://www.kojakfiles.com/about[/url] . It doesnt get inside the appropriate place.. It is taking over the other contents..

html code

[code]<?php /* Template Name: Rock */ ?>

<?php get_header(); ?>

<link rel=”stylesheet” type=”text/css” media=”screen, print, projection” href=”http://kojakfiles.com/wp-content/themes/TweetSheep/rock.css”></link>

<div id=”rock”>
<div id=”layer1″></div>
<div id=”layer1copy”></div>
<div id=”layer1copy2″></div>
<div id=”dsadasdasddsadasdasddsadasdasddsadasdasddsadasdasddsadasdasd”>
<p>tae</p>
</div>
</div>

<?php get_sidebar(); ?>
<?php get_footer(); ?>
[/code]

CSS code

[code]#dsadasdasddsadasdasddsadasdasddsadasdasddsadasdasddsadasdasd p {
font: bold 13px/16px Arial;
margin: 0px;
color: #515151;
text-align: left;
}

#dsadasdasddsadasdasddsadasdasddsadasdasddsadasdasddsadasdasd {
visibility: visible;
position: absolute;
left: 22px;
top: 440px;
z-index: 1;
width: 428px;
}

#layer1copy2 {
background: url(rockmedia/layer1copy2.gif) no-repeat;
visibility: visible;
position: absolute;
left: 0px;
top: 137px;
z-index: 3;
width: 321px;
height: 292px;
}

#layer1copy {
background: url(rockmedia/layer1copy.gif) no-repeat;
visibility: visible;
position: absolute;
left: 107px;
top: 119px;
z-index: 2;
width: 361px;
height: 292px;
}

#layer1 {
background: url(rockmedia/layer1.gif) no-repeat;
visibility: visible;
position: absolute;
left: 22px;
top: 43px;
z-index: 1;
width: 361px;
height: 292px;
}

#rock {
margin: 0px auto 0px auto;
width: 476px;

}

html, body {
padding: 0px;
margin: 0px;
background-color: #FFFFFF;
}

[/code]

What seems the problem..

please advice..

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@apegApr 08.2010 — not sure why but you're absolutely positioning each one of those div's.

change the "left:xx" value to shift them
×

Success!

Help @mason66 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.5,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...