21questionz
10-28-2005, 01:45 AM
hello ... just wondering if anyone knows how to add a font in a div style colum ? is it exactly like th html way ? please reply
|
View Full Version : Another Div Question 21questionz 10-28-2005, 01:45 AM hello ... just wondering if anyone knows how to add a font in a div style colum ? is it exactly like th html way ? please reply Hostyoo 10-28-2005, 03:35 AM im not sure if i under-stand your question fully but do you mean this???: <DIV STYLE="font-family: Arial Black; font-size: 24px; color: black"> 21questionz 10-28-2005, 05:35 AM how would i add that to this code ? <div style="background-color:transparent;z-index:4; position:absolute;top:457px; left:50%;margin-left:-388;"> <table style="cell-spacing:0;padding:0;margin:0; border:2px black solid; background-color:F0F0EF; width:168px;"> <tr><td colspan=2 class="headers"><img src="http"" alt=""></td></tr> <tr><td class="headers" style="font-size:7pt;line-height:8pt;">Status:</td><td style="font-size:7pt;line-height:8pt;">Single</td></tr> <tr><td class="headers" style="font-size:7pt;line-height:8pt;">Hometown:</td><td style="font-size:7pt;line-height:8pt;">cali</td></tr> <tr><td class="headers" style="font-size:7pt;line-height:8pt;">Occupation:</td><td style="font-size:7pt;line-height:8pt;">bumb</td></tr> <tr><td class="headers" style="font-size:7pt;line-height:8pt;">Here For:</td><td style="font-size:7pt;line-height:8pt;">Friends</td></tr> <tr><td class="headers" style="font-size:7pt;line-height:8pt;">Zodiac sign:</td><td style="font-size:7pt;line-height:8pt;">Capricorn</td></tr> <tr><td class="headers" style="font-size:7pt;line-height:8pt;">Ethnicity:</td><td style="font-size:7pt;line-height:8pt;">white</td></tr> <tr style="height:7px;"><td colspan=2></td></tr> </table></div> i just want to change the color of the font thats it pb&j 10-28-2005, 05:40 AM just change these parts... <td style="font-size:7pt;line-height:8pt;"> to something like this... <td style="font-size:7pt; line-height:8pt; color:#0000ff; font-family: Arial;"> adjust the values as you desire. 21questionz 10-28-2005, 05:51 AM right on! it worked thanks .......my other question was how would i make a picture inside the div style to stay fixed ... not the backround but just picture ? is that even possible ? pb&j 10-28-2005, 01:27 PM no, you can't fix an image unless you put it into the background. |