
Signature
Sander Tekelenburg, <http://www.euronet.nl/%7Etekelenb/>
>For the site I use external CSS of
>course - when setting up examples like this I find it more comfortable
>to use inline CSS
In-document CSS is preferred for posting examples here, it saves us from
having to open and look at 2 or more files.
><http://santek.no-ip.org/~st/tests/CSS/Opera/align2.php> to show what i
>was after.
You don't need the presentational hodgepodge or a transitional doctype:
http://homepage.ntlworld.com/spartanicus/sander.htm
Note that I've also changed the positioning of the image since your
original positioning relative to the right viewport edge didn't scale
properly when the viewport width was narrowed.
>Opera indeed behaves as it should. iCab Mozilla and Safari apparently
>were trying to be too helpful...
Again: browser behaviour for your original code is undefined as per the
spec, thus the browsers are neither wrong nor right.

Signature
Spartanicus
Sander Tekelenburg - 30 Jul 2005 16:54 GMT
In article
<i77me1dr1si85snget95p7b7bib90i4193@news.spartanicus.utvinternet.ie>,
[...]
> In-document CSS is preferred for posting examples here, it saves us from
> having to open and look at 2 or more files.
Exactly.
> ><http://santek.no-ip.org/~st/tests/CSS/Opera/align2.php> to show what i
> >was after.
>
> You don't need the presentational hodgepodge or a transitional doctype:
> http://homepage.ntlworld.com/spartanicus/sander.htm
Ah, right. Good to know.
(Doesn't 'work' for the actual site though, where this structure is
itself within a float. Looks like I narrowed it down too much in my
example. I'll see if I can change the approach on the site. Would be
nice to not have to use presentational mark-up.)
Thanks for your help!

Signature
Sander Tekelenburg, <http://www.euronet.nl/%7Etekelenb/>
Spartanicus - 30 Jul 2005 17:17 GMT
>> You don't need the presentational hodgepodge or a transitional doctype:
>> http://homepage.ntlworld.com/spartanicus/sander.htm
[quoted text clipped - 3 lines]
>(Doesn't 'work' for the actual site though, where this structure is
>itself within a float.
Shouldn't be a problem, specify "position:relative" on the float to make
it the containing block.

Signature
Spartanicus