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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T02:32:17+00:00 2026-06-18T02:32:17+00:00

Recently I was trying out HTML tags in android. When I tried to use

  • 0

Recently I was trying out HTML tags in android. When I tried to use the <h3> tag, it automatically creates a line space after it and before the next line. In HTML one can remove it by making padding and margin set with 0px. Can anyone tell me how can I remove this space in an android app?

  • 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-06-18T02:32:18+00:00Added an answer on June 18, 2026 at 2:32 am

    The default rendering of h3 has top and bottom margins, and you can remove the bottom margin easily in CSS:

    h3 { margin-bottom: 0; }
    

    I don’t see anything Android-specific here, but just to be sure I tested this on Android, and it works as expected.

    If the next element after the heading is a p element, then that element has a top margin by default. To remove it, you would add

    h3 + p { margin-top: 0; }
    

    (Does not work in rather old versions of IE, but I wouldn’t care.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am an android app developer, recently I am trying to learn Marmalade to
I have been trying to send out html emails through a PHP mail script
I've recently been trying out Ankhsvn and I quite like it, and more importantly,
I've been recently trying out spring-test-mvc since using the handlerAdapter and handlerMapping objects in
I recently installed Emacs 23 (on OS X Leopard) and trying out the emacs
I recently started learning unix and I am trying out some simple programs related
I recently downloaded Mono 2 for my new MacBook. I'm trying to figure out
I just recently started trying out T4MVC and I like the idea of eliminating
I've recently been trying to figure out how to get PyCrypto to recognize PEM's
I recently played around with the ASP.NET WebAPI, including some Html-Pages displaying results, trying

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.