I am trying to make text and images line up in CSS/HTML using the same principles as baseline typography.
I am using images inside AP DIVs, and lining them up with the cap height of adjacent text in another AP DIV.
My problem is that different browsers pad the text differently within the AP DIV.
I can't seem to stop this using CSS.
#alltext
{
position:absolute;
width:width;
height:height;
vertical-align:top;
white-space:nowrap;
margin-top:0px;
margin-left:0px;
padding-top:0px;
padding-left:0px;
border-top:0px;
border-left:0px;
}
I know that it is only a matter of 1 or 2px but I'd like it to be as tight as possible.
Apologies for my poor explanation/terminology.
Thanks in advance.
Andrew

