Font problems with upload pages.

M

Mary Ann Hailey

I have several webpages where endusers upload files to a secure website. The
list of the files was going to be long, so I set the font for 8pt and it
worked great. After they uploaded some files, it was determined they needed
the upload date as well. I went into the Category Properties and (checked)
the box for 'Date the file was last modified'. Now the font is too large and
I cannot get it formatted back to 8pt. Any help or direction you can provide
will be very much appreciated.
Thank you so much - you guys are awesome!!!
Mary Ann
 
A

ANONYMOUS

How about formatting it as a DIV like this:

<div style=font-size:0.75em>
<!--webbot bot="Timestamp" S-Type="REGENERATED" S-Format="%d/%m/%Y
%H:%M:%S" -->
</div>
 
M

Mary Ann Hailey

It didn't work for what I needed. Although it did insert the date time
etc..it was the current date rather than the upload date, and inserted it
above the uploaded files list. Because the uploads are done on different
days, I need to have the upload date next to each file. When I checked the
box to include 'Date the file was modified' in the category properties, that
action added the upload date to the right of each file that had been uploaded
AND changed the font size in the process.
 
A

ANONYMOUS

The code I gave you gives you the date and time when the webpage was
last updated (current because you just changed it, otherwise it will be
a historical date in a day's time). Why do you want date & time when it
was uploaded? Am I missing something here?

hth
 
M

Mary Ann Hailey

If I am understanding correctly, when you say the date and time when the
webpage was last updated, you mean because I just modified the
code/republished?

There is a significant timezone difference between the server and the
endusers who upload the files(across the globe). The upload dates are based
on their timezone, which is why it is ideal to use, except for the font
issue.

I had the font the size I needed until I Checked the 'Date the file was last
modified' option box under Category Properties - I had edited the <td> tag
and set the font. Worked great until I checked that option. I have some HTML
experience, but just cannot figure this one out. When I uncheck the box
(Category Properties) and republish, I'm back to the original font size I
need.

Any help or direction you can provide is very much appreciated.
 
R

Ronx

Could you give a link to the page so we can see what is happening? -
preferably with the box in Category Properties checked.

--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.
 
M

Mary Ann Hailey

sorry, I can't - it contains proprietary info. However, here are the HTML
tags code for <td>, <font> <pre> and ,<webbot>
<td align="center" bordercolor="#000080" style="border-left-color: #111111;
border-left-width: 1; border-right-color: #111111; border-right-width: 1;
border-bottom-style: solid; border-bottom-width: 1; font-family:Tahoma;
font-size:8pt; ">
<pre style="margin-top: 0; margin-bottom: 0">
<font size="1" face="Tahoma">
<!--webbot bot="Category" s-categories="607" s-format="title,date"
"title,date" s-sort="date" -->
when unchecked it is:
<td align="center" bordercolor="#000080" style="border-left-color: #111111;
border-left-width: 1; border-right-color: #111111; border-right-width: 1;
border-bottom-style: solid; border-bottom-width: 1; font-family:Tahoma;
font-size:8pt; ">
<font size="1" face="Tahoma">
<pre style="margin-top: 0; margin-bottom: 0">
<!--webbot bot="Category" s-categories="607" s-format="title" "title,date"
s-sort="date" -->

I've compared the code so many times I'm not seeing it straight :)
 
R

Ronx

The difference seems to lie in where the font is defined for the <pre> tag.

In the first case (checked) the font is defined by
<font size="1" face="Tahoma">
placed AFTER the <pre> tag- -so the categories are size 1 and Tahoma.

The unchecked variety has the <font...>tag BEFORE the <pre> tag - this means
that the default font for <pre> is used - usually courier but may have been
modified in a style block attached to your page[1] - but the size is
inherited from the <td> tag.
[1]This is why seeing the whole page helps, we see the whole picture
including all the bits that modify each section.

The <td> tag should be:
<td align="center" bordercolor="#000080" style="border-left-color: #111111;
border-left-width: 1px; border-right-color: #111111; border-right-width:
1px;
border-bottom-style: solid; border-bottom-width: 1px; font-family:Tahoma;
font-size:8pt; ">

Note the border widths are in pixels- required for non-IE browsers.
Additionally, the font-family:Tahoma;
font-size:8pt; could be omitted since font tags overule this.
--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.
 
R

Ronx

Having tried it with some categorised pages, there is an additional problem:
With the date, the markup for the cfile list is different: a table is
created with different columns for the filenames and dates. Without the
date, a simple list of filenames separated by a line break is produced. The
with-dates requires more work.

In the <head> of the page add a style block:

