Weird problem.
I run a small ASP database application on my hard drive acting for cataloguing references. Works perfectly. Searching populates a table with file details, the name set a link to the PDF so it can be opened in a new window via "_target=blank".
I used it for the first time in a while and it all works fine except nothing happens if you click on a link, or right click and choose open in new window. To investigate I copied the source and all looked well. Ran the source as new page which worked fine except could not find the CSS code as in the wrong tree, but bizzarely the links now work.
Put same file back in main folder so CSS is active and links fail.
The only change since is the addition of Service Pack 2. It does not flag any ActiveX or script errors though - clickin the link just does nothing at all.
Could SP2 have influenced how the CSS is implemented?? Seems unlikely to me?
Here is the CSS code I use (borrowed from bluerobot)
Is there anything there to explain this weird change in how the program works?
Thanks.
I run a small ASP database application on my hard drive acting for cataloguing references. Works perfectly. Searching populates a table with file details, the name set a link to the PDF so it can be opened in a new window via "_target=blank".
I used it for the first time in a while and it all works fine except nothing happens if you click on a link, or right click and choose open in new window. To investigate I copied the source and all looked well. Ran the source as new page which worked fine except could not find the CSS code as in the wrong tree, but bizzarely the links now work.
Put same file back in main folder so CSS is active and links fail.
The only change since is the addition of Service Pack 2. It does not flag any ActiveX or script errors though - clickin the link just does nothing at all.
Could SP2 have influenced how the CSS is implemented?? Seems unlikely to me?
Here is the CSS code I use (borrowed from bluerobot)
Code:
body {
color:#333;
background-color:#eee;
margin:10px;
padding:0px;
font:11px verdana, arial, helvetica, sans-serif;
}
h1 {
margin:0px 0px 15px 0px;
padding:0px;
font-size:23px;
font-weight:900;
color:#000;
}
h2 {
font:bold 12px/14px verdana, arial, helvetica, sans-serif;
margin:0px 0px 5px 0px;
padding:0px;
}
p {
font:11px/20px verdana, arial, helvetica, sans-serif;
margin:0px 0px 10px 0px;
padding:0px;
}
.Content>p {margin:0px;}
.Content>p+p {text-indent:0px;}
a {
color:#09c;
font-size:11px;
font-family:verdana, arial, helvetica, sans-serif;
font-weight:600;
text-decoration:none;
}
a:link {color:#09c;}
a:visited {color:#07a;}
a:hover {background-color:#eee;}
.headmenu {
position:relative; /* Position is declared "relative" to gain control of stacking order (z-index). */
width:auto;
margin:10px 10px 10px 0px;
border:1px solid black;
background-color:white;
padding:10px;
}
/* All the content boxes belong to the content class. */
.content {
position:relative; /* Position is declared "relative" to gain control of stacking order (z-index). */
width:auto;
margin:10px 10px 10px 0px;
border:1px solid black;
background-color:white;
padding:10px;
z-index:3; /* This allows the content to overlap the right menu in narrow windows in good browsers. */
}
#navAlpha {
position:absolute;
width:150px;
top:148px;
left:20px;
border:1px dashed black;
background-color:#eee;
padding:10px;
z-index:2;
}
#navBeta {
position:absolute;
width:190px;
top:20px;
right:20px;
border:1px dashed black;
background-color:#eee;
padding:10px;
z-index:1;
}
Is there anything there to explain this weird change in how the program works?
Thanks.