|
Posted by mouse on 09/26/18 11:52
On Sun, 09 Jul 2006 23:19:36 GMT, "Beauregard T. Shagnasty"
<a.nony.mous@example.invalid> wrote:
>mouse@house.spam wrote:
>
>> I require some HTML which will draw a rectangular box with some small
>> text in it (e.g. an email message which is being quoted apart from
>> the rest of the text). The box should have a thin black boundary, and
>> a light grey background to make the text distinctive from what it
>> outside the box.
>>
>> I would guess that a <TABLE> would have to be used with one entry and
>> some form of table entry background colour selection would be
>> necessary. Can people offer wise words on the tags and design choices
>> for such an element? Or are there examples on the web which come to
>> mind, so I can steal their code? Thank you.
>
>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.
Chris Johnson's DIV works great.
[Back to original message]
|