Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7049517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:01:37+00:00 2026-05-28T03:01:37+00:00

Here’s a simplest html document. I specify margin-top at the h1 style. Here’s the

  • 0

Here’s a simplest html document. I specify margin-top at the h1 style. Here’s the document:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>Free mind!</title>
    <style type="text/css">
      p {
        font-family : DejaVu Sans Mono;
        font-size : 12pt;
        line-height : 100%;
        margin-top : 0cm;
        margin-bottom : 0.3cm;
        white-space : pre-wrap;
        display : inline;
      }
      h1 {
        font-size : 14pt;
        line-height : 100%;
        margin-top : 1cm;
        display : inline;
        color : blue ; 
      }
    </style>
  </head>
  <body>
    <h1>Bio</h1>
      <p>
bk-simulates-range.py -S &quot;&quot; -b &quot;&quot; -e &quot;&quot; -s &quot;&quot; -t dspc.top -n 3000000 -c -j bk-runs-mpi.bash -w &quot;-4.5.5-double_gcc&quot; 2&amp;&gt; `date +%Y-%b-%d-%H%M%S`.log &amp; 
bk-pymol-selects.py -f confout.gro -s &quot;resi 1-128&quot; -t traj.trr -i 50 
bk-pymol-selects.py -f *ane.gro
bk-pymol-pic.py -f confout.gro -s &quot;resi 1-128&quot; -x &quot;-2&quot; -y &quot;-3&quot; -z &quot;0&quot; -t traj.trr
       </p>
     <h1>Bash</h1>
       <p>
cd /new/dir; (cd /old/dir; find -type d ! -name .) | xargs mkdir
for i in `ls`; do  $i; done
       </p>
  </body>
</html>

I’m for this question must be really simple.

Edit:

So the problem was:

display : block;

in the h1 specification. I ended up using (here I quote head and the body – other parts require no changes):

  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>Free mind!</title>
    <style type="text/css">
      p {
        font-family : DejaVu Sans Mono;
        font-size : 12pt;
        line-height : 100%;
        margin-top : 0px;
        margin-bottom : 0px;
        white-space : pre-wrap;
        display : inline;
      }
        h1 {
        font-size : 14pt;
        line-height : 100%;
        margin-top : 20px;
        margin-bottom : -1px;
        display : block;
        color : blue ; 
      }
    </style>
  </head>
  <body>
    <h1>Bio</h1>
      <p>bk-simulates-range.py -S &quot;&quot; -b &quot;&quot; -e &quot;&quot; -s &quot;&quot; -t dspc.top -n 3000000 -c -j bk-runs-mpi.bash -w &quot;-4.5.5-double_gcc&quot; 2&amp;&gt; `date +%Y-%b-%d-%H%M%S`.log &amp; 
bk-pymol-selects.py -f confout.gro -s &quot;resi 1-128&quot; -t traj.trr -i 50 
bk-pymol-selects.py -f *ane.gro
bk-pymol-pic.py -f confout.gro -s &quot;resi 1-128&quot; -x &quot;-2&quot; -y &quot;-3&quot; -z &quot;0&quot; -t traj.trr</p>
     <h1>Bash</h1>
       <p>cd /new/dir; (cd /old/dir; find -type d ! -name .) | xargs mkdir
for i in `ls`; do  $i; done</p>
  </body>

Also people say that em and px should be used instead of cm and pt – for cm and pt are no good for the web.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T03:01:37+00:00Added an answer on May 28, 2026 at 3:01 am
    h1 { 
        font-size : 14pt; 
        line-height : 100%; 
        margin-top : 1cm; 
        display : block;      /*changed*/
        color : blue ;  
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's the basic setup: I have a thin bar at the top of a
Here is what I want to do. Use this HTML line and have the
Here's my test function (c#, visual studio 2010): [TestMethod()] public void TestGetRelevantWeeks() { List<sbyte>
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
Here is an example: I write html code inside of textarea, then I swap
Here my code: $(document).ready(function() { $('#mid_select').live('click', function(e){ $('#middle').load( $(this).attr('href') + ' #middle'); var page
Here is my dev link: http://leongaban.com/dev/just_nav.html I'm having issues with Text alignment and Sprite
Here's a basic regex technique that I've never managed to remember. Let's say I'm
Here's a problem I ran into recently. I have attributes strings of the form
Here is the issue I am having: I have a large query that needs

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.