Question

I have a table with three columns, the first column takes an image, the second takes a heading label and third is very small and is empty. The Heading label in second column is being centered to the center of the column but what I want is to center it in the middle of the screen at the same height it is present at. I used jquery window width but couldn't attain the result required. The heading label is made up of two labels. please help....!

Was it helpful?

Solution

Why you use table.Insted of table use divs.Here i paste the code for that

you want to align the center of <div id="myDiv"></div> to the center of <span id="mySpan"></span> write

 $("#myDiv").align({left:{my:0.5,at:0.5, selector:'#mySpan'}, top:{my:0.5,at:0.5, selector:'#mySpan'}}); 
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top