Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Posts
    553
    Thanks
    0
    Thanked 0 Times in 0 Posts

    What is the font and style and alignment here?

    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>

  • #2
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    For the stylsheet, add

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

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Posts
    553
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •