Posted by Jukka K. Korpela on 11/02/07 09:04
Scripsit Reshma:
> I am new to HTML and CSS.
Then read a good book on them, starting from HTML.
> I came across this block of code, .link{
> color:#269;
> display:block;
> margin:4px 0 0 0;
> padding:2px 1em;
> }
Just ignore it.
> I am wondering what is the equivalent hex code for the color:#269 in
> the above.
What's the point in asking it here? If you tried to learn math, would you
frequent Usenet groups, asking people to tell you how much 16 + 68 is?
The point is that virtually any tutorial on CSS (even the crappy ones) tell
you the various ways to specify colors and how they relate. Did you intend
to manage without reading a single tutorial? Well, then you will probably
copy and imitate crappy code like the one you quoted (apparently setting
some links to a fixed color without setting background).
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
[Back to original message]
|