html - How can I adjust the offset of two divs? -
here structure of web page. created 3 divs under content, left, centre , right. centre , right both have offset 641, same content class. however, offset of left_feature different others, leading elements of left not aligning other elements. tried set padding, border , margin-top these did not change. tried inspection of element , forced element of left move correct position once setting padding , margin never succeeded again. me?
that offset x,y position browser has calculated element based on it's position css attribute.
if using display: inline-block;
specify vertical alignment of elements like,
vertical-align: middle | top | bottom
or
use position: absolute;
divs
or
play negative margin
adjust same.
Comments
Post a Comment