Alright, so here’s my shpeal.
The website I am attempting to create is CSS based, and has two divs. A “left” and a “content”. My left div has a picture background which fits the website, and looks good. Here’s my problem. If the resolution is different than mine, then the background I am trying to set gets really screwed up, in the sense that it either gets too small, or really big.
At first I had it set by pixel count, and then realized the error of my ways, and tried to change it to percentage. Now, whenever I change resolutions, the picture gets really messed up vertically.
The picture itself is 147×900… does anyone have suggestions as to what measurements I could/should use to make it work?
Here’s some example code of what I’m talking about:
[code]
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”>
<html>
<title> Marcon Inc.</title>
<LINK TYPE=”text/css” HREF=”styles/Marcon.css” REL=”stylesheet”>
<body>
<div id=”left” style=”background-image: url(Pictures/crackback.gif); height: 155%; width: 147px; border: 1px solid black;”>
<br>
<br>
<img src=”pictures/marconLogo.gif”>
<br><br>
</div>
</div>
<div id =”content”>
<br><br>
<br><br>
<br><br>
<br>
<h1><center>Welcome to MarCon, Inc.</center></h1>
<center>
<img src = “pictures/index.jpg”>
</div>
</div>
</body>
</html>