Border Size

  • 1
  • Question
  • Updated 10 years ago
  • Answered
Does anybody know of a border code that automatically fits to the size of your table without having to manually adjust it to the size of the table? I have many pages and I don't want to have to do this for every single page. Can anyone help?
Photo of Grace

Grace

  • 76 Posts
  • 2 Reply Likes
  • anxious

Posted 10 years ago

  • 1
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Hi Grace,
I am not sure of something that would allow you to automatically set a border size utilizing html. I believe you would need to manually set the border size, but possibly someone else on this forum will have a possible workaround for you.

Kind Regards,
Emmy
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hi Grace

I'm not sure if this is what you mean. This code allows for a table which has a border. If you adjust the table size, the border will also adjust. Try it out and see if this is what you mean.

<!--<body background="http://rumballchick.synthasite.com/re...> <table width="100%" height="100%" border="5px" bordercolor="#d37961" align="center" cellpadding="0" cellspacing="0" bgcolor="#e9e0c5" class="outline"> <table style="border: 5px solid #d37961" bgcolor="#e9e0c5"><tr> <td valign="top"><table width="200" height="10" border="0" cellpadding="0" cellspacing="0" background="%20"> <tr> </tr> </table>-->

The number you adjust is table width="200" part. You can change the background, border, border-width to whatever you want.
Photo of Grace

Grace

  • 76 Posts
  • 2 Reply Likes
Littleus,

I think that's it the one. Just one more thing to clarify. Where do you put the text in the code? How to wrap it around I mean. Thanks.

Grace
(http://destinedfate-shinzo.tk)
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Try putting your text between the last and tags, near the end of the code. If you need to adjust font size, color, then use the font tags between the tags. (e.g. <!--<tr><font color="#42ba12">YOUR TEXT</font></tr>-->
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Don't add that extra tag at the end. I tried to delete it but it keeps popping back in.