Home > Mobile >  Need To Removed Space in div(HTML)
Need To Removed Space in div(HTML)

Time:12-28

contact Us Page

if you guys can see there is gap/Space between reach us word and company address. now i want to reduce/remove that space and all code our in same div, there are not two div for code

CodePudding user response:

It looks like it can be related to either the margin or padding or something completely different. But without looking at the code, it is difficult to say.

You should always share the code with such questions so that it easy to understand what the problem is.

CodePudding user response:

Try using CSS property letter-spacing to remove spaces between letters. You can go positive number or negative number, as per your requirements.

Try:

letter-spacing: 0.5px or letter-spacing: 0.2px

You can increase or decrease the pixel numbers. For reference you can check this documentation: https://developer.mozilla.org/en-US/docs/Web/CSS/letter-spacing

And ensure you've set the margin and padding to the default setting. Include the following css properties in your css file.

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

CodePudding user response:

you can use margin-top:-100px for div which contain company address although you reach us dive margin-bottom:-100px for

  • Related