Jump to content

Can I change the color of a table border?


LaLaLa

Recommended Posts

Now I've got another question:How do I change the position of table on the page? I don't need to know how to change the stuff inside of it, but the entire table, itself... and again I'M NOT USING STLYES! It should be something like this:

<html><body><table valign="bottom"><tr><td>Something in the table...</td></tr></body></html>

Thanks,LaLaLa

Link to comment
Share on other sites

  • Replies 78
  • Created
  • Last Reply

Top Posters In This Topic

Where do you want the table on the page?
Well, I want to know how to put it anywhere on the page. There should just be some little word that you add in to the table element like <table valign="center-or-top-or-bottom">See what I mean? For some reason on all of my pages, the table says at the top, even though I thought it was automatically in the center. I'll include some of the code from a page (pull it up in its own box to look at it right):

<html><head><title>Natural Impressions - Wildlife Illustrations & Hand Crafted Home Decor (Galleries)</title></head><body background="http://www.freewebs.com/naturalimpressionsart/green page images/background.gif"onload="window.status='Natural Impressions - Wildlife Illustrations & Hand Crafted Home Decor(Galleries)';return true"><center><font face="arial" color="black" size="1"><br><br><br><table cellspacing="0" border="1" bordercolor="black" width="625" bgcolor="rgb(177,177,151)"><tr><td align="center"><br><br><br><img src="http://www.freewebs.com/naturalimpressionsart/green page images/green links small.bmp"alt="Natural Impressions..." border="0" usemap="#links"><map id="links" name="links"><area shape="rect" coords="1,1,111,38" alt="Button 1"href="http://www.freewebs.com/naturalimpressionsart/green page html/main.htm"><area shape="rect" coords="112,1,223,38" alt="Button 2"href="http://www.freewebs.com/naturalimpressionsart/green page html/artist's bio.htm"><area shape="rect" coords="224,1,334,38" alt="Button 3"href="http://www.freewebs.com/naturalimpressionsart/green page html/galleries.htm"><area shape="rect" coords="335,1,445,38" alt="Button 4"href="http://www.freewebs.com/naturalimpressionsart/green page html/studio.htm"><area shape="rect" coords="446,1,556,38" alt="Button 5"href="http://www.freewebs.com/naturalimpressionsart/green page html/commissions.htm"></map><br><br><font face="papyrus" color="rgb(51,51,0)" size="3"><i><b>Some text goes right here:</b></i><br><br><br><a href="http://www.freewebs.com/naturalimpressionsart/green page html/illustrations 1.htm"><img src="http://www.freewebs.com/naturalimpressionsart/green page images/Illustrations.bmp"border="0" alt="Illustrations"></a><br><br><a href="http://www.freewebs.com/naturalimpressionsart/green page html/home decor.htm"><img src="http://www.freewebs.com/naturalimpressionsart/green page images/Home Decor.bmp"border="0" alt="Home Decor"></a></font><br><br><br></td></tr></table><br><br><br></font></center></body></html>

LaLaLa

Link to comment
Share on other sites

Why dont you start a new topic?Anyway, if you want to center it horizontally, just add <center></center> around you table opening and closing tags.And I think you were right in saying about valign="middle or but not sure which center" in the table tag.

Link to comment
Share on other sites

Why dont you start a new topic?Anyway, if you want to center it horizontally, just add <center></center> around you table opening and closing tags.And I think you were right in saying about valign="middle or but not sure which center" in the table tag.
Thank you for informing me how to center it horizontally, but I just wrote that that's not what I need to know (and I already included that in the codebox above, so that works correctly)!I need to know how to center an entire table (NOT the stuff inside, but the entire table) in different VERTICLE positions on the screen (i.e. "top" "middle" "bottom")...I already tried putting valign="center" (or top or bottom) in everything (inside the body tag [body], just on its own line, table tag [table], table row [tr] tag, table data [td] tag, and even between all of the tags) and it just wouldn't work!I also think thayt I should have named this topic "Help with my entire website" than just with a table border. LOL! Can you tell me what the little blue squares [pip.gif] are below our avvys? (I think it has something to do with how many posts you make...?)LaLaLa

Link to comment
Share on other sites

