473,416 Members | 1,546 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,416 software developers and data experts.

<ul> Horizzontal

Hi at all
To make a list using <UL><IL> showed horizontally AND with ITEMS SPACED
30pixels. waht CSS command have I to use please?
Thank in advance
Peter

Jul 21 '05 #1
4 6383
Els
Peter wrote:
Hi at all
To make a list using <UL><IL> showed horizontally AND with
ITEMS SPACED 30pixels. waht CSS command have I to use
please?


CSS doesn't have any commands :-)

You're looking for this I think:

li{
display:inline;
padding-left:15px;
padding-right:15px;
}
--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Faith No More - Epic
Jul 21 '05 #2
On Thu, 14 Oct 2004 10:41:46 GMT, Peter <vo***********@hotmail.com> wrote:
Hi at all
To make a list using <UL><IL> showed horizontally AND with ITEMS SPACED
30pixels. waht CSS command have I to use please?
Thank in advance
Peter


Since Els gave a good answer, I'll be the wiseguy - since I is next to O,
I know what you meant, but - what would an IL be?

Interesting List?

Idiot List?

:)
Jul 21 '05 #3
Els
Neal wrote:
On Thu, 14 Oct 2004 10:41:46 GMT, Peter
<vo***********@hotmail.com> wrote:
Hi at all
To make a list using <UL><IL> showed horizontally AND
with ITEMS SPACED 30pixels. waht CSS command have I to use
please? Thank in advance
Peter
Since Els gave a good answer, I'll be the wiseguy


That's cool, I'll be the wisegirl then:
- since I is next to O, I know what you meant, but - what
would an IL be?
The I being next to O might just be irrelevant here.
IL was most likely meant to be LI, as OL doesn't make sense
inside a UL :P
Interesting List?

Idiot List?

:)


<g>

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Living Colour - Love Rears Its Ugly Head
Jul 21 '05 #4
On 14 Oct 2004 15:51:25 GMT, Els <el*********@tiscali.nl> wrote:
Neal wrote:
On Thu, 14 Oct 2004 10:41:46 GMT, Peter
<vo***********@hotmail.com> wrote:
Hi at all
To make a list using <UL><IL> showed horizontally AND
with ITEMS SPACED 30pixels. waht CSS command have I to use
please? Thank in advance
Peter

- since I is next to O, I know what you meant, but - what
would an IL be?


The I being next to O might just be irrelevant here.
IL was most likely meant to be LI, as OL doesn't make sense
inside a UL :P


Well, I interpreted <UL><O> as meaning "ul or ol". Yours is valid as well,
but less fun.
Interesting List?

Idiot List?

:)


<g>


Italian Loafers?

Incompetent Loser?

Come on Els, you know the drill...

Jul 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: bearclaws | last post by:
I am looping through a list of categories and want to display the list horizontally (instead of vertically). I want to create a single row with 4 list items in each cell of the row. I thought...
9
by: Akseli Mäki | last post by:
Hi, the subject say quite a lot. I have about the following code(4.01 transitional): <p>blaa blaa blaa <ul> <li><a href="foo.html">foo</a></li> <li><a href="bar.html">bar</a></li> </ul>
1
by: Randall Sell | last post by:
OK, I am utterly stumped. The code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <style type="text/css"> ul {...
5
by: toylet | last post by:
Attached is some css codes for a website. It has 3 parts: top-bar, side-bar (on the left) and main-body. The top-bar has a mouseover menu called top-menu implemented via ul:hover. When the mouse...
4
by: abs | last post by:
Anybody has an idea how to get the <ul> element which is not nested in <li> element ? In other words I have several lists like this: <ul id="1"> <li>Aaaaaaaa</li> <li>Bbbbbbbb</li>...
2
by: Shaun | last post by:
Hello! I have a quick question regarding CSS and having it applied to all elements. I am trying to eliminate the gap between a paragraph and a list that usually occurs in html and I've found...
3
by: Man-wai Chang | last post by:
A 2 columns x 10 rows matrix input form <ul> <li> <ul> <li>item name 1 <li><input type="textbox" name="input_col_1_row_1"> <li><input type="textbox" name="input_col_1_row_2"> </ul> <li>
6
by: capricious | last post by:
Is it possible, so that when you do multiple <UL>'s to control how deep the UL's are marked? For example, it would defaultly look like this with multiple ULs and LIs: -- Code : Main...
2
by: Shahid | last post by:
Hi, I am parsing an .HTML file that contains following example code: <div> <p class="html_preformatted" awml:style="HTML Preformatted" dir="ltr" style="text-align:left"><span...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.