Header Code Question

Discussion in 'Web Development and Programming' started by drumming207, Jan 25, 2010.

  1. drumming207

    drumming207 Adept

    Joined:
    Jun 10, 2009
    Messages:
    133
    Likes Received:
    10
    I am trying to put some text underneath my "Spine Patient Society" logo on my WordPress homepage.

    I have this code so far

    <span style="font-family:georgia;color:#0000cc;font-size:small">An Educational and Support Community for Spine Patients - Part of the Spine Patient Foundation</span>

    but it is making the text look like this:

    An Educational and Support
    Society for Spine Patients
    - Part of the Spine Patient Foundation

    and I want it to "justify" horizontal without any returns like this:

    An Educational and Support Society for Spine Patients - Part of the Spine Patient Foundation

    What am I missing in my code to do this?

    Thanks!
     
  2. Webmist

    Webmist Champion

    Joined:
    Jan 30, 2008
    Messages:
    305
    Likes Received:
    18
    Location:
    US
    First Name:
    Jen
    As CSS 3 is when text-align: justify was added and some browsers don't see it you're best bet is to use something like the following.

    text-align: center; font-family: georgia; color:#0000cc;float: left; font-size: 8px; letter-spacing: 0.4em

    If you want to use the small font it's x-small (not xsmall).
     
  3. drumming207

    drumming207 Adept

    Joined:
    Jun 10, 2009
    Messages:
    133
    Likes Received:
    10
    Thanks, Webmist.
     
  4. Webmist

    Webmist Champion

    Joined:
    Jan 30, 2008
    Messages:
    305
    Likes Received:
    18
    Location:
    US
    First Name:
    Jen
    Your welcome. Anything else don't hesitate to ask.
     
  5. drumming207

    drumming207 Adept

    Joined:
    Jun 10, 2009
    Messages:
    133
    Likes Received:
    10
    Actually, I have another question. What file would I edit in vB to add the text below my header on my Forum?
     
  6. Webmist

    Webmist Champion

    Joined:
    Jan 30, 2008
    Messages:
    305
    Likes Received:
    18
    Location:
    US
    First Name:
    Jen
    Your header template. You'll have the following that houses the header.

    HTML:
    
    <td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
    <td align="$stylevar[right]" id="header_right_cell">
    <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else /></if>
    </td>
    
     
  7. drumming207

    drumming207 Adept

    Joined:
    Jun 10, 2009
    Messages:
    133
    Likes Received:
    10
    Thanks, June!
     

Share This Page