PDA

View Full Version : borders



chris9902
April 21st, 2003, 07:43 AM
how can you make your site have divides/borders for the edge of tables so they are thin lines not thick.

example: www.microsoft.com

see how they have thin borders

abzoid
April 21st, 2003, 08:00 AM
Take a look at the source code. They've used small gif images within the table cells to create the light grey single pixel borders.

Jubba
April 21st, 2003, 09:00 AM
Thats one way. I did something different here:

http://host15.ipowerweb.com/~livetosk/NoFlash/index.html

my single pixel white borders are done by declaring a background color for the table and defining cellpadding=0 border=0 cellspacing=1 then giving the individual cells a different backgroud color.

check out the source code...

mlk
April 21st, 2003, 10:39 AM
I think although Im not sure that CSS now allows people to make a table/cell border as thick as you want...
Check Kirupaforum.com's threads, they seem to have 1 pixel large borders :beam:

chris9902
April 21st, 2003, 05:54 PM
ok i have been testing and testing and found this


<table style="background: #FFFFFF; width: 700px; border: 1px solid #000000">

thats it:sure:


even though he could have edited it himself to fix the code :sigh:

chris9902
April 21st, 2003, 05:55 PM
whoops:whistle:

sorry this is it....


<table style="background: #FFFFFF; width: 700px; border: 1px solid #000000">

abzoid
April 21st, 2003, 06:01 PM
Make sure you test it in multiple browsers. CSS can be a finicky beast to tame if cross-browser compatibility is important. Similar to trying to herd cats. ;)

Jubba
April 21st, 2003, 06:04 PM
<table bgcolor="#FFFFFF" cellspacing="1" cellpadding="0" border="0">

then just define that background color of your cells. works on all browsers because its regular HTML code.

abzoid
April 21st, 2003, 06:38 PM
That will give you the desired 1-pixel border, but be careful with the colors you use. Netscape 4.x does not support the border color parameter. It is always grey. I haven't tested it with Netscape 6 or 7.

chris9902
April 22nd, 2003, 05:16 AM
NS sucks ***.

why do people use that:sigh:

Jubba
April 22nd, 2003, 01:43 PM
that doesn't use border colors. It uses the background color of the table to make it look like it has a border. It should work in netscape, I have tested it before in N6 and it works on Macs as well...

mlk
April 22nd, 2003, 01:51 PM
NS sucks ***.

why do people use that

because I hate microsoft

Jubba
April 22nd, 2003, 01:54 PM
me too, but I still use Windows and I still use IE. I'm not ready to switch to linux yet...

chris9902
April 22nd, 2003, 05:12 PM
i like microsoft.

it does what i want and what i can do so i really see no need to change.

same way i always buy INTEL never AMD or anything.

it's just what i know:smirk:

Jubba
April 22nd, 2003, 07:42 PM
nah, I never buy Intel (although the new hyperthreading seems promising). AMD has always been superior when it comes to processors. I usually like to go with the little-guy developer, but I use Windows and IE because of Simplicity. I use Netscape and Mozilla only when I am testing sites....

chris9902
April 23rd, 2003, 05:28 AM
AMD is SH.I.T

in a mag i brought it shows AMD r infact slower then INTEL. a 1.8ghz AMD is the same as a 1.53ghz INTEL and the more you go up the bigger the gaps become.:smirk:

Jubba
April 23rd, 2003, 09:53 AM
Eh, not really. Not according to the tests my boss and I have done. We heard that same report but we decided to test it out. AMD's performed faster and smoother in all tests. Don't believe everything you read, unless you can back it up with your own hands-on testing...

chris9902
April 23rd, 2003, 10:44 AM
yeah maybe, but i just buy what i can use.:nerd:

Jubba
April 23rd, 2003, 10:50 AM
to each his own.

chris9902
April 23rd, 2003, 02:32 PM
the post has gone so off track(-:

Jubba
April 23rd, 2003, 04:10 PM
yeah it happens. :) The wonderful world of Kirupa.