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

Eliminating final table in XHTML source

Attempting to do away with all superfluous use of tables
(i.e., tables used solely for layout) on our corporate web site,
I have reached an impasse : I have one table left
(containing a single cell) which, if removed or replaced
by a <div> or <span>, causes the vertically-repeating background
image at far-left of the design to disappear.

The two variants of the page, one with and one without tables,
can be seen at

http://www.royal-holloway.org.uk/Ser...x-notable.html

and

http://www.royal-holloway.org.uk/Ser...-onetable.html

I would much appreciate any insights into why the final
table cannot be eliminated without loss of the tesselating
background image ...

Philip Taylor, RHBNC
Jul 20 '05 #1
2 1521
Philip TAYLOR [PC87S/O-XP] wrote:
Attempting to do away with all superfluous use of tables
(i.e., tables used solely for layout) on our corporate web site,
I have reached an impasse : I have one table left
(containing a single cell) which, if removed or replaced
by a <div> or <span>, causes the vertically-repeating background
image at far-left of the design to disappear.

The two variants of the page, one with and one without tables,
can be seen at
http://www.royal-holloway.org.uk/Ser...x-notable.html
and
http://www.royal-holloway.org.uk/Ser...-onetable.html

I would much appreciate any insights into why the final
table cannot be eliminated without loss of the tesselating
background image ...


I don't see the problem that you describe. (I'm not even sure what you mean).
I see different problems. The vertical blue bar on the left has clear problems
with it, in all cases. You appear to be trying to build this up in sections,
and using invalid CSS in the process. (Try validating the CSS).

IE 5 & 6 don't put the "Academic services" and "Administration" on the same
level. It drops the latter below the former. I think this is a rounding error.
Change the "50%" widths in the floated elements to (say) "49%" and the floats
may work. Whether this cures your other problems is a another matter.

The way you try to build the left hand blue bar is going to cause you
problems. For example, if I view with a very small text size, it looks OK. If
I view with large text sizes, it blows apart. I strongly suggest that you
don't try to build it by adding 125x17.png to RH-Mask-blue.png, but find
another way of doing it.

--
Barry Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/
Jul 20 '05 #2
Barry Pearson wrote:
I don't see the problem that you describe. (I'm not even sure what you mean).
I see different problems. The vertical blue bar on the left has clear problems
with it, in all cases. You appear to be trying to build this up in sections,
and using invalid CSS in the process. (Try validating the CSS).

IE 5 & 6 don't put the "Academic services" and "Administration" on the same
level. It drops the latter below the former. I think this is a rounding error.
Change the "50%" widths in the floated elements to (say) "49%" and the floats
may work. Whether this cures your other problems is a another matter.

The way you try to build the left hand blue bar is going to cause you
problems. For example, if I view with a very small text size, it looks OK. If
I view with large text sizes, it blows apart. I strongly suggest that you
don't try to build it by adding 125x17.png to RH-Mask-blue.png, but find
another way of doing it.


Oops, you're right : I was testing with Mozilla; I now see that neither IE
nor Opera demonstrate the problem, but IE manifests a different one. The
invalid CSS is an artificat of Dreamweaver : I thought I'd eliminated
"layer-*" properties, but I see they've crept back in again. As to building
up the blue stripe, this really is the hardest part of the whole exercise;
my layering of a vertically tesellating 1px strip and appending a final
curved graphic was the only way in which I managed to achieve it at all,
but I am now thinking of trying to re-do it using one layer (DIV) for the top
stripe and another for everything beneath ...

** Phil.

Jul 20 '05 #3

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

Similar topics

13
by: Tjerk Wolterink | last post by:
Hello i've an xsl stylesheet that must support xhtml entities, my solution: ---- <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE xsl:stylesheet > <xsl:stylesheet version="1.0"...
4
by: FrankIsHere | last post by:
Hi! I cannot figure out how to remove XHTML tags from an XML source file using XSLT. Here's what I have: source XML file: <?xml version='1.0'?> <Offer ID="S0173"...
3
by: cp | last post by:
If I have the following functions, is there a way to alter showData() to get at the value of the array without resorting to an eval? <html> <head> <title>Test</title> <script...
61
by: Toby Austin | last post by:
I'm trying to replace <table>s with <div>s as much as possible. However, I can't figure out how to do the following… <table> <tr> <td valign="top" width="100%">some data that will...
5
by: Patient Guy | last post by:
In my reading of the Strict and Transitional DTD for HTML 4.0, the table row (TR) elements are contained within table section elements: THEAD, TFOOT, and TBODY. The table section elements are...
3
by: TheXenocide | last post by:
Hello, First and foremost I'll describe a bit about my problem: I'm trying to make a site layout using ASP.NET 2.0 in Visual Studio .NET 2005 Beta 2. The site is a table based layout that is...
8
by: Rasmus Kromann-Larsen | last post by:
The With Conundrum I'm currently writing a master thesis on (preparations for) static analysis of JavaScript, and after investigating the with statement, it only even more evident to me that the...
5
jamesd0142
by: jamesd0142 | last post by:
My manager and I where looking at some complex code to eliminate duplicate records in a database table. then it hit me how its done easily... so i thought i'd share it... In English:...
12
by: enrique | last post by:
Does anyone know what the upper limit is to the number of rows you can dynamically add to an HTML table, using Javascript? I tried to make a table consisting of over 74,000 rows and Firefox stops...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
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...
0
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,...
0
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...
0
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,...

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.