 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
1Horseluver23
Joined: 12 Oct 2009 Posts: 2
|
Posted: Mon Oct 12, 2009 6:30 am How do I change the font in this table code? |
|
|
|
Where do I enter this code to my table to change the font to Curlz MT ?
Here is the font code I found ( If this isn't the correct one could you tell me what the correct code would be also?)
BODY
{
font-family:Curlz MT;
}
I need to add that code^^^ to change my font in this table:
<br><table style="background-color: rgb(255, 255, 204);" border="2" bordercolor="#ffcc00" cellpadding="4" cellspacing="4" width="600">
<tbody><tr>
</tr><tr><td bgcolor="#ff0066"><img src="http://i36.tinypic.com/del0s6.jpg"><br></td>
</tr>
<tr>
<td bgcolor="#53b1fc"><div style="overflow: auto; height: 350px;">Table Cell<br></div></td>
</tr>
<tr>
<td bgcolor="#ff0066"><div style="overflow: auto; height: 350px;">Table Cell</div></td>
</tr>
<tr>
<td bgcolor="#53b1fc"><div style="overflow: auto; height: 350px;">Table Cell</div></td>
</tr>
<tr>
<td bgcolor="#ff0066"><div style="overflow: auto; height: 350px;">Table Cell</div></td>
</tr>
<tr>
<td bgcolor="#53b1fc"><div style="overflow: auto; height: 350px;">Table Cell</div></td>
</tr>
<tr>
<td bgcolor="#ff0066"><div style="overflow: auto; height: 350px;">Table Cell <br></div></td>
</tr>
<tr>
<td bgcolor="#53b1fc"><div style="overflow: auto; height: 350px;">Table Cell</div></td>
</tr>
<tr>
<td bgcolor="#ff0066"><div style="overflow: auto; height: 350px;">Table Cell</div></td>
</tr>
</tbody></table>
<p style="" font-size:="" 10px;="">
Where does the code go in the code above to change the font to Curlz MT through the WHOLE thing?
Thanks[/code] |
|
sticks464

Joined: 31 Dec 2006 Posts: 2629
|
Posted: Mon Oct 12, 2009 8:15 am |
|
|
|
That's the correct place for the font but it needs to be enclosed in quotes to be recognized because it is two words or contains 'whitespace'. You don't need font-family because you are specifying only one font and letting users use their browser default if they don't have this font.
If the table is all you want to affect, then specify the font in the inline style and use a font or font-family for the body tag.
| Code: |
| <table style="background-color: rgb(255, 255, 204); font: "Curlz MT";" border="2" bordercolor="#ffcc00" cellpadding="4" cellspacing="4" width="600"> |
|
|
1Horseluver23
Joined: 12 Oct 2009 Posts: 2
|
Posted: Mon Oct 12, 2009 9:16 am |
|
|
|
Great! Thanks for the code!
Now, where do I insert the code sticks464 gave me to my table code?  |
|
sticks464

Joined: 31 Dec 2006 Posts: 2629
|
Posted: Mon Oct 12, 2009 9:55 am |
|
|
|
Is the code you posted not the code for your site?
You posted
| Code: |
| <table style="background-color: rgb(255, 255, 204);" border="2" bordercolor="#ffcc00" cellpadding="4" cellspacing="4" width="600"> |
as the first line of the table code. Just replace that line with the one I posted. Remember, if that font is not present on your computer then you will see a default font. |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|
|