My first post, I came here hoping for help after quite a struggle with what looks to be such a simple thing, but I can't do it. I understand how to do this for every browser but not all of them at the same time. I want correct cross browser compatability. If anyone can help me I would sure appreciate it.
All that I need is an absolutely positioned, outlined block with two or three lines of centered text inside. This is the idea in IE:
p {text-align:center;}
#content {
font-weight:bold;
font-size:16px;
text-align:center;
color:blue;
}
#Text01 {
overflow:hidden;
border: 2px solid #0000FF;
position: absolute;
width: 220px;
height: 45px;
top: 696px;
left: 1px;
}
<div id="Text01"><div id="content">
<p>Product Description<br />
Product Price</p>
</div></div>