/    Sign up×
Community /Pin to ProfileBookmark

Setting border of LI

Im trying to set the border of an li tag. If i do (border-bottom-width: 1px? it gets all messed up like u can see here [url]www.mystupidcrap.com/scott/new2.php[/url] but it works if i just do all the sides(ex. border-width: 1px?. Why doesnt with work…. Do u get what im saying. Also on a kindof related topic is it bad to use unordered lists for presentation, because without tables i find it nearly impossible to set any kind of structure or anything, but i also thought that one of the key to standerds is to only use tags for there intended purpose?

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@JonaAug 04.2004 — [font=trebuchet ms]Try using the following. It seems to work fine for me. I could not determine, from the page you showed me, what the problem was, so I hope this is the solution.[/font]

<i>
</i>#primarycontent li {
border-bottom: solid 1px #666;
}
×

Success!

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