Hi
tried code but since I am using lots of these to highlight etc key words
it mucks up, anyway
I got it working using
pre.samplecode
{
border-style: solid solid solid solid;
border-width: thin thin thin thin;
float: left;
visibility: visible;
height: auto;
background-color: white;
font-family: monospace;
position: relative;
padding-left: 2pt;
width: 50em;
Font-style: normal;
Border-color: black;
}
the problem now is I wanted the text to wrap around this this, which it does
but I can't gt padding to give some space between, I uploaded the file
if anyone cares to look
adrian
Alan J. Flavell wrote:
[color=blue]
> On Wed, 17 Aug 2005, Michael Stemper wrote:
>
>[color=green]
>> I'd think that sample code would be better placed in a <CODE> element
>> than in a <PRE> element.[/color]
>
>
>
> Maybe I'll provoke some hefty counterblast for this, but if it's the[/color]
kind of code that's conventionally presented in a fixed format, I
wouln't be shy to mark it up with <pre> *and* <code>.[color=blue]
>[/color]
tried code but since I am using lots of these to highlight etc key words
it mucks up, anyway
I got it working using
pre.samplecode
{
border-style: solid solid solid solid;
border-width: thin thin thin thin;
float: left;
visibility: visible;
height: auto;
background-color: white;
font-family: monospace;
position: relative;
padding-left: 2pt;
width: 50em;
Font-style: normal;
Border-color: black;
}
the problem now is I wanted the text to wrap around this this, which it does
but I can't gt padding to give some space between, I uploaded the file
if anyone cares to look
adrian
Alan J. Flavell wrote:
[color=blue]
> On Wed, 17 Aug 2005, Michael Stemper wrote:
>
>[color=green]
>> I'd think that sample code would be better placed in a <CODE> element
>> than in a <PRE> element.[/color]
>
>
>
> Maybe I'll provoke some hefty counterblast for this, but if it's the[/color]
kind of code that's conventionally presented in a fixed format, I
wouln't be shy to mark it up with <pre> *and* <code>.[color=blue]
>[/color]
Comment