Aligning something vertically means the parent element of the thing to align must have a bigger height. That is why it probably didn't work. If you put an empty table in an empty body and manually set the height of the body to 100% or a fixed value, and place the table with valign="middle" it should be center aligned (vertically). But if the table equals the height of its parent, or if its parent hasn't got a height specified, it cannot be aligned vertically :) So that is what you should check. I mean the first block-level element that embeds the table, your <center> element. Would it help if you gave that element a fixed height?Those little squares represent the rank the member has. Eg we could have "newbee", "member" and "advanced member". Each rank has its own number of squares, lets say the newbee has one, the member two and advanced member three. You are right that is has something to do with the post count. But this is not new at the forums :)

Link to comment
Share on other sites

Aligning something vertically means the parent element of the thing to align must have a bigger height. That is why it probably didn't work. If you put an empty table in an empty body and manually set the height of the body to 100% or a fixed value, and place the table with valign="middle" it should be center aligned (vertically). But if the table equals the height of its parent, or if its parent hasn't got a height specified, it cannot be aligned vertically :) So that is what you should check. I mean the first block-level element that embeds the table, your <center> element. Would it help if you gave that element a fixed height?Those little squares represent the rank the member has. Eg we could have "newbee", "member" and "advanced member". Each rank has its own number of squares, lets say the newbee has one, the member two and advanced member three. You are right that is has something to do with the post count. But this is not new at the forums :)
I don't think that I quite understand what your saying... I tried putting height="100%" inside the center tag, body tag, and the table data [td] tag and valign="center" in the table tag, but it still didn't work. I can't put 100% height on the entire table, though, because I only want it to be as long as the stuff inside of it, that way it doesn't take up unnecessary room :)I've seen other advanced member with three blue squares [pip.gifpip.gifpip.gif], and you have 3, so are you an advanced member? If you are or aren't, how did you get it to say all of the extra stuff [Dutch Xhtml & PHP programmer]? Even if I post 1 million posts, I can't ever get more than 2 squares? And, I'm going to make a new topic in the JavaScript forum about "If you can change the Windows Staus Bar [windows.staus=''] on an image map and on a hyper-link...LaLaLa

Link to comment
Share on other sites

I don't think that I quite understand what your saying... I tried putting height="100%" inside the center tag, body tag, and the table data [td] tag and valign="center" in the table tag, but it still didn't work. I can't put 100% height on the entire table, though, because I only want it to be as long as the stuff inside of it, that way it doesn't take up unnecessary room :)I've seen other advanced member with three blue squares [

pip.gifpip.gifpip.gif], and you have 3, so are you an advanced member? If you are or aren't, how did you get it to say all of the extra stuff [Dutch Xhtml & PHP programmer]? Even if I post 1 million posts, I can't ever get more than 2 squares? And, I'm going to make a new topic in the JavaScript forum about "If you can change the Windows Staus Bar [windows.staus=''] on an image map and on a hyper-link...LaLaLa

To get to advanced member, I think you need 50 or maybe 60 posts, and then to change the words from advanced member I think it might be 250, or 500, probably more likely 500 though.
Link to comment
Share on other sites

I have over one thousant posts, and I was able to change this "Custom member title" ages ago. But sure, if you reach some amount of posts, you will be named an Advanced Member. And you will be able to change that title, into whatever you want. But I am not sure if that comes with the same amount of posts when you become Advanced Member. :)

Link to comment
Share on other sites

OK, but I don't care if it "Validates" or not
Then that makes you part of the problem. Validation should be a goal of any web developer. The fact is that there is a valid way to do this, but you don't want to. So I have to ask, WHY don't you want to use styles? Is it because you don't want to learn CSS?
Link to comment
Share on other sites

Then that makes you part of the problem. Validation should be a goal of any web developer. The fact is that there is a valid way to do this, but you don't want to. So I have to ask, WHY don't you want to use styles? Is it because you don't want to learn CSS?
Ok justsomewhatever :blink: , thank you for your point... :) But, can we focus on the topic on hand? :)
I have over one thousant posts, and I was able to change this "Custom member title" ages ago. But sure, if you reach some amount of posts, you will be named an Advanced Member. And you will be able to change that title, into whatever you want. But I am not sure if that comes with the same amount of posts when you become Advanced Member. :)
Oh, Ok. Thaks for explaning, I was just wondering, but that table centering isn't working. Accoring to somebody else who just posted, you can't do it without styles...

