Heya,
Working on a website at the mo, and I've got a cross-browser compatibility problem. Take a look at http://union.ic.ac.uk/halls/pcourt/new/ in IE and click on the News tab. This is how I want it to look. Now look at the News page in Firefox - it's a mess! Can you see what I'm doing wrong from this code?
news.html:
news.css:
style.css:
Thanks,
Ryan
Working on a website at the mo, and I've got a cross-browser compatibility problem. Take a look at http://union.ic.ac.uk/halls/pcourt/new/ in IE and click on the News tab. This is how I want it to look. Now look at the News page in Firefox - it's a mess! Can you see what I'm doing wrong from this code?
news.html:
<html> <body> <head> <link rel="stylesheet" type="text/css" href="../style.css"> <link rel="stylesheet" type="text/css" href="news.css"> </head> <div class="container"> <h2>News</h2> <div class="left"> (content) </div> <div class="right"> (content) </div> </div> </body> </html>
news.css:
div.left { padding: 10px; border: 3px solid #009933; width: 250px; float: left; } div.right { padding: 10px; border: 3px solid #009933; width: 480px; float: right; }
style.css:
div.container { position: relative; margin: 0 auto; width: 748px; height: 100%; text-align: justify; } (+ other stuff)
Thanks,
Ryan