Previous Message
Next Message

Centring incompatibility

Sent by Dave Silvester on 4 September 2004 17:05


On Saturday 04 Sep 2004 07:05, Robyn Smith wrote:
>  Thanks, Keith. That did the trick. It works in both browsers.

Although the #outer div is still redundant, since you could just do it on the 
body instead and use less divs:

body {
  text-align: center; 
}

#inner {
  margin: 0 auto;
  text-align: left;  /* I assume you probably want this */
  width: 700px;
  height: 400px;
  position: relative;
  top: 40px;
}

~Dave

-- 

Dave Silvester
Music Technology Junkie
Web: http://www.mu-sly.co.uk/
Email: sly at mu hyphen sly dot co dot uk
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: