Generic HTML Code for All Browsers
Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Web Design Discussion
Forum Description: Discussion on web design and development subjects.
URL: https://forums.webwiz.net/forum_posts.asp?TID=17534
Printed Date: 28 March 2026 at 11:07pm Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: Generic HTML Code for All Browsers
Posted By: Cory
Subject: Generic HTML Code for All Browsers
Date Posted: 13 December 2005 at 10:52pm
Good Evening All,
I am looking for an HTML code that is
compatible with most browsers. The problem I am having is with
tables. In IE it does not show the borders on each individual
cell however in Mozilla Firefox you can see the borders on each
individual cell. I am looking for a code that will NOT show the
borders of each cell in most browsers.
Any ideas? - Any and all assistance is much appreciated.
Thanks in Advance. 
------------- www.tech-central.ca
|
Replies:
Posted By: Phat
Date Posted: 14 December 2005 at 12:00am
use CSS styles to set the borders of each cell. I thnk that will do what you need.
------------- http://buildit.sitesell.com/sitebuildithome.html - Get a website that sells
|
Posted By: Cory
Date Posted: 14 December 2005 at 10:29pm
Ok, so I understand what CSS is and I understand the crazy things you
can do with CSS however, I am not familiar with CSS. I did some
research applied what I had learned. My problem now is when I
added the code to a cell to show no borders it took away the border
around the table as well. I would like to leave the border around
the table however make it disappear for each cell. Does that make
sense? Any ideas?
Once again any and all assistance is very much appreciated.
Thanks in advance,
Cory
------------- www.tech-central.ca
|
Posted By: WebWiz-Bruce
Date Posted: 15 December 2005 at 4:37am
If you want something compatible with all browsers and before CSS came along the way I use to do it was to use 2 tables.
The 1st table was just to do the border, with a background colour you
wanted the border to be and cellpadding set to 1, then place the 2nd
table inside this with the background colour set to whatever you wanted
the table inside colour to be.
Messing around with diffirent cell spacing/padding etc. will make different effects.
------------- https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting
|
|