[WSG] narrowing the gap between h3 and ul-help

2005-12-19 Thread kvnmcwebn

hello all,

 just tryin to narrow the distance between my h3 element and some unordered
lists.
easy enough in ff but negative margins dont seem to budge the ul in ie.

example html

http://www.mcmonagle.biz/mockup/final5.htm


css
http://www.mcmonagle.biz/mockup/index3.css

http://www.mcmonagle.biz/mockup/nav.css


-best
kvncwebn


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] narrowing the gap between h3 and ul-help

2005-12-19 Thread Patrick H. Lauke

kvnmcwebn wrote:


 just tryin to narrow the distance between my h3 element and some unordered
lists.
easy enough in ff but negative margins dont seem to budge the ul in ie.


Not looked at your CSS, but...there's really no need to get out negative 
margins. Have you set the bottom margin (and padding) of the h3 and the 
top margin (and padding) of the ul (and possibly the li elements therein)?


--
Patrick H. Lauke
__
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com
__
Web Standards Project (WaSP) Accessibility Task Force
http://webstandards.org/
__
**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



RE: [WSG] narrowing the gap between h3 and ul-help

2005-12-19 Thread kvnmcwebn

Not looked at your CSS, but...there's really no need to get out negative 
margins. Have you set the bottom margin (and padding) of the h3 and the 
top margin (and padding) of the ul (and possibly the li elements therein)?


i just set all of the above to 0 and it worked.

thanks patrick 


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



RE: [WSG] narrowing the gap between h3 and ul-help

2005-12-19 Thread Paul Noone
I think your negative margins are getting the better of you. Because both
elements directly follow each other there shouldn't be any need to do
anything othet than set H# bottom and UL/LI top margins and padding to 0.

The change below worked for me.


.mainleft ul {
margin-top: 0px;


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of kvnmcwebn
Sent: Tuesday, 20 December 2005 3:32 AM
To: wsg@webstandardsgroup.org
Subject: [WSG] narrowing the gap between h3 and ul-help


hello all,

 just tryin to narrow the distance between my h3 element and some unordered
lists.
easy enough in ff but negative margins dont seem to budge the ul in ie.

example html

http://www.mcmonagle.biz/mockup/final5.htm


css
http://www.mcmonagle.biz/mockup/index3.css

http://www.mcmonagle.biz/mockup/nav.css


-best
kvncwebn


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



RE: [WSG] narrowing the gap between h3 and ul-help

2005-12-19 Thread kvnmcwebn



Negative margins will always come back to haunt you later :D

I suppose I was cutting corners using them...its just that sometimes 
they seem to save a lot of hassle-probably because i dont 
have a deep enough understanding of document flow and such. 

thanks
kvnmcwebn



**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**