Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Page 1 of 2 12 LastLast
Results 1 to 15 of 16

This is a discussion on i got the guestbook to work but.. in the Shared & Semi-Dedicated forum
the letters on it are huge.. check it: http://empireofhouse.com/cgi-sys/gue...ser=emp ireof is there someway to make the letters smaller.. also.. can i contain it in a ...

  1. #1
    JPC Member
    Join Date
    Mar 2003
    Location
    orlando
    Posts
    13

    i got the guestbook to work but..

    the letters on it are huge..

    check it: http://empireofhouse.com/cgi-sys/gue...ser=emp ireof


    is there someway to make the letters smaller..
    also.. can i contain it in a table.. because when i sign it with a longer email address .. it moved my whole table.. and makes my page look broken up..

    help..

    maria

  2. #2
    Loyal Client
    Join Date
    Sep 2001
    Location
    Wichita, KS
    Posts
    1,647
    Yes, there is a way to make them smaller. Right now, I can't really help because my web browser is acting up, but give me a few hours and bump the thread and I'll beable to help you.

  3. #3
    JPC Member
    Join Date
    Mar 2003
    Location
    orlando
    Posts
    13
    awesome.. thanks,
    maria

  4. #4
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    I've doing this with style sheets lately; specifically CSS. Takes a little getting used to, but they are the way to go IMHO. This is the editor I've been using. Makes the job a LOT easier...

    http://www.bradsoft.com/topstyle/
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  5. #5
    JPC Member
    Join Date
    Mar 2003
    Location
    orlando
    Posts
    13

    hm..

    i use stylesheets for my site..
    but.. its not taking what is in the cgi bin???

    where do i need to put my css code so that itwill work?

    maria

  6. #6
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    The cgi-bin is a special directory where the server tries to execute anything that's inside of it. Therefore you can only put actual scripts in it. You'll need to put your css files in a different location, I recommend a directory in your public_html called css. Then, in your scripts where you reference the css file put "../css/file.css"--the ".." means back up one directory, putting you back into public_html.

    Hope this helps.

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  7. #7
    JPC Member
    Join Date
    Mar 2003
    Location
    orlando
    Posts
    13

    still need help

    hm.. that is where they are at right now..
    in the public directory..

    and in my code for the message board i put...

    <link rel="stylesheet" href="http://www.empireofhouse.com/empire.css" type="text/css">


    i just went and added this to the code as well..
    no change???



    <!--- Don't modify the cgi tag --->
    <span class="empire">
    <cgi> </span>
    <!--- Don't modify the cgi tag --->


    do i need to go into the script?? i can't seem to find it either?

  8. #8
    Loyal Client
    Join Date
    Sep 2001
    Location
    Wichita, KS
    Posts
    1,647
    it is probably a hard coded font tag somewhere in the script. If you can figure out which tag they are using, you may be able to overwrite the style of the tag in CSS.

  9. #9
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    The Matt's Script Archive Guestbook, which the CP one is based on, was written long before there was such a thing as CSS. In those days we mixed content and style in the HTML without thinking about it. I'm sure Matt's guess above is correct. You may have some trouble customizing it without hacking at the Perl code.

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  10. #10
    Loyal Client
    Join Date
    Sep 2001
    Location
    Wichita, KS
    Posts
    1,647
    Oh, well matt's scripts have pretty obvious HTML sections, it shouldn't be too hard...

  11. #11
    JPC Member
    Join Date
    Apr 2003
    Posts
    17

    cgi

    when i go to my cgi bin.. i don't see the perl script???

    is that where it is? how come I can't see it??

    maria

  12. #12
    JPC Member
    Join Date
    Apr 2003
    Posts
    17

    more questions..

    i submitted a ticket.. and this was my answer..
    so basically i can not access the file in the cgi folder... has anyone used this before and changed the text font??

    any ideas??

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

    Hi Maria,

    The guestbook.cgi script used is a serverwide one in /cgi-sys/ and will
    not be there in the cgi-bin. Also this is a binary script and no
    changes can mbe made to it.

    Regards,
    Veena

  13. #13
    Loyal Client
    Join Date
    Sep 2001
    Location
    Wichita, KS
    Posts
    1,647
    maybe you can parse the output of it and kill the stuff you don't want?

  14. #14
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Um... it's not quite that easy. You have to build a CSS file with, say, a CLASS called , say, GUESTBOOK. You decide what font face, type, size, color and so forth you want to use. Then you save it in a CSS file. Example:
    Code:
    .guestbook{font-size: 16px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: #000066;
    } 
    Then, in your script, you still need to use tags to change the look, but instead of spelling the whole thing out every time, all you do is use, like:
    Code:
     <font class="guestbook">
    
     or...
    
    <p class=”guestbook”>
    Everything else is pretty much as described above.

    Really, if you've never done style sheets before, you should read up on them a little before attempting them. Once you get used to CSS it's a piece of cake, but like most things, it's a steep learning curve at first...
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  15. #15
    Loyal Client
    Join Date
    Sep 2001
    Location
    Wichita, KS
    Posts
    1,647
    I'm pretty sure he know CSS, look at the site

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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