AboutAndrew Hoffman Expertise I can field just about any question within this topic ranging from JavaScript to CSS, the two ingredients of DHTML. I`m very interested in the W3C and its validation rules for HTML, XHTML, and CSS, and enjoy answering questions of this type as well. I detest sleep and respond at all hours of the day or night.
Experience Experience in the area I've been working with DHTML and CSS for 7 years now and build/maintain websites of my own that implement DHTML navigation.
What I'm doing now My contract with Microsoft has ended and I am working for myself once again. Please contact me for any front-end work at antibland@gmail.com
The following style is using the curly brace, is there different if I don't use the curly brace like style="{border:none}" ?
------------------
<td width="10%" style="border:none">welcome</td>
-------------------
Thanks,
lzzzz
Answer I've never seen the curly notation for inline styling. This is correct:
style="border:none"
However, you almost never want to use inline styling. Better to use a class or a rule. Say you want to remove the borders all <td>s inside of a table with an id of "table2". You could write:
table#table2 td {
border: none;
}
This is useful because you can touch that table's <td>s without touching any other <td>s on the page. Also, the markup becomes simpler: