I just finished a Java-based tool for radiation beam modelling. Later I will put some GUI codes in this blog.
Recently I am trying to build website by myself. I know some simple CSS for web coding, but to make a beautiful website I have to study it again.
From
W3C, you can have some idea about it.
There is class in style sheet, but it is not the class as in C++/Java. It starts with '.' (dot) and follows the name of the class, for example,
p.right {text-align: right}
p.center {text-align: center}
Used in HTML,
< p class="right" >
This paragraph will be right-aligned.
</p>
<p class="center">
This paragraph will be center-aligned.
</p>
If a class has no tag name, it could be used by any tag. If '#' starts before a name, it is an id selector and used with id in HTML.