Tips for making CSS stylesheets work on NF

First, you have to know how to use a stylesheet to format an HTML page in at least a general way. I can’t get into that here.

Put the link at the top of your listing edit textarea.
<link rel="stylesheet" type="text/css"
href="http://stylesheeturl">

The reason why the <h1> tag doesn’t work anymore is because Niteflirt has commandeered it in its stylesheet and assigned it to be gray 7 pixel. The only way to reassign it in a stylesheet is to take advantage of the fact that your entire listing is within a table cell with the class of “user”. The best way to change that default is to take advantage of that class:

.user h1 {
    color:black;
    font-weight:bold;
    size: 1.5em;
    font-family:georgia,garamond;
    text-align: center;
}

This will produce a heading that is big, black, bold, centered, and has the font I have chosen.

You really need to work with the “user” class, your own classes, or your own id’s within your listing, or you can seriously break the page by changing global defaults.

0 comments ↓

There are no comments yet...Kick things off by filling out the form below.

You must log in to post a comment.