Forum Moderators: not2easy
Thanks-
Madcat
Also, have you tried setting 'padding' to '0px'?
As for your question - no it's not 'wrong' to specify a height .. Sometimes that's actually the only solution.
The two <div>s are based on percentages, so if I were to put the repeating image in the background it would become disassociated on different screen resolutions. I set the image to a larger z-index in order to get over the <div> tags and just extended the image that was in the banner. This example is in the profile.
-Best
Actually setting the height property to an arbitrary large number spawns a scrollbar in IE 6.0. Blasted.
Nevermind :: The page was cloaked. I'm not asking to know all about cloaking here because SEO has enough info on the subject to keep me occupied for a month. But, for some instant gratification, what metaphysical elements would cause a cloaked page to display a horizontal scrollbar in Internet Explorer?
Much thanks
<script language="javascript" type="text/javascript">
window.onload = function() {
winHeight = document.all?document.body.clientHeight:window.innerHeight;
if(document.all) {
document.all['theimg'].style.height = winHeight;
}
else {
document.getElementById('theimg').style.height = winHeight;
}
}
</script>
For example, setting language to "javascript1.3" would cause an older browsers to ignore the entire script (if it doesn't support the latest version).
There are also other scripting languages you could use, such as PHP, VBScript etc.
Normally you would use the shorthand <?php ?> for PHP, though, but using a script tag and set language to PHP would work as well.