/    Sign up×
Community /Pin to ProfileBookmark

multiple column list problem

This is my layout [url]http://anime.vibrantstream.com/wordpress/[/url]
The multiple column list isn’t working if the text is too long which causes the next li to skip and go to the next column. How can I fix this?

[CODE]body {
margin: 0px;
background-color: #000000;
background-image: url(images/bg.jpg);
background-repeat: repeat-x;
background-attachment: fixed;
font-family: Arial, Helvetica, sans-serif;
}

#wrapper {
width: 970px;
margin-right: auto;
margin-left: auto;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-right-color: #4394ab;
border-bottom-color: #4394ab;
border-left-color: #4394ab;
overflow: hidden;
background-color: #272727;
}

#header {
background-image: url(images/header.jpg);
height: 200px;
width: 970px;
}

#bar {
background-image: url(images/bar.jpg);
background-repeat: repeat-x;
height: 30px;
width: 970px;
font-size: 12px;
line-height: 29px;
}

#bar a {
color: #FFFFFF;
text-decoration: none;
font-weight: bold;
padding-right: 10px;
padding-left: 10px;
float: left;
}

#bar a:hover {
color: #4394ab;
background-color: #FFFFFF;
}

#content {
width: 540px;
float: left;
padding: 10px;
font-size: 12px;
color: #4394ab;
}

#content h2 {
font-size: 14px;
}

#sidebar {
width: 400px;
float: right;
padding: 5px;
}

#sidebar li {
list-style-type: none;
}

#sidebar li li {
margin-left: 5px;
}

#sidebar ul {
margin: 0px;
padding: 0px;
}

#sidebar a, #content a {
color: #FFFFFF;
text-decoration: none;
}

#sidebar a:hover, #content a:hover {
color: #4394ab;
background-color: #FFFFFF;
}

#sidebar h2 {
font-size: 14px;
font-weight: bold;
color: #FFFFFF;
background-color: #4394ab;
padding: 5px;
}

#left {
width: 200px;
float: left;
font-size: 12px;
color: #4394ab;
}

#right {
width: 200px;
float: right;
font-size: 12px;
color: #4394ab;
}

#footer {
background-color: #4394ab;
width: 970px;
float: left;
font-size: 12px;
color: #FFFFFF;
padding: 5px;
text-align: center;
}

#footer a {
color: #FFFFFF;
}

#footer a:hover {
color: #000000;
}

input {
border: 1px solid #4394ab;
background-color: #FFFFFF;
color: #4394ab;
}

#comment {
width: 100%;
border: 1px solid #4394ab;
}

.border {
width: 160px;
padding: 5px;
border: 1px solid #4394ab;
float: left;
margin: 4px;
list-style-type: none;
text-align: center;
font-weight: bold;
}

.title {
padding: 5px;
width: 150px;
background-color: #4394ab;
color: #FFFFFF;
}

.pic {
height: 150px;
width: 160px;
}

.date {
background-color: #4394ab;
padding: 5px;
width: 150px;
color: #FFFFFF;
}

img {
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 0px;
border-left-width: 0px;
}
[/CODE]

to post a comment
CSS

0Be the first to comment 😎

×

Success!

Help @Ruriko 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.3,
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,
)...