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

keeping elements in line (spans all in a row)

Hi all
I would like to see all the spans below inline one next to the other. I
do not want to use absolute positioning. This will eventually be a receipt
that will be printed twice on the same page with a control for input and a
print button that disappear (display:none) when the document is sent to the
printer. That means that the document reflows and any absolutely positioned
elements in the flow after the form control will need to be repositioned.
The actual document can be viewed here. Be aware it is in Hebrew and no
char-encoding or language is suggested in the page. Use of the interface is
not important. The positioning of the elements in the logo is all important.
http://www.carmenchange.com/gbi/

A code example of the relevant problem is below. It doesn't display the way
I would like as it is and in the page above I use absolute positioning and
when the doc reflows I have to move them according to the new flow. Not a
good idea!! It's what I have.
any ideas?
<BODY>
<div>
<span><img src="apic.gif" width=79 height=84 alt="a picture"
border="0"></span>
<span title="put me between the gifs">name<br>address<br>telephone</span>
<span><img src="logo.gif" width=139 height=84 alt="company logo"
border="0"></span>
</div>
</BODY>
Jimbo

Jul 21 '05 #1
0 1196

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

Similar topics

6
by: Christopher Benson-Manica | last post by:
http://ataru.gomen.org/files/html/files/test.html: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Test page</title> <style...
27
by: Nicholas Couch | last post by:
I have a little form with a couple of dynamically generated list boxes. When the user makes a selection from the first box, the second box is refreshed. When they make a selection from the second...
5
by: ojvm | last post by:
ok. thanks again for the time spend reading this. this code adds 2 controls in html form but it places in top of the form. i want this control1 control2 control1 control2 control1 ...
6
by: R | last post by:
Hello everybody! I'm newbie to JavaScript and I have a basic question. I have X and Y coordinates of A and B points. How can I draw a line connecting A and B? thanks in advance cheers
3
by: robert.oschler | last post by:
I have an AJAX driven page where I dynamically add rows to a known table on the page, based on the return document from the AJAX call, using DOM node methods (except for a small snippet of code,...
8
by: SP | last post by:
The following code crashes after I add the two nested FOR loops at the end, I am starting to learn about pointers and would like to understand what I'm doing wrong. I think the problem is the way...
3
by: Chris Nelson | last post by:
I have some values that may be listed in a tall, narrow area or may be side-by-side on a single line like: Foo: 1234 Bar: ASDF Baz: This is a test or Foo: 1234 Bar: ASDF Baz: This is a...
8
by: Ted Zlatanov | last post by:
Hello, my problem is very simple. I have: <div id="enclosing"> <div id="d1"> <span id="s1">S1</span> <span id="s2">S2</span> <span id="s3">S3</span> </div>
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.