How to centre a div and how to centre the contents of a div
1. I want to centre a DIV
2. I want to centre the contents of a DIV
I did a google and it seems this is not straight forward!
I came across several different answers
I'd be happy to go with one of the answer: but most of these are dated more than 5 years ago - I assumed that the code maybe old and outdated now?
Can someone give me a definitive answer to how to centre a DIV and separately, how to centre the contents of a DIV
Users Browsing this Thread
There are currently 5 users browsing this thread. (0 members and 5 guests)