Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: Newbie Question  (Read 297 times)
0 Members and 1 Guest are viewing this topic.
WCB
Guest
« on: July 21, 2003, 02:56:00 PM »

Like the program!
Quick question: how do I CENTER the text of the header and footer of the default template?

Thanks

Logged
Alvy
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #1 on: July 21, 2003, 04:27:00 PM »

I would open template ie.(calendarscript/templates/calendars/default/default.html)

And look at the top for the line
   <% if ($_HEADER) { %><TR><TD COLSPAN="2"><SPAN CLASS="headertext"><%= $_HEADER %></SPAN></TD></TR><% } %>

And change it to    
   <% if ($_HEADER) { %><TR><TD COLSPAN="2"><SPAN CLASS="headertext"><CENTER><%= $_HEADER %></CENTER></SPAN></TD></TR><% } %>


Similarly at the bottom look for
<% if ($_FOOTER) { %><TR><TD COLSPAN="2"><%= $_FOOTER %></TD></TR><% } %>

and change to
<% if ($_FOOTER) { %><TR><TD COLSPAN="2"><CENTER><%= $_FOOTER %></CENTER></TD></TR><% } %>


I believe that will do it.

Alvy

------------------

Logged
eladyar
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #2 on: July 21, 2003, 07:14:00 PM »

The template uses an external CSS file called style.css. You can edit the classes there. It is in the template directory.

This will effect any of the templates that use the file.

If you want to change the appearance of other parts of the template you can change their look in style.css also.

------------------
Dale Ray
http://www.sscsoftball.org

Logged

WCB
Guest
« Reply #3 on: July 22, 2003, 02:35:00 PM »

Thanks -- that is the help I needed.
I had not yet begun playing with the templates but this will get me started.

Walt

Logged
Pages: [1]   Go Up
Print
Jump to: