INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Font Size in Noire Viz Track Info visualization  (Read 2388 times)

greatgreyowl

  • Recent member
  • *
  • Posts: 34
Font Size in Noire Viz Track Info visualization
« on: February 13, 2015, 06:25:53 pm »

Trying to change the font size of the Comment line in the Noire Viz track info visualization. Have created a new folder, copied over all the files to the new folder and made the change below to the file Notes.html. The font is not changing in Display View though. Either my syntax is wrong or I am changing it in the wrong file?
<td class="trackb" valign="top"><fontsize="40">TRACKINFO_INSERT_COMMENT</td>
Logged

nelsonhf

  • Recent member
  • *
  • Posts: 6
Re: Font Size in Noire Viz Track Info visualization
« Reply #1 on: February 27, 2015, 03:42:48 pm »

You probably should be using styles. I also modified Noire and my files look like:

index.html:

Code: [Select]
<tr><td colspan="2"><span class="artist">TRACKINFO_INSERT_ARTIST</span></td></tr>
<td class="fieldValue" valign="top">TRACKINFO_INSERT_PN_POSITION <span class="smaller">of TRACKINFO_INSERT_PN_TRACKS</span></td>


main.css:

Code: [Select]
.artist
{
font-size: 35px;
font-weight: bold;
color: silver;
padding-left: 4px;
padding-right: 4px;
}
.smaller
{
font-size:75%;
font-weight:normal;
}


Of course, there is much more in both files than that, but these are examples of how to set an absolute and a relative size, among other properties.

If you don't already know CSS, the official specification can be found at http://www.w3.org/TR/CSS21/ (dry as any specification, though...)

Good luck!
Logged
Pages: [1]   Go Up