473,769 Members | 2,394 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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:absolu te 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 2601
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.infosystem s.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.goo gle.com...
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:absolu te 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$qol 0g$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.infosystem s.www.authoring.* groups


comp.infosystem s.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.infosystem s.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.goo gle.com...
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.infosystem s.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.goo gle.com...
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:absolu te 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
9273
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 work on FireFox or Netscape. What could be wrong? The function: function setActiveTab(tabNo) {
2
4340
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', 'width=300,height=400,left=200,top=200,toolbar=no,resizable=no,menubar=no'); } </script>
5
2151
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
1478
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 and stylesheet guides on the internet seem to be based on web sites (rather than applications) based on relatively static textual information. I have read that external stylesheet files are the way to go, but it seems to me that these only lend...
2
2740
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# to populate the HTML table? 2. How do i pull some figures from the second column and add them up in the Total field.
0
2573
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 link (1,2,3 so on). The code can be found in SubscriptionCart.aspx.cs. Default.aspx ------------
2
8917
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 BuildVersion="1,5,0815,0 " CountryName="Afghanistan" > <Language locale="English">
3
1920
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 instead. The following is the java script that i am using and i am having trouble in using a class instead of a style tag because simply replacing the style=\"position:absolute;\" tag with class=\"posiAbs\" where in the external css ".posiAbs...
3
3910
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 javascript windows to say the field is not keyed into properly. However, when i convert this html(with javascript inside) into perl script, the perl script did not validate when i keyed incorrect data in the form and it straight away executed perl script...
0
9423
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
10049
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9998
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9865
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
8876
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...
1
7413
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5310
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2815
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.