Programming
Centering my 6 divs

Question Description

I need help with a Programming question. All explanations and answers will be used to help me learn.

Hello,

i'm trying to center my 6 div's in the middle with a set width, i got the backgrounds an nav with 100% width scaling but the 6 divs just don't work,

as you see in my CSS  got the container content centered but yet doesn't work,

anyways here's my code hope you can help me,

http://dabblet.com/gist/5807913

Student has agreed that all tutoring, explanations, and answers provided by the tutor will be used to help in the learning process and in accordance with Studypool's honor code & terms of service.

Final Answer

Why not try it give it a big div of them all. For the big div, give it margin-left by percentage to make it centered.

henry (1070)
Rice University

Anonymous
I was on a very tight deadline but thanks to Studypool I was able to deliver my assignment on time.

Anonymous
The tutor was pretty knowledgeable, efficient and polite. Great service!

Anonymous
Heard about Studypool for a while and finally tried it. Glad I did caus this was really helpful.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors