Sijun Forums Forum Index
Log in to check your private messages
My Profile Search Who's Online Member List FAQ Register Login Sijun Forums Forum Index

This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
   Sijun Forums Forum Index >> Random Musings
View previous topic :: View next topic  
Author   Topic : "*thinks* *thinks some more* *explodes*"
Rat
member


Member #
Joined: 10 Feb 2002
Posts: 851
Location: Vancouver, BC, Canada

PostPosted: Thu Jan 16, 2003 8:55 am     Reply with quote
Does anyone know how to do tables with a BLACK border, as opposed to an ugly one? And if anyone does know, can they please, please, PLEASE help me?

Did I mention please?

Smile
_________________
~Gio

afterglow
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Matthew
member


Member #
Joined: 05 Oct 2002
Posts: 3784
Location: I am out of here for good

PostPosted: Thu Jan 16, 2003 8:57 am     Reply with quote
are you using photoshop or painter? Smile
Back to top
View user's profile Send private message Send e-mail
Rat
member


Member #
Joined: 10 Feb 2002
Posts: 851
Location: Vancouver, BC, Canada

PostPosted: Thu Jan 16, 2003 9:03 am     Reply with quote
oops...*smacks head*

I'm actually coding in HTML. Sorry...I was just coming back here to mention that in the original post, but you got here first. Embarassed
_________________
~Gio

afterglow
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Matthew
member


Member #
Joined: 05 Oct 2002
Posts: 3784
Location: I am out of here for good

PostPosted: Thu Jan 16, 2003 9:09 am     Reply with quote
hehe. Smile
ok I thought you meant in a painting program...uppsss..sorry.
I think that should be some kind of Javascript.?
maybe not??...I shall see if I remember the command...hmmm


Last edited by Matthew on Thu Jan 16, 2003 9:11 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
Drunken Monkey
member


Member #
Joined: 08 Feb 2000
Posts: 1016
Location: mothership

PostPosted: Thu Jan 16, 2003 9:10 am     Reply with quote
Don't smack yourself.

I always nested two tables.

http://aspalliance.com/aylar/viewpastecode.aspx?pastecodeid=284
Back to top
View user's profile Send private message
Matthew
member


Member #
Joined: 05 Oct 2002
Posts: 3784
Location: I am out of here for good

PostPosted: Thu Jan 16, 2003 9:12 am     Reply with quote
Maybe something like this. Smile

<table width="180" border="0" cellspacing="2" cellpadding="0" bgcolor="black">
<tr>
<td bgcolor="white"></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</table>
Back to top
View user's profile Send private message Send e-mail
Matthew
member


Member #
Joined: 05 Oct 2002
Posts: 3784
Location: I am out of here for good

PostPosted: Thu Jan 16, 2003 9:14 am     Reply with quote
That would mean that the top left area would be white, I think you can make the border with the bgcolor command. and then give the other frames backgrounds aswell. Smile
Back to top
View user's profile Send private message Send e-mail
Matthew
member


Member #
Joined: 05 Oct 2002
Posts: 3784
Location: I am out of here for good

PostPosted: Thu Jan 16, 2003 9:15 am     Reply with quote
Are you Notepad Coding?
Back to top
View user's profile Send private message Send e-mail
AndyT
member


Member #
Joined: 24 Mar 2002
Posts: 1545
Location: Germany

PostPosted: Thu Jan 16, 2003 9:36 am     Reply with quote
Don't the HTML borders always look ugly?

Altered Matthew's version a little...
<HTML>
<HEAD></HEAD>
<BODY><CENTER>
<table width="180" border="0" cellspacing="2" cellpadding="0" bgcolor="black">
<tr>
<td bgcolor="white">&nbsp</td>
<td bgcolor="white">&nbsp</td>
<td bgcolor="white">&nbsp</td>
</tr>
<tr>
<td bgcolor="white">&nbsp</td>
<td bgcolor="white">&nbsp</td>
<td bgcolor="white">&nbsp</td>
</tr>
<tr>
<td bgcolor="white">&nbsp</td>
<td bgcolor="white">&nbsp</td>
<td bgcolor="white">&nbsp</td>
</tr>
</table>
</CENTER></BODY>
</HTML>
_________________
http://www.conceptworld.org
Back to top
View user's profile Send private message Send e-mail Visit poster's website
oDD
member


Member #
Joined: 07 May 2002
Posts: 1000
Location: Wroclaw Poland

PostPosted: Thu Jan 16, 2003 9:43 am     Reply with quote
Dr. Monkey is right. The colored borders in a table are always made from two tables. cellspacing is the thickness of the border.
_________________
portfolio | art blog
Back to top
View user's profile Send private message Visit poster's website
Gort
member


Member #
Joined: 09 Oct 2001
Posts: 1545
Location: Atlanta, GA

PostPosted: Thu Jan 16, 2003 10:18 am     Reply with quote
Ugly?

Colored borders can work well if used the right way within the constructs of a visual layout.

I've played around with actually using a style sheet classification that is then applied to the table set; if you're already using CSS, you might want to give it a whirl.

http://www.w3schools.com/css/css_border.asp

Nesting tables is another - as mentioned before.
_________________
- Tom Carter

"You can't stop the waves but you can learn to surf" - Jack Kornfield
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Matthew
member


Member #
Joined: 05 Oct 2002
Posts: 3784
Location: I am out of here for good

PostPosted: Thu Jan 16, 2003 10:24 am     Reply with quote
I think I saw somewhere that borders can be colored with Javascript, am I wrong there?
Back to top
View user's profile Send private message Send e-mail
elam
member


Member #
Joined: 27 Sep 2000
Posts: 456
Location: Motown

PostPosted: Thu Jan 16, 2003 10:36 am     Reply with quote
Rat, you ever use Cascading Style Sheets?

In your <table> tag, put style="border: thin black solid;".
So, for example, <table style="border: thin black solid>content</table>

CSS works great in IE6 and pretty well in IE5 and mozilla and netscape.
Screw all that table bidness.


Last edited by elam on Thu Jan 16, 2003 11:52 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
Gort
member


Member #
Joined: 09 Oct 2001
Posts: 1545
Location: Atlanta, GA

PostPosted: Thu Jan 16, 2003 10:49 am     Reply with quote
Hey elam - is there an echo in here?
Razz
_________________
- Tom Carter

"You can't stop the waves but you can learn to surf" - Jack Kornfield
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
eyewoo
member


Member #
Joined: 23 Jun 2001
Posts: 2662
Location: Carbondale, CO

PostPosted: Thu Jan 16, 2003 10:58 am     Reply with quote
At one time I was the lead website UI designer at a now defunct Corp - victim of the dot com disaster... anyway, desined a website that has a bunch of tutorials on creating HTML tables of all kinds...

http://www.mojoko.com/ghtml/index.html
_________________
HonePie.com
tumblr blog
digtal art
Back to top
View user's profile Send private message Send e-mail Visit poster's website
-HoodZ-
member


Member #
Joined: 28 Apr 2000
Posts: 905
Location: Jersey City, NJ, USA

PostPosted: Thu Jan 16, 2003 11:05 am     Reply with quote
AAAUGH! Phil the blinker background gave me seizures Shocked but yet i pressed it a couple more times Shocked
Back to top
View user's profile Send private message Send e-mail Visit poster's website
eyewoo
member


Member #
Joined: 23 Jun 2001
Posts: 2662
Location: Carbondale, CO

PostPosted: Thu Jan 16, 2003 1:12 pm     Reply with quote
Twisted Evil
_________________
HonePie.com
tumblr blog
digtal art
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Chris
member


Member #
Joined: 22 Oct 1999
Posts: 746
Location: Iowa

PostPosted: Thu Jan 16, 2003 4:38 pm     Reply with quote
I am going to be more happy this year because our company has taken off netscape for testing on all our future contracts (just not enough stats to worry about them anymore) Wink

They will have to pay a lot to include netscape testing now. yipee!! LOL

Oh, ps = I would go with CSS Wink
_________________
My signature is irrelevant
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Rat
member


Member #
Joined: 10 Feb 2002
Posts: 851
Location: Vancouver, BC, Canada

PostPosted: Thu Jan 16, 2003 5:23 pm     Reply with quote
Thanks! Every time I tried nesting tables, my page buggered itself up somehow. I dunno what I was doing wrong. Couldn't have been much, though. I'm using that for my current layout.

I'm most likely to use CSS. Seems the best/easiest/most useful choice.
_________________
~Gio

afterglow
Back to top
View user's profile Send private message Send e-mail MSN Messenger
eyewoo
member


Member #
Joined: 23 Jun 2001
Posts: 2662
Location: Carbondale, CO

PostPosted: Thu Jan 16, 2003 7:22 pm     Reply with quote
Nesting tables is the best way to do it... You just have to make sure that your nested code is correct. If it is, it'll work properly in any browser. If it's not, some browsers are more forgiving than others - Netscape is the least forgiving.

<!-- START --->
<table cellspacing=0 cellpadding=1 bgcolor="black"><tr><td>
<table cellspacing=0 cellpadding=12 bgcolor="white" width=150><tr><td>

Some garbage and text to fill in the thing so that there is something within the thing to make the thing have some substance so that the thing will be big enough to show the black border.

</td></tr></table>
</td></tr></table>
<-- END --->

