Reply to Re: <div> withut linefeed?

Your name:

Reply:


Posted by Els on 07/31/05 16:04

Frogleg wrote:

> How can I get a 'div' with no top margin? Or is there a better method
> for doing this? Example of problem at:
>
> http://home.earthlink.net/~absolutelyfake/test.htm

That /is/ a div without a top margin ;-)
It's a page with a top padding though. Either on <html> or <body> -
fiddle to find the culprit :-)

Why are you mixing HTML and CSS for the look though? I'd change
'bgcolor' to background-color to go inside the style attribute, and
align:center on the div seems superfluous, as you already set a width
and a left and right margin in the style too.

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Status Quo - ROADHOUSE - Roadhouse Blues - The Wanderer
- Marguerita Time - Living On An Island - Break The Rules

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация