473,703 Members | 2,341 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2370
"Jeff Thies" <no****@nospam. net> wrote in message
news:yM******** ********@newsre ad3.news.atl.ea rthlink.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
2096
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 port numbers below 1024. I really don't want to run my program as root because that would give it unnecessary access to the whole of the system. Has anyone got any suggestion on the best way to allow my program to listen on those socket...
3
638
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 two of information **********
5
2807
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
1219
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
2784
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 for some it appears to be upset by their firewall / proxy. If I use CSoapSocketClientT.SetProxy(NULL) to pick up the proxy settings from IE, attempting to call a web method fails on every second call with SOAP_CLIENT_SEND_ERROR, any idea on...
3
2253
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 way to set up to keep track of which numbered cards are given out, and to who?
24
6142
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 the code please.
6
7587
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
2981
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. Thank you
0
913
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 the value of the numbering (This is for outline numbered. ). For example, Section 1. Section 2.
0
8759
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8669
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9251
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8963
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7872
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5922
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4687
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2453
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2069
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.