This is a discussion on "[SOLVED] Simple list problem" within the Web Page Design section. This forum, and the thread "[SOLVED] Simple list problem are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] Simple list problem
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
||||
|
||||
|
[SOLVED] Simple list problem
I have a list that needs to be displayed horizontally, so I use display:inline;. But I need each list item to be a certain height. But it'll ignore the height value unless I put display:block; down. But that will cause the list to go verticle. So how do I get the exact height well still keeping the list horizontal?
(Complete noob question, I know)
__________________
Web Design And Development: Other Road Design | Problems with IE6?: KApp | My Blog: Only Nerds Allowed | Learning PHP? Lessons
Last Blog Entry: Hilarious Rapper (Jul 29th, 2008)
|
|
#2
|
|||
|
|||
|
Re: Simple list problem
You havn't linked your CSS, but at a guess you tried to set the list item height and it didn't work right? Have you set its parents (the list itself) height? Try this, it should work.
|
|
#3
|
||||
|
||||
|
Re: Simple list problem
That works, thanks
__________________
Web Design And Development: Other Road Design | Problems with IE6?: KApp | My Blog: Only Nerds Allowed | Learning PHP? Lessons
Last Blog Entry: Hilarious Rapper (Jul 29th, 2008)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] simple layout problem | saltedm8 | Web Page Design | 13 | May 2nd, 2008 19:02 |
| [SOLVED] simple div problem | hhelen | Web Page Design | 5 | Apr 4th, 2008 15:56 |
| First image problem and inline list problem | konnor5092 | Web Page Design | 8 | Dec 1st, 2007 10:08 |
| [SOLVED] Text field & list menu size problem | longstand | Web Page Design | 2 | Nov 1st, 2007 14:38 |
| [SOLVED] Simple Php Code Problem | longstand | PHP Forum | 3 | Oct 17th, 2007 22:02 |