Click to See Complete Forum and Search --> : Please check this strange behavior!
ahclem
10-23-2003, 10:24 PM
I have a site that's created using layers, css, and Javascript. Here's the URL: http://cvahec.org/
Throughout the site, if you try to select any of the content (to print or copy to the clipboard, for instance), whole parts of the page become selected also.
I suspect this may have to do with the Z-index of my layers, but that's just a guess.
Anyone have any suggestions?
Thanks for any help!
MotherNatrsSon
10-24-2003, 10:41 AM
Any particular page you are having a problem on?
Your page isn't valid code or CSS. You need to correct the errors if you want the W3C valid images on your page.
MNS
spufi
10-24-2003, 11:09 AM
And here is something I don't get.
<div id="Footer" style="position:absolute; left:0px; top:1100px; width:750px; height:68px; z-index:1;" class="footer">
Why create a class to define CSS for something only to add more CSS within the tag itself? On top of this is the fact that you create a class name when you could have just define the CSS by using the name within the id attribute. Your tag should look like this.
<div id="Footer">
In your CSS file you should have something like this.
#Footer { position:absolute; left:0px; top:1100px; width:750px; height:68px; z-index:1; }
And whatever else CSS you want defined to the Footer <div> tag. A well done web page will have all of it's CSS defined externally and none of it within the HTML file itself (Beyond defining the link to the external CSS)