Previous Message
Next Message

Re: [css-d] Quick abase-my-gray-color-scheme session.

Sent by Big John on 1 June 2002 01:01


--- [EMAIL-REMOVED] wrote:
> http://www.therepertory.net/
> 
> It's a little simplistic, and the purpose of the site is a little bit obscure
> (you can probably guess, but if you can't, don't ask :) ), but it's meant to
> be quick-loading and easy to use.

Very quick, for such a long page. CSS is nice.
 
> If I could get an informal browser check, that'd be great. The only thing I'm
> aware of that's seriously wrong is that in a few CSS-deluded browsers, the
> main content div is aligned to the left instead of centered. Anybody have any
> down and dirty suggestions as to how to make that better?

I believe that it's one of IE's bugs, er, behaviors. The one where IE
won't pay any attention to auto left and right margins. You have to give
'text-align:center' to the container of div#main, which in this case is
'body'.

The specs say that doing this only affects inline elements within the
selected element, but IE5x also applies it to block elements as well.

So in IE5 div#main will appear centered, and newer browsers will
use the auto margins to do the same thing. 

However, unless you want all text in #main to be centered, #main
gets 'text-align:left' to *reset* the text to the default.
I haven't got a link for this;  Anybody?

BTW--The site is indeed understated; There had better be some 
hard-hitting content behind those links! Like it tho.

You should see my Main Page, like a neon sign... hmmm.
Big 'primary colors' John


=====
"What the world needs is a good bug ring"--Big John
<http://users.rraz.net/mc_on_the_rocks/testpage/pie.html>

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
Previous Message
Next Message

Message thread: