PHP Code:
RESOLVED: needed to add name="mainframe" as well as id="mainframe" to the <iframe></iframe>. No clue why.
Experience: Somewhere in the middle
Example: www[.]straycreations[.]com
Please help, I am using 1 main iframe for content, with targeted div links for the navigation. This works perfect in google chrome, but not in FF or IE. I have been web designing for a number of years, but recently began picking it back up and have no clue what i did wrong.
Navigation DIV Links:
PHP Code:
<div id="DivHome"> <a href="arcade.php" target="mainframe"><strong><fontcolor="white">Home</font></strong></a></div>
<div id="DivConstruction"><a href="under_construction.php" target="mainframe"><strong><fontcolor="white">Construction</font></strong></a></div>
Iframe:
PHP Code:
<iframe scrolling="no" SRC="arcade.php" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" width="100%" height="100%" id="mainframe"></iframe>
CSS:
Code:
<LINK REL=StyleSheet HREF="style.css" TYPE="text/css">
Code:
#DivHome {
position:absolute;
left:42px;
top:113px;
width:39px;
height:21px;
font-size: 16pt;
font-family:Tahoma, Geneva, sans-serif;
}
a {
font-size: 14px;
color: #FFF;
}
a:visited {
color: #000;
text-decoration: none;
}
a:hover {
color: #0F0;
text-decoration: underline;
}
a:active {
color: #000;
text-decoration: none;
}
a:link {
color: #FFF;
text-decoration: none;
}
body,td,th {
color: #000;
}
#DivConstruction {
position:absolute;
left:91px;
top:113px;
width:50px;
height:21px;
font-size: 16pt;
font-family:Tahoma, Geneva, sans-serif;
}
a {
font-size: 14px;
color: #FFF;
}
a:visited {
color: #000;
text-decoration: none;
}
a:hover {
color: #0F0;
text-decoration: underline;
}
a:active {
color: #000;
text-decoration: none;
}
a:link {
color: #FFF;
text-decoration: none;
}
body,td,th {
color: #000;
text-align: left;
}
Bookmarks