Computer problems,Computer help
*AX SOFT>>>Programming & Design

Can <tr> rows be styled or do you have to style seperate <td> cells?


I've tried to add borders to whole rows by putting a class attritube into a <tr> tag but I don't get anything, am I doing something wrong or does CSS not style <tr> tags?

Yes, table rows, can be styled, but you can;t just specify any type of style. Then again, this is true for all HTML elements.

I know you can specify a background for a table row, but not a border (those need to be specified for the table cells).

What exactly have you tried to style it?

hi, add style in one cell like td
<tr>
<td bgcolor=Beige>
<font color="red" size="4">row1</font>
</td>
<td style="color: red">row1</td>
<td><div style="color: #FF0000;">row3</div></td>
</tr>

yes, <tr> can be styled. but i recommend that you put the styles on your <td>..

Tags
  General - Computers & Internet   Software   Security   Programming & Design   Facebook   Flickr   Google   MSN   MySpace
Related information
  • Autorun function?

    All you need to do is put an autorun.inf file in the root. Check the source. Note that autorun is a request, not a demand. Users may have their computer set up to disregard autoruns.

    ...
  • Here in Javascript version. Anyone can change it to vbscript?

    vbscript isn't really a good choice as it is server side while javascript is client side. You would need a big rework of this and turn it into a form. So you'd end up with a clunky for...

  • How do I make fractions on the?

    Go to insert, object (make sure create new) tab is clicked, then scroll down to microsoft equation. if it's not there, then u might have to install that part off of the cd

    ...
  • Computers....?

    go to start then contol panel. select internet options , now a second screen will appear look all the way down to the bottom one and select delete all "web Browseing history pass-word etc.&quo...

  • Images on my website can only be viewed in Safari.....why!?

    I'll assume that you actually did upload the image file as well as the HTML, since you're following the tutorial. Check the HTML code for errors. Does your image tag look like this? .....

  • Can someone please tell me what a background url is? thanks a ton! 8)?

    Background URL refers to CSS styling, either inline, embedded or external css file, to pull an image to be used as a background within the container used. For a complete page bg image and using th...

  • How is it possible to make all the letters except for the first in every word be small caps in CSS?

    Um, I'm not sure what small caps is, did a quick google and hope this works. Say the class for your text is .texxxt .texxxt {font-variant:small-caps;} .texxxt:first-letter {font-variant...

  • How do I make eyes bigger in Gimp?

    Start here to learn some basic skills first ...

  •  

    Categories--Copyright/IP Policy--Contact Webmaster