how to get images close to <h> text

They have: 30 posts

Joined: Nov 2005

Pardon the "newbie" question... I had a 22 yr background in print publishing when I created my site 2 yrs ago. Not knowing better I didn't use style codes, I just coded all fonts and sizes as paragrahs.

I'm now trying to cleanup the mess and I'm converting to css.

My question is this. When I use a style (which the SE's like) it automatically gets spacing above and below. How do you handle this? I want a heading to sit right next to an image below it.

www.thinkbible.org - made on a Mac -

teammatt3's picture

He has: 2,102 posts

Joined: Sep 2003

You'll want something in your style sheet like this

h1 {
margin-bottom:0px;
}

Renegade's picture

He has: 3,022 posts

Joined: Oct 2002

Or, if you want to completely reset it:

h1 {
margin:0;
}
'

You might wnat to have a look at W3Schools for a tutorial on CSS.

They have: 30 posts

Joined: Nov 2005

easy 'nuf... thanks ..
I obviously need to go thru a css tutorial- but seems like they always don't tell you the one thing you're looking for. Thanks again!

www.thinkbible.org - made on a Mac -

timjpriebe's picture

He has: 2,667 posts

Joined: Dec 2004

Personally, I picked up this book and found it invaluable:

http://www.amazon.com/gp/product/0596005253/102-8561730-2483350?v=glance&n=283155&n=507846&s=books&v=glance

I still use it for reference.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.