If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Making a container and placing it at the middle of the page?

I'm trying to create this site and this is the code I have right now. How do I make a container and place it just like on the "this site"? How do I insert an image instead of "go to site" button? And make it all responsive just like on "this site"?

For center --> You should specify width of the container and then give it margin : auto
for example :

Code:

.container{
margin: auto;
width: 40%;
border: 2px solid Red;
}

and if you want to make it responsive use bootstrap classes ...and if you want to make your css, responsive .You should use "%" instead of "px " while declaring height and width ... and you have to use "em" for fonts