Re: CSS


[ Follow Ups ] [ Post Followup ] [ Previous # Next ] [ Start New Thread ] [ TarBoard ]

Posted by Jock on October 05, 2005 at 23:56:06 from 84.69.115.112 user Jock.

In Reply to: CSS posted by John on October 04, 2005 at 00:44:02:

John, you say

In CSS your warning code is a lot shorter and neater. msg.19059

CSS is easy. Copy the line out of the web site and stick it into the box marekd comments on Ian's site. It works well. To change colour just pick one of the standard names red black, cyan etc. msg.19042

Well... I rather fancied the white font on blue background that you used in msg.19043. It would make my health warning look really good and perhaps earn me a few extra points for keeping up with the teacher.

So... I fired up Mozilla (I normally use Firefox for reading Tarboard) went to your message and carefully lifted the following code:

'p
style="background: blue none repeat scroll 0%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; color: white;">A
new background and font color with inline CSS'/p'

Trouble was it didn't work and I just couldn't see why. So I took the lazy way out and prepared my health warning in HTML.

I have now gone back to the tizag tutorial and cut and pasted from their code example.

This time it worked !

So it would appear that the Mozilla editor can corrupt code. This would probably explain why WWW pages that I prepare using a high level WYSIWYG design program go absolutely beserk when I try making small changes to their the HTML code (such as changing links) using Mozilla.

So John I've kept my promise about trying CSS albeit a couple of days late, and Jon I'm ready now (I think) for tables.

PS. I'm sorry Jon for trying to send you down a mine it was getting late and I got muddled up. I'm back in the UK and the ethyl alcohol level is falling dangerously low.




Follow Ups:



Post a Followup

Name:
Eel-Mail:

Existing subject (please edit appropriately) :

or is it time to start a New Thread?

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

post direct to TarBoard test post first

Before posting it is necessary to be a registered user.


[ Follow Ups ] [ Post Followup ] [ TarBoard ]

Courtesy of Environmental Science, Lancaster

space