I found a technique for including plaintext files on the website using PHP, but you have to have the "pre" tags in place to get the line breaks. The issue is that no matter how many times I change attributes for this tag in CSS none of them work.
Does anyone have any clues?
Thanks
<pre> tag doesn't change with CSS
Can you place span tags inside the Pre tags around all the text - if so give the span tags a "class" and then try applying css against the class.
I am not sure, but as pre is for pre-formatted text, maybe you can not apply css against the pre tag. I do know you can have
<pre><b>test bold</b> and not bold</pre>
and it works, which led to my suggestion above.
good Luck
Day
<pre> tag doesn't change with CSS
Tried the tags inside too and nothing. What does work is if you use full blown HTML tags inside the pre as you said, which begs me to wonder why CSS class tags don't work.
Thanks anyway.
<pre> tag doesn't change with CSS
There is no reason why you should not be able to format pre tags using css.
You should be able to format font, size, color etc.
css
pre {font-family:verdana, sans-serif; font-size:0.8em; color:#c00;}
<pre> tag doesn't change with CSS
best to give us a link so we can see the code
Regards
Day