Question:

Question about <div> tags in HTML?

by Guest61338  |  earlier

0 LIKES UnLike

Which <div> tag would you use to position something center-left?

 Tags:

   Report

2 ANSWERS


  1. Are you trying to say that you want to center the information in a div to be vertically center and aligned left? If so, there are no style for a vertical alignment for a div. In order to place content vertically in the center of the div you will need to use padding. Vertically align is resolve only for tables.


  2. &lt;div style=&quot;

    position:absolute;left:0;

    top:20;&quot;&gt;

    write here

    &lt;/div&gt;

    that? sorry got cut off so just delete the spaces XD

    you just have to change the position ^^

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.