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 6346055
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:56:41+00:00 2026-05-24T20:56:41+00:00

<!DOCTYPE html> <hmtl> <body> <header><h1>This is header</h1></header> <section id=main> <section id=topBlock> <section id=sectionWithUList>…</section> <section

  • 0
<!DOCTYPE html>
<hmtl>
    <body>
        <header><h1>This is header</h1></header>
            <section id="main">
                <section id="topBlock">
                    <section id="sectionWithUList">...</section>
                    <section id="sectionWithImage">...</section>
                    <section id="anotherSectionWithUList">...</section>
                <section>
                <section id="anotherBlock">
                    ...
                <section>
            </section>
        <footer><h5>This is header</h5></footer>
    <body>
<html>

This is my first time that I am writing HTML5 page. I tought that it will go something like this.
Header, main section and footer. In this main section on top I have section with three sections in it (two lists and one image).
But I have a styling problem. I write css for ‘topBlock’ to be display:table; And three section in it to be table cell because
they need to be displayed in one row. But when I add image sections with lists in it goes too large and lists are verticaly centered.
I try to add fixed height to topBlock section but nothing helps. I need a little help to make this topBLock to have inner three section inline.

  • 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-24T20:56:42+00:00Added an answer on May 24, 2026 at 8:56 pm

    Try adding a vertical-align to the sections.

    #topBlock { display:table; }    
    #topBlock section { vertical-align:top; display:table-cell; }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

this is my html: <!DOCTYPE html> <html lang=en> <head> <meta charset=utf-8> <title>Something</title> </head> <body>
This is my base.html <!DOCTYPE html> <head> <title> My Site </title> </head> <body> <div
this html is here : <!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN><html><head><META http-equiv=Content-Type content=text/html;
I have the following html: <!DOCTYPE html> <html> <head> <script src=http://code.jquery.com/jquery-latest.js></script> </head> <body> <span>not
Html: <!DOCTYPE html> <html> <head> <SCRIPT language=JavaScript src=mapbody.js></SCRIPT> </head> <body> <A HREF=javascript:a_message()>Click for a
Open the following HTML in Firefox <!doctype html> <html> <body> <div style=width: 1000px; height:
Given the following HTML: <!doctype html> <html> <body> <span style=background-color: blue;> Some text here
-------test code(test.html)------------ <!DOCTYPE html> <html> <head> <style> *{padding:0px;margin:0px;} </style> </head> <body style=background-color:orange;> <b onmousemove=tip(this);>A</b>
I have this small HTML document: <!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN> <html>
This is my index.html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"> <html> <head><title>Untitled Document</title>

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.