<style type="text/css">
..catgy td {font-family: tomaha,sans-serif;font-size:8pt;text-align:center;}
</style>


and in the page:

<table class="catgy">
<tr>
<td style="border:#111111 solid 1px; border-top:none;">
<!--webbot bot="Category" s-categories="607" s-format="title,date"
"title,date" s-sort="date" -->
</td>
</tr>
</table>

A complete sample page is:



<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Checked</title>
<style type="text/css">
..catgy td {font-family: tomaha,sans-serif;font-size:8pt;text-align:center;}
</style>
</head>

<body>

<table class="catgy">
<tr>
<td style="border:#111111 solid 1px; border-top:none;">
<!--webbot bot="Category" s-categories="607" s-format="title,date"
"title,date" s-sort="date" -->
</td>
</tr>
</table>

</body>

</html>


I would normally caution against using pts for font sizes, since pts are a
printers measure (1/72 inch) and different browsers interpret points in
different ways- FireFox larger than IE, Opera smaller. pts also cannot be
resized easily in IE - important for accessibility issues. However, an
alternative depends on what goes before in the page - other font sizes
affecting this section of the page, doctype, and so on.
--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.



Ronx said:
The difference seems to lie in where the font is defined for the <pre>
tag.

In the first case (checked) the font is defined by
<font size="1" face="Tahoma">
placed AFTER the <pre> tag- -so the categories are size 1 and Tahoma.

The unchecked variety has the <font...>tag BEFORE the <pre> tag - this
means that the default font for <pre> is used - usually courier but may
have been modified in a style block attached to your page[1] - but the
size is inherited from the <td> tag.
[1]This is why seeing the whole page helps, we see the whole picture
including all the bits that modify each section.

The <td> tag should be:
<td align="center" bordercolor="#000080" style="border-left-color:
#111111;
border-left-width: 1px; border-right-color: #111111; border-right-width:
1px;
border-bottom-style: solid; border-bottom-width: 1px; font-family:Tahoma;
font-size:8pt; ">

Note the border widths are in pixels- required for non-IE browsers.
Additionally, the font-family:Tahoma;
font-size:8pt; could be omitted since font tags overule this.
--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.



Mary Ann Hailey said:
sorry, I can't - it contains proprietary info. However, here are the HTML
tags code for <td>, <font> <pre> and ,<webbot>
<td align="center" bordercolor="#000080" style="border-left-color:
#111111;
border-left-width: 1; border-right-color: #111111; border-right-width: 1;
border-bottom-style: solid; border-bottom-width: 1; font-family:Tahoma;
font-size:8pt; ">
<pre style="margin-top: 0; margin-bottom: 0">
<font size="1" face="Tahoma">
<!--webbot bot="Category" s-categories="607" s-format="title,date"
"title,date" s-sort="date" -->
when unchecked it is:
<td align="center" bordercolor="#000080" style="border-left-color:
#111111;
border-left-width: 1; border-right-color: #111111; border-right-width: 1;
border-bottom-style: solid; border-bottom-width: 1; font-family:Tahoma;
font-size:8pt; ">
<font size="1" face="Tahoma">
<pre style="margin-top: 0; margin-bottom: 0">
<!--webbot bot="Category" s-categories="607" s-format="title"
"title,date"
s-sort="date" -->

I've compared the code so many times I'm not seeing it straight :)
 
M

Mary Ann Hailey

This resolved it wonderfully - thank you so very much! You are awesome!!!!

Ronx said:
Having tried it with some categorised pages, there is an additional problem:
With the date, the markup for the cfile list is different: a table is
created with different columns for the filenames and dates. Without the
date, a simple list of filenames separated by a line break is produced. The
with-dates requires more work.

In the <head> of the page add a style block:

<style type="text/css">
..catgy td {font-family: tomaha,sans-serif;font-size:8pt;text-align:center;}
</style>


and in the page:

<table class="catgy">
<tr>
<td style="border:#111111 solid 1px; border-top:none;">
<!--webbot bot="Category" s-categories="607" s-format="title,date"
"title,date" s-sort="date" -->
</td>
</tr>
</table>

A complete sample page is:



<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Checked</title>
<style type="text/css">
..catgy td {font-family: tomaha,sans-serif;font-size:8pt;text-align:center;}
</style>
</head>

<body>

<table class="catgy">
<tr>
<td style="border:#111111 solid 1px; border-top:none;">
<!--webbot bot="Category" s-categories="607" s-format="title,date"
"title,date" s-sort="date" -->
</td>
</tr>
</table>

</body>

</html>


