redho home | products | services

Programming Forums


Community for Java, PHP, Perl C, ASP and Python programmers
Friday 03 September 2010 04:34

Ask your IT question here

too much space btw each list item



 
Post new topic   Reply to topic    Programming Forums -> HTML forum
View previous topic :: View next topic  
Author Message
Klimapol
Enthusiastic Coder


Joined: 27 May 2006
Posts: 134
I have a <ul> where each item is an input field. the problem is that there is too much space between each list item, far more than a list without input fields. what can I do?
Reply with quote
 
Poolkop
Enthusiastic Coder


Joined: 01 Jun 2006
Posts: 123
try messing about with the margin and the padding values
ie padding-bottom: 2px;

Reply with quote
 
Klimapol
Enthusiastic Coder


Joined: 27 May 2006
Posts: 134
that should go in the <li> or <input> tag?
Reply with quote
 
Poolkop
Enthusiastic Coder


Joined: 01 Jun 2006
Posts: 123
Give it in the <li> im guessing <li style"padding-bottom:2px;"> and try the px value with negitive numbers aswell
Sorry <li style=""></li>

Reply with quote
 
Klimapol
Enthusiastic Coder


Joined: 27 May 2006
Posts: 134
thanks for the tip but it doesn't seem to make a difference, even with 0px and padding-top: <li style="padding-bottom:0px; padding-top:0px">
Reply with quote
 
Page 1 of 1
Post new topic   Reply to topic    Programming Forums -> HTML forum


Dubai Forums - Expat Help | Vegan Forum | Java Programming | 3d Design Resources | 3d Forum | 3D Jobs | 3D Textures | Paris Forum | Europe Forum
Dubai Classifieds | Dubai Property | Jobs in Dubai | Free London Classifieds | Jobs in London UK

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

Based on phpBB © 2001-2010 RedHo