Title: Form
Last modified: July 16, 2024

---

# Form

 *  Resolved [jianping cheng](https://wordpress.org/support/users/chengjianping/)
 * (@chengjianping)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/form-41/)
 * I want to set up a form like the one in my screenshot. Which code should I use
   to achieve this effect? ​​How should I write it? Is it possible?
   url：[https://imgur.com/a/n3t7Qw7](https://imgur.com/a/n3t7Qw7)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fform-41%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * (@gripgrip)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/form-41/#post-17893400)
 * Hi [@chengjianping](https://wordpress.org/support/users/chengjianping/),
 * I’m not sure how to help here, in the screenshot you shared I can see a table
   and you can build such a table using a HTML snippet by using HTML as shown here:
   [https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table)
 * Please let me know if that helps or if you were referring to something else.
 *  Thread Starter [jianping cheng](https://wordpress.org/support/users/chengjianping/)
 * (@chengjianping)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/form-41/#post-17894127)
 * Hello, I have modified this code. Now the content is displayed but the table 
   style is not displayed. What is wrong with this?
   url:[https://imgur.com/a/08n2vnI](https://imgur.com/a/08n2vnI)
 *  Plugin Author [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * (@gripgrip)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/form-41/#post-17894654)
 * Hi [@chengjianping](https://wordpress.org/support/users/chengjianping/),
 * The style of the table is determined by the CSS of your theme so if you want 
   the table to look differently you will need to add some styles for it. You can
   try adding a class “table” to it to see if your theme has something like that
   already setup:
 * `<table class="table">`
 * If that doesn’t do anything you will need to define the styles for the table 
   to make it look like you want, you can add another CSS snippet with WPCode and
   add styles there for it, for example:
 *     ```
       .table {
         border: 1px solid black;
         border-collapse: collapse;
       }
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Form’ is closed to new replies.

 * ![](https://ps.w.org/insert-headers-and-footers/assets/icon-256x256.png?rev=2758516)
 * [WPCode - Insert Headers and Footers + Custom Code Snippets - WordPress Code Manager](https://wordpress.org/plugins/insert-headers-and-footers/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-headers-and-footers/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-headers-and-footers/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-headers-and-footers/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/form-41/#post-17894654)
 * Status: resolved