GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   HTML question (https://gfy.com/showthread.php?t=137962)

detoxed 05-28-2003 09:11 PM

HTML question
 
How do i make a table have a 1 pixel wide black border around it?
Just a black line basically..

p00p 05-28-2003 09:12 PM

CSS works the easiest

iroc409 05-28-2003 09:15 PM

table border=0 cellpadding=0 cellspacing=0 bgcolor="#000000" width=504 height=504 | tr | td align="center" valign="center |
table border=0 cellpadding=0 cellspacing=0 bgcolor="#ffffff" width=502 height=502 | tr | td align="center" valign="center |


that works too, if you can use absolutes :)

NBDesign 05-28-2003 09:18 PM

Quote:

Originally posted by p00p
CSS works the easiest
I agree, otherwise... set a table 9x9, all the outer cells 1 px with a blank spacer image in it, set the cell background to black and the center cell is for your content.

chodadog 05-28-2003 09:19 PM

I do it this way. Add these into your td tags.

PHP Code:

style="BORDER-LEFT: #000000 1px solid"
style="BORDER-TOP: #000000 1px solid"
style="BORDER-BOTTOM: #000000 1px solid"
style="BORDER-RIGHT: #000000 1px solid" 

Obviously, if you have a complex table, you'll have to figure out what goes where. But yes, easy enough.

detoxed 05-28-2003 09:23 PM

thanks, i used


html :)


All times are GMT -7. The time now is 03:17 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123