You are here: Re: box with text with grey background « HTML « IT news, forums, messages
Re: box with text with grey background

Posted by mouse on 09/26/12 11:52

On Mon, 10 Jul 2006 12:28:57 GMT, "Beauregard T. Shagnasty"
<a.nony.mous@example.invalid> wrote:

>mouse@house.spam wrote:
>
>> On Sun, 09 Jul 2006 23:19:36 GMT, "Beauregard T. Shagnasty"
>> <a.nony.mous@example.invalid> wrote:
>>
>>> Sounds like the perfect use of a <blockquote>. I've used it on a
>>> number of pages, including this one:
>>> http://k75s.home.att.net/tips.html
>>>
>>> Styling in the CSS. Pick your own colors:
>>> http://k75s.home.att.net/style/shag.css
>>
>> It's strange because while blockquote works on your webpage, when I
>> try to code an elementary example it doesn't work for me, it indents
>> but there is no border. Does the;
>>
>> <style type="text/css">
>> cite {margin: 0 3em; padding-top: 0; }
>> h2 { margin-top: 1.5em; }
>> p, ol, ul, blockquote { max-width: 40em; font-family: "Trebuchet MS",
>> sans-serif; }
>> </style>
>>
>> at the beginning of the file have anything to do with your blockquotes
>> having borders? As you can see I'm a bit of an html newbie.
>
>The border comes from the CSS file:
>
>blockquote {
> background: #f9f9f9 none;
> border: solid #696 1px;
> clear: both;
> color: #000;
> margin: 0 0 0 2em;
> padding: 0.5em;
>}
>blockquote p {margin: 0; }

Your code works very well, thank you.

 

Navigation:

[Reply to this 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

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