PDA

View Full Version : What is the font and style and alignment here?


gorilla1
09-16-2002, 04:42 AM
In the code below, two questions: 1) Can anyone identify the font and font size used in the directory (the reason I ask is that if I try use a table, the font and font size seems to change, and I want to keep it.
2) If I were writing this directory listing out using php to get the directory entries, can I keep the column directories alligned without using tables and how would I do it?

G
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>Index of /Wkp/2002-09-09</TITLE>
</HEAD>
<BODY>
<H1>Index of /Wkp/2002-09-09</H1>
<PRE><IMG SRC="/icons/blank.gif" ALT=" "> <A HREF="?N=D">Name</A> <A HREF="?M=A">Last modified</A> <A HREF="?S=A">Size</A> <A HREF="?D=A">Description</A>
<HR>
<IMG SRC="/icons/back.gif" ALT="[DIR]"> <A HREF="/Wkp/">Parent Directory</A> 09-Sep-2002 18:07 -
<IMG SRC="/icons/image2.gif" ALT="[IMG]"> <A HREF="zzz.gif">zz zzzzzz-19.gif</A> 08-Sep-2002 11:56 19k
<IMG SRC="/icons/image2.gif" ALT="[IMG]"> <A HREF="xxx.gif">xxx xxxxx-9.gif</A> 08-Sep-2002 11:50 17k
<IMG SRC="/icons/image2.gif" ALT="[IMG]"> <A HREF="yyy.gif">yyy yyyyyy-1118.gif</A> 08-Sep-2002 11:49 24k
<IMG SRC="/icons/image2.gif" ALT="[IMG]"> <A HREF="yyy.gif">yyy yffff</A> 08-Sep-2002 11:49 24k
</PRE><HR>
<ADDRESS>Apache/1.3.22 Server at xyz.com Port 80</ADDRESS>
</BODY></HTML>

Nightfire
09-16-2002, 04:47 AM
For the stylsheet, add

td{
font-size:10px;
etc etc
}

gorilla1
09-16-2002, 02:37 PM
Nightfire,
Thanks, though 10px was much too small. I went all the way to 20px before it got close. But the font itself is not right. By the way, what I am trying to do here is get the font and font size used by apache when you open a directory under it. Maybe the thread should be moved there?
G