> -----Ursprüngliche Nachricht----- > Von: "Els" <el...@tiscali.nl> > Gesendet: 05.03.09 23:11:12 > An: "css" <css-d@lists.css-discuss.org> > Betreff: Re: [css-d] Element alignment.
> bruce.som...@web.de wrote: > > > I would appreciate it, if someone would look at > > http://www.maireadnesbitt.com/initial.html > > > > The page has three columns: leftcontent, centercontent and > > rightcontent. Why does the centercontent not begin at the top of > > the window? > > Because of there being 'things' before the columns inside the <body> > element. > > > centercontent has no top margin, while rightcontent has a top > > margin of 25 px. Why do they line up vertically, nonetheless? > > The top margin of the right content is overlapping the space that is > caused by said 'things'. > > > There are 3 characters,  , at the top left of the window, whose > > origin escapes me. They are not found anywhere in the HTML-file. > > Has anyone seen such an occurence? > > That is something called "UTF-8 BOM". Your editor puts it in there I > think. Choose an editor that doesn't add it, or one where you can > choose to add or not add it. Personally I use TextPad (only on > Windows), which has a tickbox for it, which I untick. > > The second thing that probably takes up space above your columns, is > your <style> element. This belongs inside the <head> of your document, > not in the <body>. > > > Thanks for any tips. > > You're welcome :-) > > -- > Els > > What sort of 'things' can be within the body-element before the columms? From where? The style-element IS contained within the head-element: <head> ... <style> ... </style> ... </head> ... <body> ... I wonder why a BOM is being inserted with "text/html; charset=us-ascii" . Bruce ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/