Forum Moderators: open
<html>
<head>
<title>Scarlett's Web</title>
<style type="text/css">
body {
color: #2C1712;
background: #fff;
margin: 0px;
}
a:link {
text-decoration: none;
color: #2C1712;
}
a:visited {
text-decoration: none;
color: #603811;
}
a:hover, a:active {
text-decoration: underline;
color: #A67C51;
}
</style>
</head>
<body bgcolor="#FFFFFF" text="2C1712">
<table border="1" width="500" height="100%" align="center" valign="top">
<tr align="left" valign="top">
<td><font face="verdana" size="2">lalalalala</font></td>
</tr>
</table>
</body>
</html>
It works fine in IE but in Firefox, the valign is always centered. This table is in an iframe. Could that be the problem? Here's that code, just in case:
<IFRAME NAME="frame1" SRC="main.html" TITLE="content" height="100%" width="507" frameborder="0" scrolling="auto"></IFRAME>
I'd appreciate any help, thanks.
valign= takes the values "top", "middle", "bottom" or "baseline"
align= takes the values "left", "center" or "right"
I tried what you said (took the margins and padding out), but that just made it worse... Without those, the table was 2inches from the top and a few cms from the left.
The only reason I'm using a table at all is because I wanted to be able to control the width of the page because it was inside of a iframe. Can I control the width without the table? With CSS or whatnot?