By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,727 Members | 766 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,727 IT Pros & Developers. It's quick & easy.

Extra line in div

P: n/a
Hi

How to get rid of the extra line added after a <ul> in a <div> ?

<li> are defined as inline and the total text lenght is about 30% of the
available line width.

Thanks
Nov 7 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
try using taking margins and padding out...

margin:0; padding:0;

Nov 7 '05 #2

P: n/a
try using taking margins and padding out...

margin:0; padding:0;


Doesn't work
Nov 7 '05 #3

P: n/a
Mon, 7 Nov 2005 18:17:38 -0500 from Bill
<bi*************@hotmail.com>:
try using taking margins and padding out...

margin:0; padding:0;


Doesn't work


URL?

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2.1 spec: http://www.w3.org/TR/CSS21/
validator: http://jigsaw.w3.org/css-validator/
Why We Won't Help You:
http://diveintomark.org/archives/200..._wont_help_you
Nov 8 '05 #4

P: n/a
Bill wrote:

How to get rid of the extra line added after a <ul> in a <div> ?

Either you or the browser defaults have placed it there. Without an URL
it is impossible to say.
BTW by "line" do you mean whitespace? Or an actual line some number of
pixels thick?

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Nov 8 '05 #5

P: n/a
Hi
How to get rid of the extra line added after a <ul> in a <div> ?


The answer was : display : inline-block
added in the div definition.
Thanks you all
Nov 9 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.