Forum Moderators: not2easy
table {
border: 0;
}
but there is one table in my xhtml that requires to have a border of 2 along with several other properties. Due to the fact it isnt just the border i'm changing i though about creating a class for the specific table. The only trouble is that when i enter the border property as 2, it does not change the table that the class is linked to. this is the code i used for that:
table.t-mainbody {
height: 435px;
width: 600px;
border: 2;
}
How can i overcome this?
--------------------------------------------------------------------------------------------------------------
2) Font/Text Color Problem
In my CSS I would like to set the font color used in my body to white (#ffffff), and the same for a particular cell (td) if possible. i have tried things like:
td.td-mainbody {
padding: 15px;
text-align: left;
vertical-align: top;
font-size: 13px;
font-family: verdama, arial, helvetica, sans-serif;
font-color: #ffffff;
}
td.td-mainbody {
padding: 15px;
text-align: left;
vertical-align: top;
font-size: 13px;
font-family: verdama, arial, helvetica, sans-serif;
color: #ffffff;
}
but i'm having no luck. Any tips on what should be doing?
--------------------------------------------------------------------------------------------------------------
3) HTML opening new window?
I have a hyperlink that i want to open in a new window. I would also like to control the size of the window opened if possible since it is a picture and therefore i would like to open it to the size of the picture (320 x 240). Also if it isnt too much trouble i'd like to have none of the toolbars, nav bars, menu bars appear on the opened link window. I would like to do this using just html/xhtml or even css if possible. Is this feasible or do i need to use javascript to do this?
--------------------------------------------------------------------------------------------------------------
Many Many thanks to anyone who can help! I apprciate my questions are relatively trivial compared to the majority of enquiries in this forum, so i apologise for clogging it up with my basic questions.
Cheers,
Scrimbler
enter the border property as 2Two "what"? ;) Also, the shorthand
border property has three different values that all may need to be set: width, style, color. Try something like this:
border: 2px solid black; 2)
font-color won't work... But color should. How do you assign the class name? <td class="td-mainbody">? 3) If you want to control the properties of the window, you will need JavaScript [webmasterworld.com] for that...