473,396 Members | 1,693 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,396 software developers and data experts.

numbered lists

I have search results coming back and they need to be numbered.

Sounds like an ordered list...

It needs to look like this:

1. ********** line one of information
* image* line two of information
**********

the image is 2 lines high.

The top of the image needs to be aligned with the top of the numeral, to do
that I have to either float the image left or align="left"

ol img{
float: left
}

<ol>
<li> <img src="images/free.gif"> SLAVERY EPHEMERY PROVIDES LINK TO LOST
HISTORY<br />10-18/2003</li>

<li></li>
</ol>

That works fine in NS7.1, but both IE5 and Opera 7 lose the numeral (it
vanishes) .

Suggestions? Or just dump the list?

Jeff
Jul 20 '05 #1
2 2348
"Jeff Thies" <no****@nospam.net> wrote in message
news:yM****************@newsread3.news.atl.earthli nk.net...
I have search results coming back and they need to be numbered.

Sounds like an ordered list...

It needs to look like this:

1. ********** line one of information
* image* line two of information
**********

the image is 2 lines high.

The top of the image needs to be aligned with the top of the numeral, to do that I have to either float the image left or align="left"

ol img{
float: left
}

<ol>
<li> <img src="images/free.gif"> SLAVERY EPHEMERY PROVIDES LINK TO LOST
HISTORY<br />10-18/2003</li>

<li></li>
</ol>

That works fine in NS7.1, but both IE5 and Opera 7 lose the numeral (it
vanishes) .

Suggestions? Or just dump the list?

Jeff


i'm not sure, but is it possible that your numbering is getting behing the
picture? have you tried some extra padding-left of the li?
suncho
Jul 20 '05 #2


Jeff Thies wrote:
I have search results coming back and they need to be numbered.

Sounds like an ordered list...

It needs to look like this:

1. ********** line one of information
* image* line two of information
**********

the image is 2 lines high.

The top of the image needs to be aligned with the top of the numeral, to do
that I have to either float the image left or align="left"

ol img{
float: left
}

<ol>
<li> <img src="images/free.gif"> SLAVERY EPHEMERY PROVIDES LINK TO LOST
HISTORY<br />10-18/2003</li>

<li></li>
</ol>

That works fine in NS7.1, but both IE5 and Opera 7 lose the numeral (it
vanishes) .

Suggestions? Or just dump the list?

Jeff

try with adding some extra right margin to img

ol img{
float: left
}

<ol>
<li> <img src="images/free.gif" style="margin-right: 20px"> SLAVERY
EPHEMERY PROVIDES LINK TO LOST
HISTORY<br />10-18/2003</li>

<li></li>
</ol>
hope it helps.

Jul 20 '05 #3

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

Similar topics

6
by: John Burton | last post by:
I wrote a python program on windows which needs to listen for connections on a low numbered port which works fine on windows but on linux you need to be *root* in order to listen for connections on...
3
by: Jeff Thies | last post by:
I have search results coming back and they need to be numbered. Sounds like an ordered list... It needs to look like this: 1. ********** line one of information * image* line...
5
by: Max Bentz | last post by:
How may I generate a numbered list (using <ol><li>, etc), which contains more than 1000 elements? My list is ok till 999, then it continues with 000, 001, 002, etc. Thanks for a tip Max
1
by: chrispycrunch | last post by:
This is a fairly simple question, but what is the easiest way to: create a new numbered column (where value is simply the row number) in an existing table and setting it as a primary key?
3
by: | last post by:
Hi, I have an unmanaged VC7 app calling a C# dotnet service. I'm using the VS2003 generated proxy class derived from CSoapSocketClientT. The client app works fine for most of my customers, but...
3
by: RR | last post by:
We have cards that are numbered consecutively. These cards are given out to different people in different sized batches. One group might get 5, the next group might get 20. What is a good...
24
by: rudranee | last post by:
hi there, can anyone tell me how to lines from a file which are odd numbered i.e. 1st,3rd,5th...lines. i tried incrementing file pointer by 2 (fp=fp+2) but it does'nt work Can someone give me...
6
by: James A. Donald | last post by:
In firefox, the following standards based css gives me a numbered definition list: dl {counter-reset: item1; } dt:before { counter-increment: item1; content: counter(item1) ". "; }
9
by: joba | last post by:
Hi, I am building a program to calculate vacations for employees. Can anyone show me how to write a VBA code to differentiate even-numbered (Eg 2005) years from odd - numbered(Eg.2006) years. ...
0
by: said76 | last post by:
Hi, I have a question in regards to Word VBA. In word document, there is bullet and numbering feature where you can customise the numbering. My question is whether there is a way that i can get...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.