/    Sign up×
Community /Pin to ProfileBookmark

Index page loading glitch

[url]http://www.swedishculturalcenter.org[/url]
Upon first load, it’s messed up, hit refresh and it’s fine. Here’s the main css. I can display rest if needed. Please help!

body {
font-family: sans, arial, verdana;
margin:0px;
color: #fff;
background: #0033ff;
}
#horiz {

margin-left: 0px;
margin-top: 0px;
background: #ffff00;
z-index: 1;
text-indent: 50%;
padding-top: 10px;
}

#vert {
position: absolute;
left: 30px;
top: 0px;
height:;
width: 6em;
background-color: #ffff00;

}

#content {
position: absolute;
left: 160px;
width: ;
border: 0px solid white;
padding-left: 20px;
padding-right: 50px;

}

.logo {
margin: 10px 0 0 170px;

}

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@BonRougeJul 09.2005 — It's related to all the absolute positioning you're using. You're best off using 'position:relative' and floats and moving things around with margins and padding.
Copy linkTweet thisAlerts:
@jaguideauthorJul 09.2005 — Thanks, that seemed to fix it. I appreciate your quick response.
×

Success!

Help @jaguide 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.20,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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