CSS
--
Questions
--
Followers
Top Experts
I've been searching for a way to disable the select box (<SELECT>) border. I succeed to remove input text borders using "border: 0px solid;" but it seems it doesn't work with SELECT BOX. If its not possible, I'd like to know if anyone knows a workaround to remove them.
Thanks,
RODRIGO.
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Thanks,
seanpowell
Even though it would techinically still have a border, it wouldn't appear visibly to have one.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
 <div style="position:absolute;t
  <select size="12" style="position:absolute;w
   <option>This is option 1</option>
   <option>This is option 2</option>
   <option>This is option 3</option>
   <option>This is option 4</option>
   <option>This is option 5</option>
   <option>This is option 6</option>
   <option>This is option 7</option>
   <option>This is option 8</option>
   <option>This is option 9</option>
   <option>This is option 10</option>
   <option>This is option 11</option>
   <option>This is option 12</option>
   <option>This is option 13</option>
   <option>This is option 14</option>
   <option>This is option 15</option>
   <option>This is option 16</option>
   <option>This is option 17</option>
   <option>This is option 18</option>
   <option>This is option 19</option>
   <option>This is option 20</option>
   <option>This is option 21</option>
   <option>This is option 22</option>
   <option>This is option 23</option>
   <option>This is option 24</option>
   <option>This is option 25</option>
   <option>This is option 26</option>
   <option>This is option 27</option>
  </select>
 </div>
Hope this is useful to people.
John.
Unfortunately, unless you can specifiy the height and width of the <select>, you're right. Â I've not seen anything, other than JavaScript, that will do this. Â Also, it obviously doesn't work if it's a drop-down style select.
I think we'll have to wait for a foolproof answer to this, and it'll probably be supplied by browser vendors, not us developers.
Glad it's proved useful for someone though.
John.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
CSS
--
Questions
--
Followers
Top Experts
Cascading Style Sheets (CSS) is a language used for describing the look and formatting of a document written in a markup language. Usually used to change web pages and user interfaces written in HTML, it can also be applied to any kind of XML document. CSS is designed primarily to distinguish the content of a document from its presentation.