View Full Version : borderwidth.
Morgoth
08-12-2002, 11:30 AM
Hello,
<table border=1>
<tr>
<td>
1
</td>
</tr>
</table>
This is my table code (basically). What I wish to have is a border that is thinner then just 1.
I have seen it done, but I can't seem to find a site that has this, that I could look through the source for.
Do you know what I am looking for?
Can you help me?
(I want any method you can throw at me)
Thank you.
Morgoth
08-12-2002, 11:40 AM
Well,
I answered my own question.
<table width="125" cellpadding="0" cellspacing="1" border="0" bgcolor='#000000'>
<tr>
<td>
<table border="0" bgcolor="#FFFFFF" width="100%">
<tr>
<td>
TEST WORDS
</td>
</tr>
</table>
</td>
</tr>
</table>
Thank you for anyone that looked at this and was about to reply.
landon11
08-12-2002, 04:05 PM
or this:
<table bgcolor="#ffffff" width="125" style="border: 1px solid #000000;">
<tr>
<td>
TEST WORDS
</td>
</tr>
</table>
Morgoth
08-13-2002, 10:37 AM
I have alwasy loved style tags!
It's perfect. Thank you so much for showing this to me, I'll use this instead.
whackaxe
08-13-2002, 11:04 AM
i prefer to use an external style sheet instead of tag based or in <style> tags because you cn modify your whole site design by changing one file
Morgoth
08-13-2002, 12:14 PM
I use a config file to include on any page to all pages..
It acts the same way..
But a differnt style page could be usefull!
Can you explain more about this? please? A tutorial maybe?
whackaxe
08-13-2002, 06:12 PM
to have an external style file you must do 2 things
1) format your code just as you would in <style> tags (exept without the tags of course) and save the file as mysite.css
2) on the page where you want the style to be used insert this line
<link rel="stylesheet" href="mysite.css" type="text/css">
and your set
Morgoth
08-14-2002, 10:08 AM
Oh neat.
But what about if i was using the style tags once, and in one part of all my code in one page.
I don't really see the point of having ot make another fiel for about 5-10 lines of code. Do you?
whackaxe
08-14-2002, 11:18 AM
well not for 5-10 llines of code, but i always have huuuuuuuuge style sheets so i like to keep them in a seperate file
brothercake
08-14-2002, 12:04 PM
You should always use style sheets, even for single instances. If something's only going to happen on one page then put it in <style> tags in the head of that page.
Inline CSS is unstable in netscape 4; especially things it doesn't support
Morgoth
08-14-2002, 12:12 PM
I think for something as small as this, it doesnm't matter.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.