Valter Silva
Valter Silva

Reputation: 16656

How to fit some content correctly in a DIV?

I would like to show the content inside of a div, inside of the black box to be more precise, but they are going one above the other. I'm trying, but they keeping being one above the other, as you can see here : www.rbsilva.com/store I would like to work like this : www.rbsilva.com/works

Any help ?

Upvotes: 0

Views: 91

Answers (1)

ProdigyProgrammer
ProdigyProgrammer

Reputation: 415

which black box are you talking about?

if you're talking about getting the text over the image you could apply the following css:

.portfolio-image-holder{
    position:relative;
}
.portfolio-info{
    position:absolute;
    margin-top:-250px;
}

Upvotes: 1

Related Questions