Table Mozilla

S

spot215

Hello all,
I have FP 2003 and in the title frame of my page I have a 1x1 table with
the title and a 5x1 table with interactive buttons underneath, both centered
in IE 6 as I want them to be. However, in Mozilla Firefox 1.0.6 the table
with buttons below is aligned left and I can't figure out why.
Any help would be much appreciated, as this is driving me crazy.
 
C

Chris Leeds, MVP-FrontPage

look in the page code for border-style: collapse; and remove the attribute.
it's almost always to blame for tables and positioning going bad in non ie
browsers

HTH

--
Chris Leeds,
Microsoft MVP-FrontPage

ContentSeed: great tool for web masters,
a fantastic convenience for site owners.
http://contentseed.com/
 
S

spot215

The code's below. I don't know what significance the line "<p>This page uses
frames, but your browser doesn't support them.</p>" has, since this displays
even when the default browser is IE, but I am relatively new to FP and html
coding.


<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Dooling Lab of Comparative Psychoacoustics</title>
<style type="text/css">
<!--
body { text-align:center; color:#CCC; }
#wrapper { text-align:left; width:728px; margin:0 auto;position:relative; }
-->
</style>
</head>


<frameset rows="126,*" framespacing="0" border="0" frameborder="0">
<frame name="header" scrolling="auto" target="main" src="titleframe.htm"
marginwidth="6" marginheight="7" noresize>
<frame name="main" src="body.htm" target="_self">
<noframes>
<body marginheight="200">
<div id="wrapper">

<p>This page uses frames, but your browser doesn't support them.</p>

</div><!-- /wrapper -->
</body>
</noframes>
</frameset>

</html>
 
S

spot215

I tried that but that doesn't seem to be the problem (although I might have
done it incorrectly). I posted the code in response to the other replier, in
case you'd like to look at it. Thank you for your suggestion, though.
 
S

spot215

I posted the wrong code- here's the correct portion.

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>The Laboratory of Comparative Psychacoustics</title>
<base target="main">
<meta name="description" content="The Laboratory of Comparative
Psychacoustics">
<script language="JavaScript">
<!--
function FP_preloadImgs() {//v1.0
var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
for(var i=0; i<a.length; i++) { d.FP_imgs=new Image;
d.FP_imgs.src=a; }
}

function FP_swapImg() {//v1.0
var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2;
n<args.length;
n+=2) { elm=FP_getObjectByID(args[n]); if(elm) {
doc.$imgSwaps[doc.$imgSwaps.length]=elm;
elm.$src=elm.src; elm.src=args[n+1]; } }
}

function FP_getObjectByID(id,o) {//v1.0
var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById)
el=o.getElementById(id);
else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return
el; } }
return null;
}
// -->
</script>
<style fprolloverstyle>A:hover {color: #008080; font-family: Tahoma;
font-size: 14pt; font-weight: bold}
</style>
</head>

<body
onload="FP_preloadImgs(/*url*/'button2.gif',/*url*/'button3.gif',/*url*/'button9C.gif',/*url*/'button9B.gif',/*url*/'button9F.gif',/*url*/'button9E.gif',/*url*/'buttonA2.gif',/*url*/'buttonA1.gif',/*url*/'buttonA5.gif',/*url*/'buttonA4.gif',/*url*/'buttonA8.gif',/*url*/'buttonA7.gif')"
marginwidth="0" marginheight="0" style="text-align: center; float: left">

<div align="center">

<table border="0" width="100%" id="table8">
<tr>
<td>
<p align="center">
<span style="font-variant: small-caps; font-weight: 700; letter-spacing:
-1pt">
<font face="Gill Sans MT Condensed" style="font-size: 30pt">
The Laboratory of Comparative Psychoacoustics</font></span></td>
</tr>
</table>
</div>