Link to comment
Share on other sites

Please don't be upset. We just don't know anyone, everyone wants their site to validate. We don't know anyone who doesn't. The only one who would not want it to validate is the one that wants to learn CSS at a later time, or who doesn't want to learn it YET.So therefor we ask, why don't you like (to use) styles (yet) ?Please don't be upset, it is very logical a developer would want to have it validate. If it doesn't, the website goes against any standards that were defined by W3C. Of cource one is allowed to not use standards, but not wanting to use styles at all, means you are against them for whatever reason, or are determined to learn them just on a later point.

Link to comment
Share on other sites

Ok justsomewhatever :blink: , thank you for your point... :) But, can we focus on the topic on hand? :)
Hey, at the end of the day it's your site, if you don't wan't it to validate then that's up to you, all we can do is advise you on best practises.
Oh, Ok. Thaks for explaning, I was just wondering, but that table centering isn't working. Accoring to somebody else who just posted, you can't do it without styles...
It is possible to position a table without styles, you just have to put the table inside another one, then on the parent table specify position attributes.<table width="100%" height="100%" border="1"><tr><td align="right" valign="bottom"> <table border="1"> <tr><td>Hello</td><td>Hi</td></tr> <tr><td>Goodbye</td><td>Bye</td></tr> </table></td></tr></table> :)
Link to comment
Share on other sites

Hey, at the end of the day it's your site, if you don't wan't it to validate then that's up to you, all we can do is advise you on best practises.It is possible to position a table without styles, you just have to put the table inside another one, then on the parent table specify position attributes.<table width="100%" height="100%" border="1"><tr><td align="right" valign="bottom"> <table border="1"> <tr><td>Hello</td><td>Hi</td></tr> <tr><td>Goodbye</td><td>Bye</td></tr> </table></td></tr></table>
Thank you... I think that this should work on the page. OH NO! :dry.gifsad.gifsmile.gifbiggrin.gif:blink:mad.gif:blink::angry::):(:blink:rolleyes.gif:):blink::)BTW, why is there an "emoticon limit"?

Link to comment
Share on other sites

Ok, I hit 500 posts, I edited it but nothing happened. Ill try againEDIT: nevermind :), I just hit the back button to get to here so it showed old cached info. You can edit it once you hit 500 posts.

Link to comment
Share on other sites

Thank you... I think that this should work on the page. OH NO! :

dry.gifsad.gifsmile.gifbiggrin.gif:blink:mad.gif:blink::angry::):(:blink:rolleyes.gif:):blink::)BTW, why is there an "emoticon limit"?

up to 15 emoticons is socially acceptable but anymore beyond that is considered obscene (or at least very irritating). JK (I couldn't add any more emoticons cuz there are 15 in the quote LOL)
Link to comment
Share on other sites

up to 15 emoticons is socially acceptable but anymore beyond that is considered obscene (or at least very irritating). JK (I couldn't add any more emoticons cuz there are 15 in the quote LOL)
Ha! You know, you could always just borrow some of of the Rune H.Q. I.P.B. Forum's emotes (there's at least 100!)...BTW reportingsjr, I think your avvy's kinda funny, but I don't agree with it. I.E. RULES! (At least, I think so)...av-2999.png

Link to comment
Share on other sites

Yeh, same her, also I like the Rune Scape emote icons, but, how would I get them on to MSN?Sorry if this isn't really to do with thi topic :)
Do you mean "Rune HQ emotes"?As for MSN, couldn't you just insert an image and put the URL address of the Rune HQ emotes? Rune HQ emote of some careless dude with a dragon sq. and dragon long:whoops.gif...The entire last page of this topic doesn't really have to do with what is was started for! LOL...

Link to comment
Share on other sites

________________________________________________________________________Has anyone every heard old the old game Descent (I, II, or III)?

Go here for up-to-date stuff...flashmen_1.jpgOk... if not, what about Tyrian?title.gif
Erm, well, is there a folder that you can put custom emote icons into, because I have never found it, and I have even searched for where it is on the internet!
I don't really know that much about MSN, but there might be... Why couldn't you just pull them of the internet like I was talking about?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...