css - h2 margin or padding is greater than h3 even if they have same font-size? -



css - h2 margin or padding is greater than h3 even if they have same font-size? -

i'm running unusual problem.

trying style h2 , h3 similar. identical on different pages.

i've ready samples too, please take look:

http://artvard.com/category.html h2 posttittle should have exact same margins -> http://artvard.com/main.html h3 posttittle.

for unusual reason, have different margin/padding @ top, spacing looks different.

i'm running out of ideas on how solve :(

i see in css have set font sizes on <a> elements within post titles - means post titles still have differing font sizes, , different line heights, discrepancy in spacing coming from.

try changing

h3.posttittle a, h2.posttittle { color:#e95d01; font-size:16px; }

to

h3.posttittle, h2.posttittle { font-size: 16px; } h3.posttittle a, h2.posttittle { color:#e95d01; }

css html-heading

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -