solidcodes — 2013-05-10T21:11:56-04:00 — #1
I have a <div> tag and the CSS properties are below,
So how to make this responsive?
Thank you very much in advanced.
solidcodes — 2013-05-10T21:19:44-04:00 — #2
I think I solved the problem.
markbrown4 — 2013-05-10T21:41:25-04:00 — #3
No, the right answer is:
A div is display: block by default so will be 100% wide.
If you don't set a height then it will be the height of it's contents.
You need no styles at all to make a div responsive