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

CSS within table

Hi -
Ok, i know this isn't ideal, but i'm trying to get a quick job done and having a little trouble, so i've reverted to table layout hoping that would help... here's the problem:

to solve some frustrating inconistencies between IE6 and Firefox1 - i was doing a lot of absolute positioning here: http://www.idropinc.com/HowWorks.asp with expandable div holding content...some kludginess, but table free, generally.

Then i tried to solidify the layout using tables, but a span inside a TD doesn't recieve any CSS through class or id (?) w3c says it does, other sites say it does, but mine don't seam to...

here's the broken version... any advice? http://www.idropinc.com/trouble/HowWorks.asp

Thanks...
Jul 21 '05 #1
4 2990
On 10 Dec 2004 09:13:53 -0500, Jon Anunson <ja******@design-plus.com>
wrote:
Ok, i know this isn't ideal, but i'm trying to get a quick job done and having
a little trouble, so i've reverted to table layout hoping that would help...
here's the problem:

to solve some frustrating inconistencies between IE6 and Firefox1 - i was
doing a lot of absolute positioning here: http://www.idropinc.com/HowWorks.asp
with expandable div holding content...some kludginess, but table free, generally.

Then i tried to solidify the layout using tables, but a span inside a TD doesn't
recieve any CSS through class or id (?) w3c says it does, other sites say it does,
but mine don't seam to...

here's the broken version... any advice? http://www.idropinc.com/trouble/HowWorks.asp

IDs must be unique within a page. You have multiple instances of
id="ol" for example.

As ever, checking to see if your code was valid would have been a good
first move:
<http://validator.w3.org/check?uri=http://www.idropinc.com/trouble/HowWorks.asp>
<http://jigsaw.w3.org/css-validator/validator?uri=http://www.idropinc.com/trouble/Styles/MrScreen.css&warning=1&profile=css2>

Steve

Jul 21 '05 #2
Hello Steve,
I'm aware of the of the id's and have run the validators, however changing this does not affect the rendering problems i'm having.
I've also validated my stylesheet, and except for flagging the IE-specific scrollbar tages, that too is kosher.
thanks,
~jon.
On 10 Dec 2004 09:13:53 -0500, Jon Anunson <ja******@design-plus.com>
wrote:
Ok, i know this isn't ideal, but i'm trying to get a quick job done
and having a little trouble, so i've reverted to table layout hoping
that would help... here's the problem:

to solve some frustrating inconistencies between IE6 and Firefox1 - i
was
doing a lot of absolute positioning here:
http://www.idropinc.com/HowWorks.asp
with expandable div holding content...some kludginess, but table
free, generally.
Then i tried to solidify the layout using tables, but a span inside a
TD doesn't recieve any CSS through class or id (?) w3c says it
does, other sites say it does, but mine don't seam to...

here's the broken version... any advice?
http://www.idropinc.com/trouble/HowWorks.asp

IDs must be unique within a page. You have multiple instances of
id="ol" for example.

As ever, checking to see if your code was valid would have been a good

first move:

<http://validator.w3.org/check?uri=ht...om/trouble/How
Works.asp>

<http://jigsaw.w3.org/css-validator/v...//www.idropinc.
com/trouble/Styles/MrScreen.css&warning=1&profile=css2>

Steve


Jul 21 '05 #3
On 10 Dec 2004 10:42:03 -0500, Jon Anunson <ja******@design-plus.com>
wrote:
I'm aware of the of the id's and have run the validators, however changing this does not affect the rendering problems i'm having.
Fix them anyway. Otherwise people here are going to be a lot less
inclided to help you. Same with the top posting.
I've also validated my stylesheet, and except for flagging the IE-specific scrollbar tages, that too is kosher.


Look more closely. One of those errors is reporting (in cruptic terms)
the missing ')' in scrollbar-3dlight-color: rgb(232,242,255;
Fix that and FF will start to co-operate.

And as a bonus here's another obvious thing wrong with your code: you
can't nest comments.

IE6 is also returning a JavaScript error.

And why <span class="Emphasis"> instead of <em>?

Steve

Jul 21 '05 #4
Hello Steve,
On 10 Dec 2004 10:42:03 -0500, Jon Anunson <ja******@design-plus.com>
wrote:
I'm aware of the of the id's and have run the validators, however
changing this does not affect the rendering problems i'm having.

Fix them anyway. Otherwise people here are going to be a lot less
inclided to help you. Same with the top posting.
I've also validated my stylesheet, and except for flagging the
IE-specific scrollbar tages, that too is kosher.

Look more closely. One of those errors is reporting (in cruptic terms)
the missing ')' in scrollbar-3dlight-color: rgb(232,242,255;
Fix that and FF will start to co-operate.
And as a bonus here's another obvious thing wrong with your code: you
can't nest comments.

IE6 is also returning a JavaScript error.

And why <span class="Emphasis"> instead of <em>?

Steve


thanks for your help. I was using the span instead of the em to see if css was working on elements, not classes, or ids.. debugging.
the nested comments were just a messy way to hide something temporarily. not a final solution.
Jul 21 '05 #5

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

Similar topics

1
by: Targa | last post by:
I have an ASP scheduling application in which there are blocks of time, represented with a table, within another table which is the timeline. In other words, I have a table with a vertical...
3
by: T | last post by:
I am attempting to create a menu using <div> and <span> tags within a table cell. When the page loads, some of the classes don't seem to be applied. If I hover over the menu everything is fine...
7
by: Dave | last post by:
I have a system that basically stores a database within a database (I'm sure lots have you have done this before in some form or another). At the end of the day, I'm storing the actual data...
2
by: Kevin | last post by:
I am just learning asp.net and ran into a problem that I have not been able to resolve. I have a web form with an html table that houses an asp:label, asp:textbox and asp:button within. I had the...
6
by: C Glenn | last post by:
I would like to instantiate an object within a DLL for the classes within the DLL to make use of. Is there a way to cause the DLL to instantiate an object within itself when it is first called...
0
by: khoegen | last post by:
Folks, I am in the process of designing a database, within which I have created a table called "tblDOCUMENTS". As the title suggests, this is a list of documents (records) of varying types. I...
1
by: khoegen | last post by:
I've created a Table and wish to create links between the records wtihin the table. Background: The table consists of a list of Documents. These documents contain references to other...
1
by: daniellee2006 | last post by:
I am creating a basic website to store people profiles and within this website i have a page that creates a table dependent on the number of records in mysql written in PHP within these tables...
1
by: Birky | last post by:
I am truly stuck and need some help on how to put this form together; any help or suggestions you can provide would be greatly appreciated. (Sorry this one is so long but I believe it is necessary to...
2
by: Constantine AI | last post by:
I am wanting to import CSV files into Access, which isn't a problem at the moment the code i have is as follows: Dim strSQL As String Dim CSVTable As String Dim FilePath As String Dim Result As...
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: 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...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...

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.