Ok, I have a couple of layers that are using relative positioning to stay where I want them…in IE.
Safari seems to bump them up ever so slightly (although not much) and Mozilla/Netscape display them too low. Horizontal alignment isn’t creating a problem.
here’s what I have:
#parent
{margin-top: 0px; margin-left:auto; margin-right:0px; margin-bottom:auto; width 650px; text-align: center;}
#layer1
{ position: relative; z-index: 1; top: -34 px; left: 13px; height: 38px; visibility: visible }
#layer2
{ position: relative; top: -107px; left: 254px; width: 40px; height: 32px; visibility: visible }
The layers are then nested in a table in the “parent” div. What am I doing wrong to piss off the non-IE browsers? Is there a clean fix or will this require adding browser checks and a bunch of other things that I’m probably not too good at.
oh, I’ve also run into something where non-IE browsers are displaying a different part of the site on the left, rather than center. It’s just an unrelated table, so I’m wondering what the other browsers have against
</table>
</div>
<div align=”center”>
<table border=”0″ cellpadding=”0″ cellspacing=”0″ width=”619″>
<tr>
<td width=”5″></td>
<td width=”609″>
<div align=”center”>
Thanks in advance.
Z-237
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<title>Vassar College Campus Dining | Locations | The Atrium</title>
#layer1
{ position: relative; z-index: 1; top: -34 px; left: 13px; height: 38px; visibility: visible }
#layer2
{ position: relative; top: -107px; left: 254px; width: 40px; height: 32px; visibility: visible }
body
{ scrollbar-arrow-color: #582121; scrollbar-base-color: #c6c6c6; scrollbar-face-color: #dfdfdf; scrollbar-track-color: #dfdfdf }
// each menu gets two parameters
// 1. items structure
// 2. geometry structure
new menu (MENU_ITEMS, MENU_POS);
// Leave this alone, lest ye be like a cow in a china shop.
//-->
[i]Originally posted by Z-237 [/i]
[B]What am I doing wrong to piss off the non-IE browsers?[/b][/quote]
[i]Originally posted by Z-237 [/i]
[B]Is there a clean fix...[/b][/quote]
0.1.9 — BETA 6.1