I want to have control over a div when I make it absolute
I tried making it left 30% right 30% then I gave top a particular pixel when it get to where I want to be it becomes squished what should I do because I want to give it a max-width
I want to have control over a div when I make it absolute
I tried making it left 30% right 30% then I gave top a particular pixel when it get to where I want to be it becomes squished what should I do because I want to give it a max-width
2
Answers
To center this div horizontally, try this: