New Posts
Welcome guest, is this your first visit?
  • Login:
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14
  1. #1
    Senior Member
    Need content? Send me a PM
     
    ----
     

    Add as a friend
    Join Date
    Feb 2009
    Location
    USA
    Posts
    846
    Blog Entries
    1
    Feedback Score
    21 (100%)

    Default <h> Header Question </h>

    Is it possible to have a header with the 2 different words, one on each side? Here is an example of what I'm after:

    PAL <-------word on left side word on right side -----> Affiliate Listing

    I have tried this numerous ways and either end up with the words on top of each other like so:
    Pal
    Affiliate Listing

    or is some other weird way. It seems as if I can only align left, center, or right, but not a combo of any two.....Is this possible and if so, can someone provide me with the html to make this happen?

    Thanks!

  2. #2
    Not in MY HOUSE!!!!
    My Status
     
    ----
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    Around
    Posts
    790
    Blog Entries
    1
    Feedback Score
    12 (100%)

    Default

    <h style="float:left">Left Heading</h><h style="float:right">Right Heading</h>

    ...should work.

    Edit: the only problem with this is that an text below the headings will be squeezed between the two if there is any space between the headings.
    Last edited by NickM; 05-06-2009 at 06:06 PM.

  3. #3
    Senior Member
    My Status
     
    ----
     

    Add as a friend
    Join Date
    Jan 2009
    Location
    Northern Europe
    Posts
    882
    Blog Entries
    6
    Feedback Score
    3 (100%)

    Default

    I have never tried this, but I'm pretty sure that you can also set the align property to "justify".

    How do I justify text on both sides on Web pages?

    If you are just using a single line of text, you will probably have to set a width inorder to get it to span the whole width of the page. If you don't set a width I'm pretty sure that it will just look like you are using align "left".
    My blog www.unknownwebmaster.com | New posts on Poker affiliate blogs | Webmaster tools I use every day.

  4. #4
    Senior Member
    My Status
     
    ----
     

    Add as a friend
    Join Date
    Jan 2009
    Location
    Northern Europe
    Posts
    882
    Blog Entries
    6
    Feedback Score
    3 (100%)

    Default

    Quote Originally Posted by NickM View Post
    <h style="float:left">Left Heading</h><h style="float:right">Right Heading</h>

    ...should work.

    Edit: the only problem with this is that an text below the headings will be squeezed between the two if there is any space between the headings.
    You can take care of this by creating an empty element that contain the two parts.

    Code:
    <div class="container>
    <h style="float:left">Left Heading</h><h style="float:right">Right Heading</h>
    </div>
    My blog www.unknownwebmaster.com | New posts on Poker affiliate blogs | Webmaster tools I use every day.

  5. #5
    Senior Member
    Need content? Send me a PM
     
    ----
     

    Add as a friend
    Join Date
    Feb 2009
    Location
    USA
    Posts
    846
    Blog Entries
    1
    Feedback Score
    21 (100%)

    Default

    Thanks for the responses! I tried both ways, and I didn't manage to get either to work. I will read that link that you left unknownwebmaster and see if that clears it up for me. Thanks again!

  6. #6
    Not in MY HOUSE!!!!
    My Status
     
    ----
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    Around
    Posts
    790
    Blog Entries
    1
    Feedback Score
    12 (100%)

    Default

    You can take care of this by creating an empty element that contain the two parts.
    :smacks head: Duh, of course.

    Justifying will work if it is only two words - one on the left and one on the right. If it is 3 or more words it will just space them out.

    Matt - The code that Unknown put above will work.. I'm not sure why it wouldn't work for you. Maybe you can pm me a url and I can take a look at it for you.

  7. #7
    Senior Member
    Need content? Send me a PM
     
    ----
     

    Add as a friend
    Join Date
    Feb 2009
    Location
    USA
    Posts
    846
    Blog Entries
    1
    Feedback Score
    21 (100%)

    Default

    Quote Originally Posted by NickM View Post
    :smacks head: Duh, of course.

    Justifying will work if it is only two words - one on the left and one on the right. If it is 3 or more words it will just space them out.

    Matt - The code that Unknown put above will work.. I'm not sure why it wouldn't work for you. Maybe you can pm me a url and I can take a look at it for you.
    I appreciate it Nick! Sending Pm now....

  8. #8
    Senior Member
    My Status
     
    ----
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    Ireland
    Posts
    115
    Feedback Score
    10 (100%)

    Default

    The code above should have the 'h' tags with a number, h1, h2, etc, then it should work.

  9. #9
    Senior Member
    Need content? Send me a PM
     
    ----
     

    Add as a friend
    Join Date
    Feb 2009
    Location
    USA
    Posts
    846
    Blog Entries
    1
    Feedback Score
    21 (100%)

    Default

    Quote Originally Posted by Elsidney View Post
    The code above should have the 'h' tags with a number, h1, h2, etc, then it should work.
    Thanks for the tip, it was just an example they put up. When I tried it I did put a number in. Thanks!

  10. #10
    Senior Member
    My Status
     
    ----
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    Ireland
    Posts
    115
    Feedback Score
    10 (100%)

    Default

    Oh, sorry, I guess that was obvious. When I tried it it worked for me. Did you get it sorted?


 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Header Value
    By addaminsane in forum Poker SEO Forum
    Replies: 4
    Last Post: 06-10-2010, 01:28 AM
  2. Header question
    By HBKKH in forum Wordpress - Web Design - Coding - Technical
    Replies: 3
    Last Post: 05-04-2010, 11:48 AM
  3. WP header navigation
    By gooderpoker in forum Wordpress - Web Design - Coding - Technical
    Replies: 1
    Last Post: 12-19-2009, 05:32 PM
  4. h1 in the Header???
    By TheDonk in forum Poker SEO Forum
    Replies: 24
    Last Post: 07-09-2009, 05:45 AM
  5. Replacing a WP Header
    By Ridge in forum Wordpress - Web Design - Coding - Technical
    Replies: 4
    Last Post: 01-12-2009, 05:03 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
Powered by vBulletin® Version 4.1.5
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
SEO by vBSEO 3.6.0