Open Source Tutorials - Open Source Training
Open source training & tutorials from experienced, passionate people
chrome icon firefox icon ie icon opera icon safari icon Sings in these Browsers
A- A A+

By A Web Design

Welcome, Guest
Username Password: Remember me
All your queries regarding CSS will be solved in this forum
  • Page:
  • 1
TOPIC:

h1 tag question

h1 tag question 1 year, 8 months ago #222

  • dhuruv
  • OFFLINE
  • Senior Boarder
  • Posts: 60
  • Karma: 0
Hi,

I have a word with h1.

The problem is that there is a lot of whitespace above and under that word because of the h1 tag, how can I make that whitespace smaller?

Re:h1 tag question 1 year, 8 months ago #227

  • isaac
  • OFFLINE
  • Senior Boarder
  • Posts: 64
  • Karma: 0
Yes, I would try to "tweak" the margin and padding in the CSS to help with this problem.
h1, h2, h3, h4, h5, h6
{
margin : 0px 0px;
padding : 0px 0px;
}
  • Page:
  • 1
Time to create page: 1.05 seconds
OSV Newsletter


Receive HTML?

NOTE: To prevent subscription to the OSV newsletter, uncheck the checkbox above.
Guest Blog for OSV
Free Ebook Download