Wells-it.com - Web Hosting

how to get images close to <h> text

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.

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
Moderator

He has: 1,902 posts

Joined: Sep 2003

You'll want something in your style sheet like this

h1 {
margin-bottom:0px;
}

Renegade's picture
Moderator

He has: 2,944 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.

Cheng Eu Chew - Renegade
Download:
- Mozilla, Firefox
- Opera
This post may contain peanut traces

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
DeveloperModeratorSponsor

He has: 2,666 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.