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 posted this at 20:40 — 20th November 2005.
He has: 1,902 posts
Joined: Sep 2003
You'll want something in your style sheet like this
h1 {
margin-bottom:0px;
}
Renegade posted this at 21:35 — 20th November 2005.
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
zell posted this at 14:36 — 21st November 2005.
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 posted this at 14:51 — 21st November 2005.
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.
Tim
http://www.tandswebdesign.com