Cut and paste the above into an HTML file. The cellpadding in the outer table (the first one) controls the width of the black line. The cellpadding in the inner table (the nested table) controls the margins for the text or image or whatever is in the nested table.
_________________
HonePie.com
tumblr blog
digtal art
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Gort
member


Member #
Joined: 09 Oct 2001
Posts: 1545
Location: Atlanta, GA

PostPosted: Fri Jan 17, 2003 7:26 am     Reply with quote
About nesting tables:

Be cautious if your parent tableset and it's nested offspring have relative (percentages) and absolute (by pixel) width values - that can often cause problems!
_________________
- Tom Carter

"You can't stop the waves but you can learn to surf" - Jack Kornfield
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
eyewoo
member


Member #
Joined: 23 Jun 2001
Posts: 2662
Location: Carbondale, CO

PostPosted: Fri Jan 17, 2003 11:03 am     Reply with quote
In the scheme I've shown above, the outer table should never have a width or height setting of any kind. The only important setting is the CELLPADDING number to determine how many pixels wide the border will be and the BGCOLOR setting to determine color. Also, the outer setting can have an alignment setting such as ALIGN="CENTER" so that the whole table scheme will center itself.

OTOH, The nested table can have width settings, percentage or pixel based, It will then determine the overall size of the table scheme. If there are no width settings, then the content of the nested table's cells will determine overall size.
_________________
HonePie.com
tumblr blog
digtal art
Back to top
View user's profile Send private message Send e-mail Visit poster's website
strata
member


Member #
Joined: 23 Jan 2001
Posts: 665
Location: stockholm, sweden

PostPosted: Fri Jan 17, 2003 2:35 pm     Reply with quote
Chris, you guys took netscape out of the equation? That's retarded... if you just taught your programmers to use w3c standards and xhtml along with css, thus being able to validate it you'd be able to offer the client a better package: A guarantee that the website you produce can be seen on any platform, on any browser. It's not that hard really, just a matter of using a few different tags. It's well worth it.

Not designing for netscape or opera is shooting yourself in the foot, when it's that easy to do. Check out www.hippytrippy.net or www.article19.co.uk - both are validated and guaranteed to work anywhere (they both used to look like shite in opera and ns before I reprogrammed hippytrippy and my buddy did a19, now they look the same - everywhere)
_________________
Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Rat
member


Member #
Joined: 10 Feb 2002
Posts: 851
Location: Vancouver, BC, Canada

PostPosted: Sat Jan 18, 2003 8:25 pm     Reply with quote
I got it. Used CSS in the <head> tag. Screw Netscape. It worked fine.
_________________
~Gio

afterglow
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Giant Hamster
member


Member #
Joined: 22 Oct 1999
Posts: 1782

PostPosted: Sat Jan 18, 2003 10:47 pm     Reply with quote
Quote:
Not designing for netscape or opera is shooting yourself in the foot


simply using netscape or opera in the first place is shooting yourself in the foot.[/quote]
Back to top
View user's profile Send private message
strata
member


Member #
Joined: 23 Jan 2001
Posts: 665
Location: stockholm, sweden

PostPosted: Sun Jan 19, 2003 2:22 am     Reply with quote
even though I use ie, they're actually not that bad... operas system of loading the pages is quite good really... and there's a few million people who like them enough to use them exclusively, and that alone is reason enough to design for them... how's about the fact that netscape is the supplied AOL browser these days... yes, they're retards, but they're millions of retards Wink
_________________
Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Rat
member


Member #
Joined: 10 Feb 2002
Posts: 851
Location: Vancouver, BC, Canada

PostPosted: Sun Jan 19, 2003 1:37 pm     Reply with quote
Here's a test page. I'm probably gonna change the spacing and colors some, and maybe some other stuff. Depends what it looks like as a final product.
_________________
~Gio

afterglow
Back to top
View user's profile Send private message Send e-mail MSN Messenger
eyewoo
member


Member #
Joined: 23 Jun 2001
Posts: 2662
Location: Carbondale, CO

PostPosted: Sun Jan 19, 2003 8:34 pm     Reply with quote
Add this to your table tag. It'll put some left right margin spacing in the cells.

<TABLE width="600" cellspacing="0" cellpadding="12" align="center">

Change the "12"to whatever width you'd like the margins to be.
_________________
HonePie.com
tumblr blog
digtal art
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Rat
member


Member #
Joined: 10 Feb 2002
Posts: 851
Location: Vancouver, BC, Canada

PostPosted: Sun Jan 19, 2003 8:45 pm     Reply with quote
Thanks...I will.
_________________
~Gio

afterglow
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Sijun Forums Forum Index -> Random Musings All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Powered by phpBB © 2005 phpBB Group