This is a discussion on "CSS - space between "li" ???" within the Web Page Design section. This forum, and the thread "CSS - space between "li" ??? are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
CSS - space between "li" ???
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Is there any way, I could AUTOMATICALLY have "space" between two "li" i.e. each new "li" should start from a fresh line.
I think "margin" should be the best bet, but I'm afraid that's not working, as you can see from the code. Earlier, I was merely using MANY <br /> until the new "li" pushes down & starts on new page, but that time-consuming to do on every single pages & beside, it gets displayed differently on different resolution window (sometime it shows perfect, but sometimes it has TOO MUCH space between two "li") I've got rid of all the <br /> between "li" in the Drinkware heading of "Alcohol.html" page on: http://homepage.ntlworld.com/darsh25/alcohol.html Now you can see that all the "li" are over-lapping each other. This ONLY happen when there's an image within the "li" (but if it's ONLY text, then the new "li" always starts on the fresh line). All the "li" related coding (along with "img" that's WITHIN these "li" are:
Entire Stylesheet is:
|
|
|
|
#2
|
||||
|
||||
|
Re: CSS - space between "li" ???
When floating LI elements, you would need to use display:block in the LI CSS
If you get stuck, post a URL
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
#3
|
||||
|
||||
|
Re: CSS - space between "li" ???
|
|
#4
|
|||
|
|||
|
Quote:
clear:both;
Thanks for your time & help, in the mean time. Much appreciated. |
|
#5
|
||||
|
||||
|
Re: CSS - space between "li" ???
yeah.... that'll work
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
![]() |
| Tags |
| css, space, between, quotliquot |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Creating a "tag" system to find relevant "related" pages | MrQuestions | PHP Forum | 3 | Mar 20th, 2008 23:06 |
| [SOLVED] Show "Image" Depends On User "Status"? | Monie | Classic ASP | 6 | Oct 16th, 2007 01:22 |
| ? IS "meta name="robots" content="?" necessary in pages ? | Love2Java | Starting Out | 6 | Aug 8th, 2007 13:48 |
| window.opener.document["nameForm"].getElementById("someid").value; doesnt work | drpompeii | JavaScript Forum | 0 | Feb 17th, 2007 23:09 |
| <option value="yes" class="x"> problem in Firefox | mameha1977 | Web Page Design | 1 | Jun 21st, 2006 11:20 |