W3C home > Mailing lists > Public > www-style@w3.org > November 2001

Re: Newbie questions

From: Vadim Plessky <lucy-ples@mtu-net.ru>
Date: Fri, 23 Nov 2001 13:43:59 +0000
To: Sean LeBlanc <seanleblanc@home.com>
Cc: www-style@w3.org
Message-Id: <20011123141945.65835232F2@hueymiccailhuitl.mtu.ru>
On Wednesday 21 November 2001 22:18, Sean LeBlanc wrote:
|   I was looking at and playing around with absolute and relative
| positioning. I have a few questions, however:
|
|   1) Is there a way to position something based on the right edge of the
|   browser? It's all based on the right or top from the docs I was looking
|   at.
|   2) Differences in implementations: Mozilla vs IE 6.0. I have this in
|   my .css file:
|   #header {position: absolute; top: 40px; left: 0px; width: 100%; color:
|   white; background: blue}
|   In Mozilla, this does what I expect. That is, the left and right sides
|   are butted right up to the edge of browser sides. On IE, there is a few
|   pixels of blank space on the right side of the screen. Am I doing
| something wrong, or is M$ bungling up standards again?

Hi Sean!

Instead of
- - -
<html>
<head>
- - -
please try

- - -
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
            "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
- - -
in your HTML, it can do the trick with MS IE6.

Unless you use HTML4 Strict DTD in your code, MS IE6 behaves the same way as 
MS IE5. (to my best knoledge of IE6 internals)

-- 

Vadim Plessky
http://kde2.newmail.ru  (English)
33 Window Decorations and 6 Widget Styles for KDE
http://kde2.newmail.ru/kde_themes.html
KDE mini-Themes
http://kde2.newmail.ru/themes/
Received on Friday, 23 November 2001 09:20:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:11 GMT