Previous Message
Next Message

Re: [css-d] Don't Make Me Use Tables...

Sent by Mark Newhouse on 27 March 2002 17:05


on 3/27/02 12:26 PM, Bob Sawyer at [EMAIL-REMOVED] wrote:

> The MAIN things I'd like fixed:
> 
> - Centering the content <div> across all browsers. I really don't want to
> have to put this in a <table align="center"> to have this work...

Since your content seems to be optimized for 800px wide browsers, I'd use a
margin-left of say 10px in a Netscape style sheet, then @import a style
sheet where you redefine it using CSS2 (e.g. margin-left: auto;
margin-right: auto;)

> - Footer stays put at bottom of content <div>. Again, I really don't want to
> solve this with a table...

Add clear: both; to your #footer DIV. This doesn't quite do it for NN4 (aat
least on my Mac), but adding a <br clear="all"> right before the #footer DIV
in your code will give NN4 the final nudge down that it needs.

Probably not what you wanted to hear, but...

HTH,

--Mark Newhouse
  We put the "blah" in blog...
  <http://homepage.mac.com/iblog/>
Previous Message
Next Message

Message thread: