Results 1 to 7 of 7
  1. #1
    wizardshogwarts's Avatar
    Join Date
    Jun 2017
    Gender
    male
    Location
    Ulm
    Posts
    621
    Reputation
    116
    Thanks
    64
    My Mood
    Sneaky

    rookie looking for help.

    Hello guys

    so i'm trying to make a site. but im stuck.



    you can see "Jane Doe's Facebook timeline" is text-align i wanne keep it left. but i wont to place it vertical mid. dont want to use padding-top.
    like it has to be auto:

    this is the html code:
    <header>
    <h1><a href="#">Jane Doe's Facebook timeline</a></h1>
    </header>

    If anyone knows how to make it like this:

  2. #2
    cunniemm's Avatar
    Join Date
    Aug 2017
    Gender
    male
    Posts
    9
    Reputation
    10
    Thanks
    4
    My Mood
    Inspired
    This is a simple way of doing thing. I'm assuming that this is a header, otherwise this is the code for it.

    Code:
    <!DOCTYPE html>
    <html>
      <head>
        <style>
          #content {
            width: 100%;
            height: 40px;
            background-color: #3B5998;
            position: fixed;
            top: 0;
            left: 0;
          }
    
          #link_style {
            text-decoration: none;
            color: white;
            font-family: "Segoe UI";
            font-weight: bold;
            font-size: 12px;
            margin-left: 25px;
            vertical-align: middle;
            line-height: 40px;
          }
        </style>
      </head>
      <body>
        <div id="content">
          <a href="" id="link_style">Jane Doe's Facebook timeline</a>
        </div>
      </body>
    </html>

  3. The Following User Says Thank You to cunniemm For This Useful Post:

    wizardshogwarts (10-20-2017)

  4. #3
    wizardshogwarts's Avatar
    Join Date
    Jun 2017
    Gender
    male
    Location
    Ulm
    Posts
    621
    Reputation
    116
    Thanks
    64
    My Mood
    Sneaky
    Quote Originally Posted by cunniemm View Post
    This is a simple way of doing thing. I'm assuming that this is a header, otherwise this is the code for it.

    Code:
    <!DOCTYPE html>
    <html>
      <head>
        <style>
          #content {
            width: 100%;
            height: 40px;
            background-color: #3B5998;
            position: fixed;
            top: 0;
            left: 0;
          }
    
          #link_style {
            text-decoration: none;
            color: white;
            font-family: "Segoe UI";
            font-weight: bold;
            font-size: 12px;
            margin-left: 25px;
            vertical-align: middle;
            line-height: 40px;
          }
        </style>
      </head>
      <body>
        <div id="content">
          <a href="" id="link_style">Jane Doe's Facebook timeline</a>
        </div>
      </body>
    </html>
    mate you are the one thank you very much for this.

  5. #4
    damiansharma's Avatar
    Join Date
    Jan 2016
    Gender
    male
    Posts
    399
    Reputation
    10
    Thanks
    693
    My Mood
    Drunk
    Quote Originally Posted by wizardshogwarts View Post
    mate you are the one thank you very much for this.
    lol is this the new stackoverflow?
    also bro wanna add me on skype?

  6. #5
    cunniemm's Avatar
    Join Date
    Aug 2017
    Gender
    male
    Posts
    9
    Reputation
    10
    Thanks
    4
    My Mood
    Inspired
    No problem man! Glad to help!

  7. #6
    wizardshogwarts's Avatar
    Join Date
    Jun 2017
    Gender
    male
    Location
    Ulm
    Posts
    621
    Reputation
    116
    Thanks
    64
    My Mood
    Sneaky
    Quote Originally Posted by cunniemm View Post
    No problem man! Glad to help!
    Can you help me? i Cant pm u.

  8. #7
    cunniemm's Avatar
    Join Date
    Aug 2017
    Gender
    male
    Posts
    9
    Reputation
    10
    Thanks
    4
    My Mood
    Inspired
    Quote Originally Posted by wizardshogwarts View Post
    Can you help me? i Cant pm u.
    What do you need help with?

Similar Threads

  1. [Help Request] looking for help fivem
    By rfalexander31 in forum Grand Theft Auto 5 (GTA V) Help
    Replies: 0
    Last Post: 06-25-2017, 10:21 AM
  2. [Help Request] Looking for help on how to make a Get item command for botting
    By dispulse in forum Adventure Quest Worlds (AQW) Help
    Replies: 0
    Last Post: 06-14-2017, 10:07 PM
  3. [Help Request] Looking for help with HL2RP
    By Wholfie in forum Garry's Mod Discussions & Help
    Replies: 1
    Last Post: 06-30-2015, 11:54 AM
  4. [Help Request] Looking for help with making my server
    By luckydays in forum Realm of the Mad God Private Servers Help
    Replies: 0
    Last Post: 10-30-2013, 05:06 PM
  5. [Help Request] looking for help
    By GI-mark in forum Combat Arms Help
    Replies: 2
    Last Post: 06-12-2012, 12:42 PM