I would normally caution against using pts for font sizes, since pts are a
printers measure (1/72 inch) and different browsers interpret points in
different ways- FireFox larger than IE, Opera smaller. pts also cannot be
resized easily in IE - important for accessibility issues. However, an
alternative depends on what goes before in the page - other font sizes
affecting this section of the page, doctype, and so on.
--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.



Ronx said:
The difference seems to lie in where the font is defined for the <pre>
tag.

In the first case (checked) the font is defined by
<font size="1" face="Tahoma">
placed AFTER the <pre> tag- -so the categories are size 1 and Tahoma.

The unchecked variety has the <font...>tag BEFORE the <pre> tag - this
means that the default font for <pre> is used - usually courier but may
have been modified in a style block attached to your page[1] - but the
size is inherited from the <td> tag.
[1]This is why seeing the whole page helps, we see the whole picture
including all the bits that modify each section.

The <td> tag should be:
<td align="center" bordercolor="#000080" style="border-left-color:
#111111;
border-left-width: 1px; border-right-color: #111111; border-right-width:
1px;
border-bottom-style: solid; border-bottom-width: 1px; font-family:Tahoma;
font-size:8pt; ">

Note the border widths are in pixels- required for non-IE browsers.
Additionally, the font-family:Tahoma;
font-size:8pt; could be omitted since font tags overule this.
--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.



Mary Ann Hailey said:
sorry, I can't - it contains proprietary info. However, here are the HTML
tags code for <td>, <font> <pre> and ,<webbot>
<td align="center" bordercolor="#000080" style="border-left-color:
#111111;
border-left-width: 1; border-right-color: #111111; border-right-width: 1;
border-bottom-style: solid; border-bottom-width: 1; font-family:Tahoma;
font-size:8pt; ">
<pre style="margin-top: 0; margin-bottom: 0">
<font size="1" face="Tahoma">
<!--webbot bot="Category" s-categories="607" s-format="title,date"
"title,date" s-sort="date" -->
when unchecked it is:
<td align="center" bordercolor="#000080" style="border-left-color:
#111111;
border-left-width: 1; border-right-color: #111111; border-right-width: 1;
border-bottom-style: solid; border-bottom-width: 1; font-family:Tahoma;
font-size:8pt; ">
<font size="1" face="Tahoma">
<pre style="margin-top: 0; margin-bottom: 0">
<!--webbot bot="Category" s-categories="607" s-format="title"
"title,date"
s-sort="date" -->

I've compared the code so many times I'm not seeing it straight :)

:

Could you give a link to the page so we can see what is happening? -
preferably with the box in Category Properties checked.

--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.



message
If I am understanding correctly, when you say the date and time when
the
webpage was last updated, you mean because I just modified the
code/republished?

There is a significant timezone difference between the server and the
endusers who upload the files(across the globe). The upload dates are
based
on their timezone, which is why it is ideal to use, except for the
font
issue.

I had the font the size I needed until I Checked the 'Date the file
was
last
modified' option box under Category Properties - I had edited the <td>
tag
and set the font. Worked great until I checked that option. I have
some
HTML
experience, but just cannot figure this one out. When I uncheck the
box
(Category Properties) and republish, I'm back to the original font
size I
need.

Any help or direction you can provide is very much appreciated.

:

The code I gave you gives you the date and time when the webpage was
last updated (current because you just changed it, otherwise it will
be
a historical date in a day's time). Why do you want date & time when
it
was uploaded? Am I missing something here?

hth




Mary Ann Hailey wrote:

It didn't work for what I needed. Although it did insert the date
time
etc..it was the current date rather than the upload date, and
inserted
it
above the uploaded files list. Because the uploads are done on
different
days, I need to have the upload date next to each file. When I
checked
the
box to include 'Date the file was modified' in the category
properties,
that
action added the upload date to the right of each file that had been
uploaded
AND changed the font size in the process.

:



How about formatting it as a DIV like this:

<div style=font-size:0.75em>
<!--webbot bot="Timestamp" S-Type="REGENERATED" S-Format="%d/%m/%Y
%H:%M:%S" -->
</div>


Mary Ann Hailey wrote:



I have several webpages where endusers upload files to a secure
website. The
list of the files was going to be long, so I set the font for 8pt
and
it
worked great. After they uploaded some files, it was determined
they
needed
the upload date as well. I went into the Category Properties and
(checked)
the box for 'Date the file was last modified'. Now the font is too
large and
I cannot get it formatted back to 8pt. Any help or direction you
can
provide
will be very much appreciated.
Thank you so much - you guys are awesome!!!
Mary Ann




.



.

.
.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top