My first real attempt at a website is now almost complete (My Home Page), and there are a few issues that I have not been able to resolve:
2 - Related to the above point, the changes to the CSS for Mozilla and Netscape seem to take place AFTER all the images have loaded for the site. There are a lot of images, which all download at the start even if they are not immediately visible, so that they are available when the user wants to see them. Unfortunately, this means that users have a mis-aligned version of the site until all the images have finished downloading. Is there any way to force these CSS changes to happen first?
3 - LINKS - some apparently basic problems here. I cannot work out how to open links in a new window. I want the site to be XHTML valid, so I cannot use "target" within the <a> tag. I have tried using <span on-click = "window.open('url','newWin')">xxx</span> (I added the hyphen so that the post would be accepted) but this does not work at all. Another links issue is that I cannot seem to remove the dotted border around active links or the solid border around images used as links. <a href = "#" border = "0"> works for the images, but is not valid XHTML. Using CSS does not make any difference.
So a fairly comprehensive range of problems there. I would be very grateful for any help you could offer on any of them. Hope you enjoy the site.
For CSS issues make sure that the browser is in complance mode ([url[http://www.quirksmode.org/css/quirksmode.html[/url] so IE acts the way that it is should. Plus IE has a underscore hack that you can name stuff in the style sheet for it. An example:
width: 45px; _width: 35px;
IE sees 35 while the others see 45.
For audio, I would do a search on Google. I perfer that there is not music on the site unless it is a site that is for multimedia.
posted 14 years ago
Thanks Eric - this hacl will be EXTREMELY useful to me.
Yes, the sound is necessary for the site - part of the site is a catalogue of audio recordings. For one of them, when it is selected, I would like it to start part of the way through. Does anyone know a way to do this?