Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Posts
    656
    Plugin Contributions
    0

    Default tagline and javascript problem/question

    http://www.ashbysonline.com

    I want to have the javascript slide show in my header to be centered between the 2 taglines (yes, tagline and tagline2) Currently, the scripts position is "relative", and i can't for the life of me figure out how to get it to play nice with the 2 taglines.

    Thanks in advance,

    Tom
    I Think, Therefore I Zen. I Zen, Therefore, I AM!
    Personalized Flowers!
    Flowertown Speaking Roses
    using version 1.5.7-06232020

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: tagline and javascript problem/question

    If you have this site as 100% toy might change this to a fixed value like 990px or?
    Try replacing this in your stylesheet with this:
    Code:
    #tagline {color:#0000cc;
    font-size: 4.0em;
    font-family: monotype corsiva, lucida console;
    font-weight: bold;
    text-align : center;
    }
    
    #slide1dv {
    margin: .5em 0em 0em 27em;}
    
    #tagline2 {
    margin-top: 10px;
    color:#0000cc;
    font-size: 4.0em;
    font-family: monotype corsiva, lucida console;
    font-weight: bold;
    text-align : center;
    }

  3. #3
    Join Date
    Feb 2006
    Posts
    656
    Plugin Contributions
    0

    Default Re: tagline and javascript problem/question

    I copied everything exactly except I had to change #slide1dv {
    margin: .5em 0em 0em 27em;} to #slide1dv {
    margin: .5em 0em 0em 17em;} in order for the script to appear centered.

    Thanks so much for your reply and help.
    I Think, Therefore I Zen. I Zen, Therefore, I AM!
    Personalized Flowers!
    Flowertown Speaking Roses
    using version 1.5.7-06232020

  4. #4
    Join Date
    Feb 2006
    Posts
    656
    Plugin Contributions
    0

    Default Re: tagline and javascript problem/question

    Ok, that solution is the first thing that has had any significant effect, however, it looks very different in different resolutions. Is there anyway to center the script so that it is centered no matter what resolution, or screen size is used?
    I Think, Therefore I Zen. I Zen, Therefore, I AM!
    Personalized Flowers!
    Flowertown Speaking Roses
    using version 1.5.7-06232020

  5. #5
    Join Date
    Feb 2006
    Posts
    656
    Plugin Contributions
    0

    Default Re: tagline and javascript problem/question

    Code:
    #slide1dv {margin-left: auto; margin-right: auto;}
    I googled the problem and found this solution. It works PERFECTLY!!

    Using auto for the margins, both left and right, forces the image to center, no matter what browser, or resolution you use.
    I Think, Therefore I Zen. I Zen, Therefore, I AM!
    Personalized Flowers!
    Flowertown Speaking Roses
    using version 1.5.7-06232020

 

 

Similar Threads

  1. v151 Javascript problem, conflicts with my IH4 and Zen Lightbox plugins
    By Feznizzle in forum All Other Contributions/Addons
    Replies: 11
    Last Post: 15 Jul 2013, 09:48 PM
  2. v151 Problem with ceon and add a javascript in product page...
    By onlysteg in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 31 Jan 2013, 10:32 PM
  3. Tagline and extra space I want tagline no extras
    By cshart in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 May 2008, 11:39 PM
  4. Add a Live Chat Javascript in the Tagline
    By gems14k in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 23 Nov 2006, 06:46 PM
  5. javascript links question and strange look
    By EVerlastx1 in forum General Questions
    Replies: 0
    Last Post: 8 Oct 2006, 05:35 PM

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