Give help. Get help.
So.. Hi everyone, i am definitely a newbie when it comes to creating web pages, and I’m having a problem for centering a simple DIV in this new web page.
I want to center this DIV, both image and text. I’m using skeleton boilerplate.
Here is the HTML
And here is the CSS
margin: 0 auto;
I just want #panel centered, and hopefully, both image and h1 tag would respect the responsive queries by skeleton.
I apologize for the noobness in this questions..
You can’t center using margin:auto unless the element has a specified width or max-width.
You might try this…
You must be logged in to reply to this topic.