/    Sign up×
Community /Pin to ProfileBookmark

I am trying to build boxes with images in CSS and am having difficulties doing the vertical parts to it. I have the “header” and the “footer” placed where I would like them to be, now its just connecting those two pieces. Or is there a way that I could make a border in CSS and not use images? Any and all help would be greatly appreciated.

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@dangerousprinceApr 22.2012 — You can make as many boxes as you like using just html and css, no images required. Make a div tag and style it using css like this:

[code=html]<div></div>[/code]

[code=html]
div {
width:250px;
height:250px;
border:1px #000 solid;
}
[/code]
Copy linkTweet thisAlerts:
@brendanoshanauthorApr 22.2012 — Dangerousprince, thank you for the help! Is there a way to round the edges of the box?
Copy linkTweet thisAlerts:
@dangerousprinceApr 22.2012 — CSS3 will help you. Try this out:

http://www.cssportal.com/css3-rounded-corner/

If not, and you're looking for something that will work in **** browsers, then you can add a small image at the top and bottom/left and right.
×

Success!

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