Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

128
Views
How to center terminal HTML

Fairly self explanatory.

 <link href="C:\Users\Andre\Desktop\FOLDER\css\xterm.css" rel="stylesheet" /> <!--Terminal-->
<div id="terminal"></div>
<script src="./xterm.js"></script> <!-- Terminal -->
<script>
    var term = new Terminal();
    term.open(document.getElementById('terminal'));
    term.write('Hello Again');
</script>

Here is my css file that it's connected to and how I tried to center it, I realize it's a different type, so I wasn't sure how to go about it

#terminal{
    align-content:center;
}

Any help on centering this would be appreciated

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

#terminal {
    text-align: center;
}
about 4 years ago · Juan Pablo Isaza Report

0

Maybe try this :

#terminal{
    margin: auto;
    width : 300px;
}
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!