spthomas1
08-21-2003, 05:44 PM
What is the variable attribute for aligning text in the middle (html equivelent to valign).
It is for a navagation menu and as it stands right now all of the text is vertically aligned at the top and I need it in the middle.
Code:
var height = 20; // cell height for primary navbar button
var iheight = 25; // cell height for flyout level one
** What is the attribute... for text align middle **
var bgc = "lightyellow" // background color of the item
var tc = "black" // text color of the item
var over_bgc = "silver";
var over_tc = "red";
var speed = 0;
var timerID = "";
var N = (document.all) ? 0 : 1;
var width = 175
It is for a navagation menu and as it stands right now all of the text is vertically aligned at the top and I need it in the middle.
Code:
var height = 20; // cell height for primary navbar button
var iheight = 25; // cell height for flyout level one
** What is the attribute... for text align middle **
var bgc = "lightyellow" // background color of the item
var tc = "black" // text color of the item
var over_bgc = "silver";
var over_tc = "red";
var speed = 0;
var timerID = "";
var N = (document.all) ? 0 : 1;
var width = 175