- Joined
- Dec 4, 2007
- Messages
- 1,936
- Reaction score
- 96
I've been trying to get this to work in Internet Explorer, but it won't. However, it looks beautiful in Firefox.
Just wondering how I would go about centering this in both IE and FF.
index.html
stylesheet.css
Just wondering how I would go about centering this in both IE and FF.
index.html
Code:
<body>
<div class="logo">
<img src="http://forum.ragezone.com/images/logo.png">
</div>
<div class="buttons">
<a href="http://www.dialatic.com/about.html"><img src="http://forum.ragezone.com/images/about.png" alt="About Us" border="0"></a>
<a href="http://www.dialatic.com/portfolio.html"><img src="http://forum.ragezone.com/images/portfolio.png" alt="Portfolio" border="0"></a>
<a href="http://www.dialatic.com/forum/index.php"><img src="http://forum.ragezone.com/images/forums.png" alt="Forums" border="0"></a>
</div>
</body>
stylesheet.css
Code:
body {
background: #111111;
}
.logo {
background: #111111;
padding-top: 200px;
width: 300px;
text-align: center;
margin-right: auto;
margin-left: auto;
}
.buttons {
background: #111111;
padding-top: 40px;
width: 1000px;
text-align: center;
margin-right: auto;
margin-left: auto;
}
Last edited: