Hi everyone,
My HTML page looks as I wanted it on my desktop machine where I coded it and different on a remote laptop.
Attached are a screenshot of the HTML page as it appears on the desktop and another screenshot of the same page as it shows up on the laptop.
The second screenshot shows the brown image not in the middle of the background image, the yellow caption below goes out of the page.
The brown image at the second image appears without its’ round right angles as if it was cut at its’ right side.
My desktop’s display’s resolution is: 1024-768. The laptop’s resolution is: 1280-768. Both machines use: Firefox browser.
Here is the HTML code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1255" />
<style type="text/css"> body
{
background-image:url('board.gif');
background-repeat:no-repeat;
background-attachment:fixed;
background-position:center;
margin:0;
padding:0;
}
div#startpage
{
position:relative;
width:1000px;
height:600px;
background-image:url('startpage.png');
background-repeat:no-repeat;
background-attachment:fixed;
background-position:center;
}
div#container
{
left:4%;
top:89.5%;
width:300px;
color:yellow;
font-size:50px;
direction:rtl;
overflow:hidden;
position:absolute;
}
</style>
</head>
<body>
<div id="startpage"></div>
<div id="container"> ABCDEFGHIJ</div>
</body>
</html>
I wonder if anyone could help me making that code appears the same on any machine (not mentioning: browser!).
Thanks a lot !