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

General Guidance Sought on Using Style Position

jm
I have two tables. If I leave them alone, one will print on the
screen, then below it the next, etc. This is normal.

However, I want table one on the left and table two on the right of
the screen.

Both are populated by two different queries, so they are not exactly
created at the same time.

I decided to use styles to position:absolute the second table to the
right of the first table (much like a brochure, for example).

I am worried that this is not correct. For example, my text size is
set at smaller, but on medium the tables are not lined up right. The
blend into each other and when the browser's text size is larger,
well, it looks terrible.

How could I have achieved the same thing without this CSS style
"trick?" Thanks for advice.
Jul 17 '05 #1
7 2578
On 2004-01-30, jm <jo*************@yahoo.com> wrote:
However, I want table one on the left and table two on the right of
the screen.


And where is PHP related to this? I think you're better of in a
comp.infosystems.www.authoring.* groups

--
http://home.mysth.be/~timvw
Jul 17 '05 #2
get the results in php before you make the tables, then:

<table>
<tr>
<td> (table 1)</td>
<td> (table 2)</td>
</tr>
</table>
--
Mike Bradley
http://www.gzentools.com -- free online php tools
"jm" <jo*************@yahoo.com> wrote in message
news:c6**************************@posting.google.c om...
I have two tables. If I leave them alone, one will print on the
screen, then below it the next, etc. This is normal.

However, I want table one on the left and table two on the right of
the screen.

Both are populated by two different queries, so they are not exactly
created at the same time.

I decided to use styles to position:absolute the second table to the
right of the first table (much like a brochure, for example).

I am worried that this is not correct. For example, my text size is
set at smaller, but on medium the tables are not lined up right. The
blend into each other and when the browser's text size is larger,
well, it looks terrible.

How could I have achieved the same thing without this CSS style
"trick?" Thanks for advice.

Jul 17 '05 #3
Tim Van Wassenhove <eu**@pi.be> wrote in news:bvcp3a$qol0g$1@ID-
188825.news.uni-berlin.de:
On 2004-01-30, jm <jo*************@yahoo.com> wrote:
However, I want table one on the left and table two on the right of
the screen.


And where is PHP related to this? I think you're better of in a
comp.infosystems.www.authoring.* groups


comp.infosystems.www.authoring.stylesheets [to which I've set the
followups] is probably the best place; the OP will most likely be told
there that he should abandon absolute positioning and float both tables
left, which will result in the second table being to the right of the first
if there's enough room in the viewport, or below the first if there isn't.
Or maybe float the first one left and the second one right.
Jul 17 '05 #4
jm
Tim Van Wassenhove <eu**@pi.be> wrote in message news:<bv************@ID-188825.news.uni-berlin.de>...
On 2004-01-30, jm <jo*************@yahoo.com> wrote:
However, I want table one on the left and table two on the right of
the screen.


And where is PHP related to this? I think you're better of in a
comp.infosystems.www.authoring.* groups


I created the page in PHP. Perhaps, it might be related.
Jul 17 '05 #5

"jm" <jo*************@yahoo.com> wrote in message
news:c6**************************@posting.google.c om...
Tim Van Wassenhove <eu**@pi.be> wrote in message

news:<bv************@ID-188825.news.uni-berlin.de>...
On 2004-01-30, jm <jo*************@yahoo.com> wrote:
However, I want table one on the left and table two on the right of
the screen.


And where is PHP related to this? I think you're better of in a
comp.infosystems.www.authoring.* groups


I created the page in PHP. Perhaps, it might be related.


But what you are creating is HTML, therefore it is an HTML problem. You
could be creating the output with PHP, Java, C++ or .NET but it would still
be an HTML problem.

Tony Marston
Jul 17 '05 #6
My advice? Don't use CSS-P unless if you to. Tables are usually more
reliable.

Uzytkownik "jm" <jo*************@yahoo.com> napisal w wiadomosci
news:c6**************************@posting.google.c om...
I have two tables. If I leave them alone, one will print on the
screen, then below it the next, etc. This is normal.

However, I want table one on the left and table two on the right of
the screen.

Both are populated by two different queries, so they are not exactly
created at the same time.

I decided to use styles to position:absolute the second table to the
right of the first table (much like a brochure, for example).

I am worried that this is not correct. For example, my text size is
set at smaller, but on medium the tables are not lined up right. The
blend into each other and when the browser's text size is larger,
well, it looks terrible.

How could I have achieved the same thing without this CSS style
"trick?" Thanks for advice.

Jul 17 '05 #7
With total disregard for any kind of safety measures "Chung Leong"
<ch***********@hotmail.com> leapt forth and uttered:
My advice? Don't use CSS-P unless if you to. Tables are usually
more reliable.


And while you're at it, carry on using Dreamweaver. Hand coding
HTML and PHP is just WAY too hard.

</sarcasm>

--
Phil Roberts | Nobody In Particular | http://www.flatnet.net/
Jul 17 '05 #8

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

Similar topics

3
by: davidkarlsson74 | last post by:
Error: document.getElementById("folderMenu").cells has no properties File: http://www.volkswagen.se/tillbehor/js/foldermenu.js Rad: 49 The function activates different DIV:s, but doesn't seem to...
2
by: KathyB | last post by:
Hi, I have the following script in an aspx html: <script language="javascript"> function pop_window() { var confirmWin = null; confirmWin = window.open('Scanned.aspx', 'SerialNumbers',...
5
by: ElanKathir | last post by:
Hi ! I wrote one code for Send the E-mail, But that code have some problem , So please help me Here i paste my code and Error: Error: Server Error in '/Elan_Sample' Application. ...
3
by: JezB | last post by:
What's the generally accepted approach for using Styles and Stylesheets in a web application based on .aspx files, Web Controls, User Controls, and code-behind modules (c# in my case)? Most style...
2
by: Junior | last post by:
Hi All, I haven't got a response for this question lately and i really need to get this done ASAP. I have a .aspx page that has table two column four rows on it. 1. How do i use codebehind C#...
0
by: Eugene Anthony | last post by:
The problem with my coding is that despite removing the records stored in the array list, the rptPages repeater control is still visible. The rptPages repeater control displayes the navigation...
2
by: Ch Pravin | last post by:
Hi All: I am having the following xml which i need to convert to excel using xslt. Please help me out. Afghanistan.xml <?xml version="1.0" encoding="utf-16"?> <Languages...
3
by: Michellevt | last post by:
Hi I am working on a project (for college) and wondered if anyone can help me with my problem. In the project we are not allowed to make use of any "style" attributes but "class" attributes...
3
by: happyse27 | last post by:
Hi All, I am creating the perl script using html form(with embedded javascript inside). When using this html form with javascript alone, it works where the form validation will pop up...
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
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...
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: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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...

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.