Border disappearing from forum post?
Border disappearing from forum post?
|
|||||||
---|---|---|---|---|---|---|---|
Posted 2021-01-16 04:26:35
This isn't a huge issue at all but it's leaving me scratching my head and I want to figure it out just for the sake of learning how to do HTML! I had written the code for tables that had borders around each cell, like so: <style> <table style="width:100%"> It even showed up how I wanted in the preview: But as soon as I hit post, it shows up like this:
|
Zea #27549 |
Posted 2021-01-17 13:35:29 (edited)
<style> won't work, but div style or table style (for example) will work. That being said, you need to add your border code to your table and your td codes (don't need one around th).
[Side note, make sure you end your declaration! For example, font-weight: bold; needs a semi-colon after it. If you have more than one declaration, the code will get messed up.]
<table style="width: 100%; border:1px solid #000000; text-align: center;">
|
fireflii #757 |
Posted 2021-01-17 14:22:03
Thank you so much!!! |
Zea #27549 |