Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default alt="" - Can I define the font?

    Sorry if this is bone-headed but I've just about completed a cool page using a pretty slick JS sequential image gallery and the font sucks! Unfortunetly I don't know an alt tag from an old shoe.

    OK, here's the code:

    HTML Code:
    <a href="http://www.beadedlily.com/images/Add/Javascript/homepage/FrogJS1.1/images/newhome.jpg" title="Organic Oval - Our own production" rel="">
    <img src="http://www.beadedlily.com/images/Add/Javascript/homepage/FrogJS1.1/images/newhome_thumb.jpg" alt="This font sucks!" />
    </a>
    Is it possible to define the alt="This font sucks!" example text? Can I plop in something like this:

    HTML Code:
    <font face="Georgia" color="#551A8B" size="4">
    If so, where exactly? My attempts so far have proved fruitless.

    Any pointers would be much appreciated!

    Tim

  2. #2
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: alt="" - Can I define the font?

    I'm not positive, meltdown, but I think you'll have to do this from your stylesheet, won't you?
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  3. #3
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default Re: alt="" - Can I define the font?

    Quote Originally Posted by Get Em Fast View Post
    I'm not positive, meltdown, but I think you'll have to do this from your stylesheet, won't you?
    Hmmm... OK. How would I call it? Or how do I specifically define this group of text? Does one use the div id?

    Hey, it does have it's own css in the header. Take a look:

    HTML Code:
    <html>
    
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <meta http-equiv="Content-Language" content="en-us">
    <title>New Page 4</title>
    
    <script type="text/javascript" src="http://www.beadedlily.com/images/Add/Javascript/homepage/FrogJS1.1/scripts/prototype.js"></script>
    <script type="text/javascript" src="http://www.beadedlily.com/images/Add/Javascript/homepage/FrogJS1.1/scripts/scriptaculous.js?load=effects"></script>
    <script type="text/javascript" src="http://www.beadedlily.com/images/Add/Javascript/homepage/FrogJS1.1/scripts/frog.js"></script>
    
    <style type="text/css">
    #FrogJS{
    width: 700px;
    height: 600px;
    margin: 0 auto;
    }
    #FrogJSCredit{
    text-align: right;
    font-size: 80%;
    color: #999;
    padding: 1px;
    }
    #FrogJSCaption{
    text-align: left;
    line-height: 140%;
    }
    </style>
    
    </head>
    But this is defining a small bit of text that give photo credit. Maybe I could add some magical css text there! (But what...?!? )

  4. #4
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: alt="" - Can I define the font?

    Something like this, maybe:

    font-family: Georgia;
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  5. #5
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: alt="" - Can I define the font?

    Without seeing the page and what the alt is doing it is hard to say for sure - The URL?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  6. #6
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default Re: alt="" - Can I define the font?

    Sorry - I hadn't yet uploaded it, as it is an imcomplete page. Here it is:

    Testpage

    The text area I'm speaking of is indicated as such:
    This is the font area I'm speaking of...
    Thanks
    Last edited by MeltDown; 19 May 2007 at 04:03 PM. Reason: just because

  7. #7
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default Re: alt="" - Can I define the font?

    Sorry - typo: here you go

    testpage

  8. #8
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: alt="" - Can I define the font?

    O.k. meltdown, that makes it sooooo much easier, since it's an html page, that makes it even easier to work with.

    just add:

    <font="Georgia"> and </font> to each one to make it look like:

    <font="Georgia"><a href="http://www.beadedlily.com/images/Add/Javascript/homepage/FrogJS1.1/images/newhome.jpg" title="Organic Oval - Our own production" rel="">
    <img src="http://www.beadedlily.com/images/Add/Javascript/homepage/FrogJS1.1/images/newhome_thumb.jpg" alt="This is the font area I'm speaking of...">
    </a></font>

    I think that will fix you up.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  9. #9
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default Re: alt="" - Can I define the font?

    Hello again - Thanks for your help.

    It didn't seem to affect the text at all. You can see here:
    testpage

    I tried many different configurations using the <font="Georgia"> and </font> but no love. It kind of surprises (and annoys) me that they created this cool JS toy but dropped the ball on the font. I can't imagine anyone who would go with that junky text. It seems to me there must be a way to do this, right?!

  10. #10
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default Re: alt="" - Can I define the font?

    Quote Originally Posted by Get Em Fast View Post
    I'm not positive, meltdown, but I think you'll have to do this from your stylesheet, won't you?
    I'm begining to think you were right about the stylesheet. I looked at this page in FF's web developer tool to get the id & class details and saw that the text I'm working on is called #FrogJSCaption. That is listed in the css in the header:

    HTML Code:
    #FrogJSCaption{
    text-align: left;
    line-height: 140%;
    }
    Probably all I need to do is properly add the desired font info to this script. I'm unsure exactly how it is to be entered but will play around with it. If anyone know how to do it, please do drop on in.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Securing the Store "define pages" content in "html_includes"
    By sparrowce in forum Basic Configuration
    Replies: 2
    Last Post: 7 Aug 2011, 07:59 PM
  2. How can I change the font size of the "Price" Column?
    By susanshropshire in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 13 May 2009, 08:50 AM
  3. Replies: 1
    Last Post: 27 Jan 2009, 09:17 PM
  4. Font color for the "NEXT" and "PREVIOUS" page
    By zzzoom in forum General Questions
    Replies: 1
    Last Post: 6 Jul 2008, 04:36 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR