求JavaScript脚本中document.write修改字体大小方法
本人以JavaScript脚本实现网站主页动态下拉菜单,菜单以document.write套用table实现,请教此table中如何修改字体大小,详细源码如下:docum...
本人以JavaScript脚本实现网站主页动态下拉菜单,菜单以document.write套用table实现,请教此table中如何修改字体大小,详细源码如下:document.write("<table width='584' border=0 align=center cellpadding=0 cellspacing=0 bordercolor='0'>")document.write(" <tr> ")document.write(" <td align='center'><a href='index.jsp'> 首 页</a>|</td>")document.write(" <td align='center'><a href='#'>***</a></a>|</td>")document.write(" <td align='center'><a href='#' onmouseover=showMenu(1)>***</a>|</td>")document.write(" <td align='center'><a href='#'>***</a>|</td>")document.write(" <td align='center'><a href='***.jsp'>***</a>|</td>")document.write(" <td align='center'><a href='***.jsp'>***</a>|</td>")document.write(" <td align='center'><a href='***.jsp'>***</a>|</td>")document.write(" <td align='center'><a href='***.jsp'>***</a>|</td>")document.write(" <td align='center'><a href='***.jsp'>***</a></td>")document.write(" </tr>")document.write(" <tr> ")document.write(" <td><div id=menu1 onMouseOver=showMenu(1) style='Z-INDEX: 2; VISIBILITY: hidden; WIDTH: 254px; POSITION: absolute; HEIGHT: 53px' onMouseOut=hideMenu(1)> ")document.write(" <table width='85' border='0' cellpadding='0' cellspacing='0' background='images/***.jpg'>")document.write(" <tr> ")document.write(" <td height='2' colspan='6'></td>")document.write(" </tr>")document.write(" <tr> ")document.write(" <td height='1' colspan='6' align='center' bgcolor='#227CD6'></td>")document.write(" </tr>")document.write(" <tr> ")document.write(" <td width='17' height='20' align='center'><img src='images/***.gif'></td>")
展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询