Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Table borders in NS4

Table borders in NS4
Thread Tools
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
Mar 23, 2002, 10:22 AM
 
I'm trying to get a solid, one-color table border (or any border around a box). I've managed the feat in everything but Netscape4 thus far. Unfortunately, as usual, NS4 seems to be giving me issues. CSS borders are unacceptable, because NS4 puts a space between the border and the content. But I can't seem to get a combination of table border attributes that works either. Anyone have any ideas?

(and before anyone asks, compatibility with other browsers is not an issue; I'm going to be serving this stuff to Netscape via a server-side XSLT transform that other browsers won't get. So I'd even be willing to try JSSS if that'd work).
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
Dedicated MacNNer
Join Date: Nov 2001
Location: Are Eye
Status: Offline
Reply With Quote
Mar 24, 2002, 07:47 AM
 
I tried all my tricks, and I can't do it. One thing I didn't try though is using negative magin values in the styles for NS4 to try to counter-act the dead space. I dont know if that will work.

Another possibility is to use the <layer> tag that NS4 supports. I've never used it so I don't know if it'll do what you need, but it might be worth a shot. (I never code anything specifically for NS4 other than a message saying please upgrade to Netscape 6.)
     
Forum Regular
Join Date: Jan 2002
Location: japan
Status: Offline
Reply With Quote
Mar 24, 2002, 08:35 AM
 
cant you just create a black table, then put a white table inside it - thus creating a black bordered table.

should work fine in NS4
http://www.yongfook.com
     
Professional Poster
Join Date: Oct 2000
Location: Toronto, ON
Status: Offline
Reply With Quote
Mar 24, 2002, 01:59 PM
 
All mine are done like the table on this page:

black border table
The Lord said 'Peter, I can see your house from here.'
     
Grizzled Veteran
Join Date: Jun 2001
Location: Melbourne, Australia
Status: Offline
Reply With Quote
Mar 24, 2002, 03:10 PM
 
<table border="1" bordercolor="#ff0000" cellspacing="0" cellpadding="5" bgcolor="#333333">

You still get a faint bevel on the inside of the table, but it's the cleanest way for this to work (even if it isn't HTML 4.01 compliant)
Computer thez nohhh...
     
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
Mar 26, 2002, 08:32 PM
 
After looking at the HTML for several pages (including the MacNN forums), I think I'm going to go the table-in-table route.

Now I just have to get my XSLT working to transform my nice clean DIV's...
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:03 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2