473,327 Members | 1,936 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,327 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 2338
"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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.