Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
05-21-2007, 12:14 AM #1mypointofviewGuest
Replacing "target" (for frames) - possible ?
Hi, I'd like to validate my pages 4.01 strict and my frame page fails here, because the "target" tag will not validate (it's deprecated even).
I have a page where at the left is the left frame with thumbnails, nice to scroll down. When you click on a thumbnail the right frame shows the big version of the picture.
When I use the loose DTD it's all fine, but I'm afraid that I build on non-future proof grounds...
Here's the code in question (from the left frame page)
<a href="mediapage-01.php" target="mainFrame"><img src="thumb-01.jpg" alt="" width="94" height="60"></a>
Are there no such pages possible like the one I described above, in the future ?? I need a vertical scroll bar for the left frame...
PS: I know of the problems with frames to begin with (search engines, bookmarking, etc) but in my case it's just a small popup window.
Last edited by mypointofview; 05-21-2007 at 12:18 AM.
05-21-2007, 12:26 AM #2
- Join Date
- Mar 2006
- Splendora, Texas, United States of America
- Thanked 271 Times in 265 Posts
Frames themselves are essentially deprecated. If you want to use the target attribute, you use the Transitional DTD.
If you just want scrollbars for visual effect, you can get them by using the CSS overflow property.
For every complex problem, there is an answer that is clear, simple, and wrong.