--- maria [EMAIL-REMOVED]> wrote:
> I had put a border in ems round the body - that sort of
> frames the page but with white margin outside of it, so
> that the little logo near the top crosses through the
> border on the left - so that the border appears to run
> out of the top and the bottom of the logo.
Like Egor says, You need to wrap the page in a div with the
body styles applied to it instead. However, due to a variance
between IE and other browsers, the top margin on that div
should be transfered to 'body', else the logo will cover
different parts of the page in different browsers.
> In the same manner, the images should have a white
> margin between the image and the border. But on a pc
> all of this margin has vanished. The body border
> is right out at the edge of the page and the borders
> around the images are directly round the images!
Egor suggests using padding on the <img>s, but in IE6/win98 this
does not work. Instead, wrap the images in divs, and apply all
style to them. Beware: those divs must enclose only the <img>s,
and nothing else. Not even spaces, or the border won't evenly
surround the image.
As Caio suggests, a strict doctype should be used, altho in this
case it makes only a minor difference.
Finally, I noticed that the top menu has trouble at 800x600.
Each link is in a <td>, and at that res. each link is seperately
wrapping. :-O (very ugly indeed!)
Fortunately the fix involves dumping the table. (huzzah!)
Just leave the links inline, wrap them in a div, and give it a
bottom border, plus 'text-align:center'. There's one wrinkle;
the browser may break thru the middle of a link unless the
spaces inside the links are replaced by ' '. Also, any
hyphens may break, so use '−' instead.
I know, that's not correct markup, but I found that '‑'
(non-breaking hyphen) does not work in Op6/Win. Character ref:
I have put up a modified version of your page at:
One last thing; there is a VERY bizarre Win/OS bug associated
with your menu links in Win98 (all browsers). I shall post on this
"What the world needs is a good bug ring"--Big John
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience