Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I center a HTML div using px?
10-25-2016, 06:36 PM
Post: #1
How can I center a HTML div using px?
How can I center a HTML div using px? Please suggest me some tips.

Team Building Activities in Delhi | Newspaper Ad Agency in Delhi
Find all posts by this user
Quote this message in a reply
01-11-2020, 09:41 PM
Post: #2
RE: How can I center a HTML div using px?
<body>
<div style="width:800px; margin:0 auto;">
centered content
</div>
</body>

Allergic rhinitis treatment
Nasal Allergy Treatment
Skin Allergy Treatment
Asthma Doctor
Visit this user's website Find all posts by this user
Quote this message in a reply
03-04-2020, 10:45 PM
Post: #3
RE: How can I center a HTML div using px?
Thanks to share with us

Teacher Training Leicester
aet training course in leicester
functional skills maths course in leicester
Visit this user's website Find all posts by this user
Quote this message in a reply
06-25-2020, 02:17 AM
Post: #4
RE: How can I center a HTML div using px?
Enclose it into a parent element and then “text-align: center”
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)