<div style="width: 837px; height: 43px; " id="layer1">
<div align="center">
<table border="0" width="100%" id="table9">
<tr>
<td>
<p align="center"><a href="body.htm" target="main">
<img border="0" id="img6" src="button9A.gif" height="26" width="130"
alt="Home" onmouseover="FP_swapImg(1,0,/*id*/'img6',/*url*/'button9B.gif')"
onmouseout="FP_swapImg(0,0,/*id*/'img6',/*url*/'button9A.gif')"
onmousedown="FP_swapImg(1,0,/*id*/'img6',/*url*/'button9C.gif')"
onmouseup="FP_swapImg(0,0,/*id*/'img6',/*url*/'button9B.gif')"
fp-style="fp-btn: Linked Row 1; fp-font: Times New Roman; fp-font-size: 12;
fp-font-color-press: #008080; fp-transparent: 1; fp-orig: 0"
fp-title="Home"></a></td>
<td>
<p align="center"><a href="labstaff.htm" target="main">
<img border="0" id="img7" src="button9D.gif" height="26" width="130"
alt="Lab Staff"
onmouseover="FP_swapImg(1,0,/*id*/'img7',/*url*/'button9E.gif')"
onmouseout="FP_swapImg(0,0,/*id*/'img7',/*url*/'button9D.gif')"
onmousedown="FP_swapImg(1,0,/*id*/'img7',/*url*/'button9F.gif')"
onmouseup="FP_swapImg(0,0,/*id*/'img7',/*url*/'button9E.gif')"
fp-style="fp-btn: Linked Row 1; fp-font: Times New Roman; fp-font-size: 12;
fp-font-color-press: #008080; fp-transparent: 1; fp-orig: 0" fp-title="Lab
Staff"></a></td>
<td>
<p align="center"><a href="labprojects.html" target="main">
<img border="0" id="img8" src="buttonA0.gif" height="26" width="130"
alt="Lab Projects"
onmouseover="FP_swapImg(1,0,/*id*/'img8',/*url*/'buttonA1.gif')"
onmouseout="FP_swapImg(0,0,/*id*/'img8',/*url*/'buttonA0.gif')"
onmousedown="FP_swapImg(1,0,/*id*/'img8',/*url*/'buttonA2.gif')"
onmouseup="FP_swapImg(0,0,/*id*/'img8',/*url*/'buttonA1.gif')"
fp-style="fp-btn: Linked Row 1; fp-font: Times New Roman; fp-font-size: 12;
fp-font-color-press: #008080; fp-transparent: 1; fp-orig: 0" fp-title="Lab
Projects"></a></td>
<td>
<p align="center"><a href="pubpage.htm" target="main">
<img border="0" id="img9" src="buttonA3.gif" height="26" width="130"
alt="Publications"
onmouseover="FP_swapImg(1,0,/*id*/'img9',/*url*/'buttonA4.gif')"
onmouseout="FP_swapImg(0,0,/*id*/'img9',/*url*/'buttonA3.gif')"
onmousedown="FP_swapImg(1,0,/*id*/'img9',/*url*/'buttonA5.gif')"
onmouseup="FP_swapImg(0,0,/*id*/'img9',/*url*/'buttonA4.gif')"
fp-style="fp-btn: Linked Row 1; fp-font: Times New Roman; fp-font-size: 12;
fp-font-color-press: #008080; fp-transparent: 1; fp-orig: 0"
fp-title="Publications"></a></td>
<td>
<p align="center"><a href="LinkPage.htm" target="main">
<img border="0" id="img10" src="buttonA6.gif" height="26" width="130"
alt="Links" onmouseover="FP_swapImg(1,0,/*id*/'img10',/*url*/'buttonA7.gif')"
onmouseout="FP_swapImg(0,0,/*id*/'img10',/*url*/'buttonA6.gif')"
onmousedown="FP_swapImg(1,0,/*id*/'img10',/*url*/'buttonA8.gif')"
onmouseup="FP_swapImg(0,0,/*id*/'img10',/*url*/'buttonA7.gif')"
fp-style="fp-btn: Linked Row 1; fp-font: Times New Roman; fp-font-size: 12;
fp-font-color-press: #008080; fp-transparent: 1; fp-orig: 0"
fp-title="Links"></a></td>
</tr>
</table>
</div></div>

</body>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top