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

tables HTML vs CSS

I have flipped over nearly all the table logic on my website from HTML
to CSS.

I am using Opera 7.5

I could not get quite the same inset effects with CSS I could with
plain HTML. Plain HTML gives a sort of 3D effect of bars between the
cells. CSS is much more primitive looking, with overly dark bars, no
matter what I set the border-color.

Is there some attribute I am overlooking, or is that just the way it
is?

My style sheet is at http://mindprod.com/mindprod.css

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
Jul 20 '05 #1
5 2375
Roedy Green <lo*****@mindprod.com.invalid> wrote:
I have flipped over nearly all the table logic on my website from HTML
to CSS.
I hope you only replaced tables used for layout?
I am using Opera 7.5

I could not get quite the same inset effects with CSS I could with
plain HTML. Plain HTML gives a sort of 3D effect of bars between the
cells. CSS is much more primitive looking, with overly dark bars, no
matter what I set the border-color.
You have borders showing on layout containers? If as I suspect you
replaced tables used to hold tabular data you should put the tables
back.
Is there some attribute I am overlooking, or is that just the way it
is?


CSS generated borders are rendered different from table borders in both
Opera and Mozilla (I forgot how IE behaves), there's no way to get them
to look the same.

--
Spartanicus
Jul 20 '05 #2
On Tue, 29 Jun 2004 19:02:13 GMT, Roedy Green wrote:
I could not get quite the same inset effects with CSS I could with
plain HTML. Plain HTML gives a sort of 3D effect of bars between the
cells. CSS is much more primitive looking, with overly dark bars, no
matter what I set the border-color.


'border-style' is the property you seek.
It can be dotted, dashed, solid, double,
groove (whataboutfunk?), ridge, inset and outset..

I think the ones you are after are inset and outset,
but I usually use it in the shorthand way..

h1 { border: inset 2px #bfb; }

HTH

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
Jul 20 '05 #3
On Tue, 29 Jun 2004 19:20:23 GMT, Andrew Thompson wrote:
On Tue, 29 Jun 2004 19:02:13 GMT, Roedy Green wrote:
I could not get quite the same inset effects with CSS I could with
plain HTML.
.... h1 { border: inset 2px #bfb; }


It occured to me you might *also* play
with colors of individual borders, putting
border-left(?) and border-top lighter than
border-right / border-bottom..

...I use the other way, it is simpler.

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
Jul 20 '05 #4
On Tue, 29 Jun 2004 19:20:23 GMT, Andrew Thompson
<Se********@www.invalid> wrote or quoted :
'border-style' is the property you seek.
It can be dotted, dashed, solid, double,
groove (whataboutfunk?), ridge, inset and outset..

I think the ones you are after are inset and outset,
but I usually use it in the shorthand way..


inset and ridge get close to the default HTML behaviour, but don't
reproduce it. I am tempted to solve the problem by convincing myself
the CSS versions looks more BauHaus.

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
Jul 20 '05 #5
On Tue, 29 Jun 2004 20:23:13 +0100, Spartanicus <me@privacy.net> wrote
or quoted :
You have borders showing on layout containers? If as I suspect you
replaced tables used to hold tabular data you should put the tables
back.


by layout containers you mean tables without borders just used to make
things line up? They seem to be rendering fine. Perhaps it is just
because most of them are tagged class="borderless".

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
Jul 20 '05 #6

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...
5
by: Ben Jessel | last post by:
I am in the process of converting my site to using XHTML and CSS. A lot of my sites include tables of data, which are highlighted using javascript rollovers. I have converted my a lot of my...
81
by: sinister | last post by:
I wanted to spiff up my overly spartan homepage, and started using some CSS templates I found on a couple of weblogs. It looks fine in my browser (IE 6.0), but it doesn't print right. I tested...
5
by: thatseattleguy | last post by:
I'm stumped. Visit: http://positivesweat.com/class.html ....and look at the tables in the middle labeled "morning" and "evening". Do this in both IE and Firefox. The tables appear to me to...
53
by: Alan Silver | last post by:
Hello, I understand the issue that tables should be used for tabular data and not for layout, but I would like some clarification as to exactly what constitutes tabular data. For example, if...
2
by: Scamjunk | last post by:
I have been desperately looking for a treeview-type solution for my problem for the past three weeks and have been greatly unsuccessful. I am totally new to the world of XSLT and I *don't know*...
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...
53
by: brave1979 | last post by:
Please check out my javascript library that allows you to create any layout for your web page, nested as deep as you like, adjusting to width and height of a browser window. You just describe it in...
2
by: Amie | last post by:
Hi, Thanks for your help so far. Ok here's a scenario: I have to create a site that displays 34 html tables. In each of these tables the following information has to be displayed: logo (image),...
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:
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
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...
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
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...
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...

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.