Reply to Re: Problem with margins

Your name:

Reply:


Posted by Beauregard T. Shagnasty on 09/10/06 02:57

Luigi Donatello Asero wrote:

> "Luigi Donatello Asero" <jaggillarfotboll@telia.com> skrev i meddelandet
> news:0DKMg.15986$E02.6185@newsb.telia.net...
>>
>> "Beauregard T. Shagnasty" wrote:
>>> Notice your page svezia.html has a horizontal scrollbar.
>>
>> Yes, it does.
>>
>>> This is caused by some mistake in your style sheet. Not the fact
>>> that it itself has long lines, but because some margin is set too
>>> wide.
>>>
>>> At the moment, your server is down.
>>
>> Well, actually, I could access the website myself. So, why do you
>> think that the server was down? Did you happen to e-mail me?
>>
>>> "Server not found Firefox can't find the server at
>>> www-scaiecat-spa-gigi.com."
>>
>> I can enter the website.

I still can't.

>> Which ip-number did you use?

What difference does that make? Probably 24.169.153.44

> So, did you mean that I should write the long lines, like that, instead?
> #arredamento-articoli-da-regalo.subsubsection a
> { background-color: #cccccc;
> background-image:none;
> color:#000000;
> display: block;
> text-align:center;}

Yes, only more carefully formatted.

#arredamento-articoli-da-regalo.subsubsection a {
background-color: #cccccc;
background-image:none; <--- defaults can be eliminated
color:#000000;
display: block;
text-align:center;
}

Notice the braces are on the first and last line (not mixed with the
attributes), and each one is indented the same amount. I prefer three
spaces, or one tab. (You see, I am a retired programmer.)

You also use very long names for your classes and ids. Surely the words
can be condensed.

--
-bts
-Motorcycles defy gravity; cars just suck.

[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

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