RE: [WSG] Float problem in IE6

2004-12-25 Thread Tatham Oddie
Georg,
Thanks for your help... This got it working first time!

Tatham

-Original Message-
From: Gunlaug Sørtun [mailto:[EMAIL PROTECTED] 
Sent: Saturday, 25 December 2004 4:59 PM
To: wsg@webstandardsgroup.org
Cc: [EMAIL PROTECTED]
Subject: Re: [WSG] Float problem in IE6

Tatham Oddie wrote:

 Im getting a float problem in IE6 that I dont understand.
 
 The URL is http://www.e-oddie.com/e-oddie2/.

The problem is known as margin-doubling in IE/win.
display: inline will fix that in your case.

On top of that you have also made it a bit tight in there, so IE/win
will drop the main column on narrow window.
A small negative back-margin on the float will help.

 For an idea of how it should display (the problem is pretty obvious)
  take a look in Firefox.

This should make it hold in IE/win, until the window gets really narrow.
Put it at the bottom of your stylesheet.

@media all {
* html div.blockRight {display: inline; margin-left: -3%;}
}

Georg
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



[WSG] CSS alignment issues

2004-12-25 Thread Tatham Oddie








Hey guys,

Yet another problem with e-oddie.com 
although its my first totally CSS site so Im happy this is only
the third with few more in sight.

If you look at the homepage  http://www.e-oddie.com/ - Im having problems
laying the content out. Im trying to centre the image on the page both
horizontally and vertically. Then, within the panel, Im trying to
vertically centre the text. Unfortunately Im not achieving either and am
getting different results between IE6 and FF1.



Thanks!




 
  
  Tatham Oddie
  C# Developer / Analyst
  
  www.e-oddie.com
  [personal/blog]
  www.play47.net [work]
  www.ssw.com.au [work]
  
  
  
  +61 414 275 989
  
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]