Hello everyone....I've been working on the design for my forum on my website and while everything else has gone to plan...one thing hasn't. On my topic page ,
[indent]
Why is it XHTML, and why is it transitional?
[/indent]the DIV with class greybox and id navigationbox[indent]
Why do you have:
<div id="navigation">
<div id="nav-container">
...
</div>
</div> You don't need both divs; the more complicated you make your mark-up, the harder it is to debug.
And within that (where I have put the ellipsis), you have:
<div id="userbox" class="greybox">
<ul class="navlist">
<li><a href="#"><span>Login</span></a></li>
<li><a href="#"><span>Register</span></a></li>
</ul>
</div>
You don't need both and ; use by itself.
And the s are unnecessary.
[/indent] that displays the text Home, New Posts, Members, Stats, Rules, etc. just wont align to the center of my 800px wrapper.[indent]
Why do you have an 800px wrapper? If my window is smaller than 800px, I can't see the whole thing and I have to scroll horizontally. If my window is larger, there are gutters on each side of the page.
Make it:
width: 90%; margin: 0 auto;
and it will work for everyone.
[/indent] I realize that it is set to float to the left and this is because for some reason when I don't float it to the left or right, the DIV's border does not display right in any browser (Well, I know it doesn't work in FF or Chrome, and I think it didn't it IE..).[indent]
If you float it left,of course it is not going to be centred!
[/indent]When not floated the border doesn't surround the DIV and instead just stretches across the 800px wrapper. Can anyone help me figure out a way to fix this? (And preferably not a non-standard...I know I could use a table with three columns or add a div before it with width of 33.3%)
Thanks Everyone!
P.S. And while your at it..could you tell me how it looks? I'd love to hear some feedback before I actually start the server side of the forum. [indent]
It's very hard to read; there is not enough conrast between text and background.
[/indent]