473,385 Members | 1,320 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.

tables vc css

I am trying to split a web-page in 3 columns, the left and right
columns of
fixed width and the middle one changing size with browser.

I can do this with this table:
<table width="100%" border="1">
<tr>
<td width="200" bgcolor="#FF0000">&nbsp;</td>
<td bgcolor="#0000FF">&nbsp;</td>
<td width="200" bgcolor="#00FF00">&nbsp;</td>
</tr>
</table>

But is it possible to do this with 3 <div> tags so as to work in
explorer
5.5+ netscape 6+ & firefox?

eg one might expect 3 divs with id's a, b & c to work given styles:

#a {position: absolute; left: 5px; background-color: #FFFF00; width:
200px}
#b {position: absolute; float: left; left: 205px; background-color:
#FF0000}
#c (position: absoulte; right: 5px; background-color: #00FFFF; width:
200px)

but they do not.

any suggestions?

Nov 8 '05 #1
3 1598
"ab**********@yahoo.com" <ab**********@yahoo.com> said:
I am trying to split a web-page in 3 columns, the left and right
columns of
fixed width and the middle one changing size with browser....
...any suggestions?


Google "CSS multiple columns"
--
-=tn=-
Nov 8 '05 #2
With neither quill nor qualm, ab**********@yahoo.com quothed:
I am trying to split a web-page in 3 columns, the left and right
columns of
fixed width and the middle one changing size with browser.

I can do this with this table:
<table width="100%" border="1">
<tr>
<td width="200" bgcolor="#FF0000">&nbsp;</td>
<td bgcolor="#0000FF">&nbsp;</td>
<td width="200" bgcolor="#00FF00">&nbsp;</td>
</tr>
</table>

But is it possible to do this with 3 <div> tags so as to work in
explorer
5.5+ netscape 6+ & firefox?

eg one might expect 3 divs with id's a, b & c to work given styles:

#a {position: absolute; left: 5px; background-color: #FFFF00; width:
200px}
#b {position: absolute; float: left; left: 205px; background-color:
#FF0000}
#c (position: absoulte; right: 5px; background-color: #00FFFF; width:
200px)

but they do not.

any suggestions?


You can try forgetting the float, set the width of b to 100%, insert a
div in it with padding r/l equal to widths of a and c, and z-index
accordingly.

--
Neredbojias
Contrary to popular belief, it is believable.
Nov 8 '05 #3
On 8 Nov 2005 01:09:30 -0800, "ab**********@yahoo.com"
<ab**********@yahoo.com> wrote:
I am trying to split a web-page in 3 columns, the left and right
columns of
fixed width and the middle one changing size with browser.


If you'd searched as widely as you'd posted, you'd already have the
answer. Try the glish.com or bluerobot sites for good well-described
examples.
Nov 8 '05 #4

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

Similar topics

44
by: Mariusz Jedrzejewski | last post by:
Hi, I'll be very grateful if somebody can explain me why my Opera 7.23 (runing under linux) doesn't show me inner tables. Using below code I can see only "inner table 1". There is no problem with...
3
by: Random Person | last post by:
Does anyone know how to use VBA to relink tables between two MS Access databases? We have two databases, one with VBA code and the other with data tables. The tables are referenced by linked...
11
by: dskillingstad | last post by:
I've been struggling with this problem for some time and have tried multiple solutions with no luck. Let me start with, I'm a novice at Access and I'm not looking for someones help to design my...
2
by: Jill Elaine | last post by:
I am building an Access 2002 frontend with linked tables to an encrypted Paradox 7 database. When I first create these linked tables, I'm asked for the password to the encrypted Paradox database,...
1
by: Shelby | last post by:
Problem: My company generates its own data export from a propietary database. These (free) tables can be read in C#.NET using a Visual FoxPro driver (vfpoledb). I can read each of the six tables...
59
by: phil-news-nospam | last post by:
In followups by Brian O'Connor (ironcorona) to other posts, he repeats the idea that using tables in CSS is not something that should be done because IE doesn't support it. Of course I'm not happy...
5
by: rdemyan via AccessMonster.com | last post by:
I have a need to add another field to all of my tables (over 150). Not data, but an actual field. Can I code this somehow. So the code presumabley would loop through all the tables, open each...
4
by: db2admin | last post by:
Hello, I want to plan rearranging tables in our database according to business areas. say all tables in business area A will be in seperate tablespace or tablespaces. I am planning to monitor...
25
by: bubbles | last post by:
Using Access 2003 front-end, with SQL Server 2005 backend. I need to make the front-end application automatically refresh the linked SQL Server tables. New tables will be added dynamically in...
11
by: shriil | last post by:
Hi I have this database that calculates and stores the incentive amount earned by employees of a particular department. Each record is entered by entering the Date, Shift (morn, eve, or night)...
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: 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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.