I have a problem with positioning graphics in Chrome and Safari. My code works fine in IE开发者_运维百科 and Firefox.
A typical line of code is
<Div Style='{position:absolute; left:326px;top: 268px;}'>
<A Href='Venues.asp?id=2'>Image code</A>
</div>
Kill the curly braces. It should just be style="position:absolute; left:326px; top:268px;"
Chrome and Safari are based on Webkit. Add this to the bottom of you stylesheet and put the class you want to adjust in here.
@media screen and (-webkit-min-device-pixel-ratio:0) {
.class {}
}
Remove curly braces from your inline style. Also no need to capitalize <a>
and <div>
tags. Your code should look like
<div Style='position:absolute; left:326px;top: 268px'><a Href='Venues.asp?id=2'>Image code</a></div>
精彩评论