21fun
06-20-2004, 02:48 PM
I have just been redesigning my site and working on a replacement for frames, however it is not ready yet and It will be a few months before it is all active due to the little spare time I currently have. In the meantime I thought I'd fix a problem that I had. I have had a few comments that the top frame does not appear correctly in Mozilla, so I designed a new topframe layout, which you can see at:
http://www.freewebs.com/northlink/active.html
In Mozilla, it works perfectly the way I want it to, however in Internet Explorer the "Latest News from Railways Online: -" (with the 3 news links below it) does not appear in the centre like it does in Mozilla, does anyone know how I could get it to do this in IE?
Thanks In advance, Joe
Lissa
06-20-2004, 02:51 PM
It looks exactly the same to me in both browsers, the links are on the left of the top frame.
21fun
06-20-2004, 02:56 PM
In Mozilla 1.6 it looks like:
http://img4.photobucket.com/albums/0803/railwaysonline/d869acd0.gif
and in IE it looks like:
http://img4.photobucket.com/albums/0803/railwaysonline/Ie.gif
I want the IE one to look like the Mozilla one
stargrl329
06-20-2004, 03:00 PM
I think I see what you mean.. I'd guess it's because Mozilla is stretching your #main div to a larger width than necessary, and IE is only making it big enough to hold the contents. Perhaps defining a width of 100% (or some other number) would push the text to the center in IE as well.
21fun
06-20-2004, 03:09 PM
What part of my StyleSheet should i add percentage WidThs
you have your css MAIN is positioned by ABSOLUTE. that is probably cancelling the CENTER effect in IE. it is being confused as to where you want the contents since you are saying two different things.
try taking this part...
<h1><center>
<div id="main"><center>
<i><u>Latest News from Railways Online</i></u>: -<br>
214 <a href="news.html#news214" target="inlineframe">Sentencings after Planned Fight at Station</a><br>
213 <a href="news.html#news213" target="inlineframe">SRA Announces Bidders for East Coast</a><br>
212 <a href="news.html#news212" target="inlineframe">Passenger Trains Return after Beeching Closure</a><br></div><center>
and change it to this...
<div style="text-align:center;">
<i><u>Latest News from Railways Online</i></u>: -<br>
214 <a href="news.html#news214" target="inlineframe">Sentencings after Planned Fight at Station</a><br>
213 <a href="news.html#news213" target="inlineframe">SRA Announces Bidders for East Coast</a><br>
212 <a href="news.html#news212" target="inlineframe">Passenger Trains Return after Beeching Closure</a><br></div>