|
DaveX -> I THINK this is a CSS question... (3/31/2007 22:08:52)
|
I've got an issue with a script/style sheet combination. The script is for a image viewer that runs along the bottom of my page. It's centered on the page and works great UNTIL I view it in IE where it shows up all the way to the left. Here's the chunk of .CSS that I'm working with: #motioncontainer { margin:0 auto; /* Uncomment this line if you wish to center the gallery on page */ width: 50%; /* Set to gallery width, in px or percentage */ height: 350px; /* Set to gallery height */ As you can see, I've commented out the necessary line. I've poked around and there are apparently some issues with having the container being related in anyway to 'center' alignment tags that cause issues with IE. Well, I get confused by 'float' and 'alignment' and such as far as actual tags go as well as 'div'. I'm slowly figuring it out though with help from a lot of you guys! Anyway, I'm sure my problem lies in here somewhere: </head> <body bgcolor="#000000"> <div align="center"> <center> <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="990" id="AutoNumber1" bordercolorlight="#000000" bordercolordark="#000000" bordercolor="#000000" bgcolor="#333333"> <tr> <td width="990" colspan="2" height="30" bordercolor="#000000" bgcolor="#333333" align="right"> <img border="0" src="images/logo.jpg" width="309" height="21"></td> </tr> <tr> <td width="990" colspan="2" height="480" bordercolor="#000000" bgcolor="#333333"> <p align="center"> <div id="loadarea" style="width: 990px"></div></td> </tr> <tr> <td align="left" height="26" bgcolor="#333333" width="495"> <img border="0" src="images/mail.jpg" width="275" height="14"></td> <td align="right" height="26" bgcolor="#333333" width="495"> <img border="0" src="images/telephone.jpg" width="188" height="13"></td> </tr> <tr> <td width="990" colspan="2" height="70" bgcolor="#333333"> <div id="motioncontainer" style="position:relative;overflow:hidden; width:800; height:65"> <div id="motiongallery" style="position:absolute;left:0;top:0;white-space: nowrap; width:1700; height:58"> <nobr id="trueContainer"> Now, I hope this is the appropriate section to post in as I think it has something to do with the CSS conflicting possibly? I can also post a link to the page if anyone is interested in seeing it directly...
|
|
|
|