PDA

View Full Version : Tech Question



A face
07/01/2005, 2:04 PM
Heres one for ya .....

Home Network ....

Win2000 + IE 5
WinXP and IE 6

The same on both .... really strange

Internet Explorer is reading style sheets but over riding the valignment tags i.e. it is stick everything into the middle of the cell and wrecking my head in the meantime

Firefox is reading the style sheet but not aligning anything, vertically or horizontally, (and it ignores the height of the of the cells aswell, but does it do that anyway, i dont know)

Internet Explorer, i take out the style sheet and it works fine so it seems whateverway IE manipulates the .css file, it just ignores the valign property.

Can anyone tell me how sort this out ?

joe
07/01/2005, 4:27 PM
try inserting the valign atribute into the <td> tag in the html page itself instead of the style sheet.

dahamsta
07/01/2005, 6:38 PM
Post the source code of the page and the stylesheet.

A face
07/01/2005, 8:46 PM
try inserting the valign atribute into the <td> tag in the html page itself instead of the style sheet.

Yeah ... thats it ..... weird that it wont do it in the stylesheet and it will in the page .... kinda defeats the purpose.

I'll go with that anyway ... Cheers Joe !!

Jim Smith
08/01/2005, 1:08 AM
Yeah ... thats it ..... weird that it wont do it in the stylesheet and it will in the page .... kinda defeats the purpose.

I'll go with that anyway ... Cheers Joe !!
It can and does work in style sheets.

The css property is vertical-align (NOT valign as in HTML) and it not inherited so you need to watch how and where you declare your rules in the style sheet. As the big cheese said, if you post the code you might get more help :)

A face
08/01/2005, 12:54 PM
It can and does work in style sheets.

The css property is vertical-align (NOT valign as in HTML) and it not inherited so you need to watch how and where you declare your rules in the style sheet. As the big cheese said, if you post the code you might get more help :)

In the style sheet i used this

position: absolute,top;

inside the {} and it was td.content

and the <td class=content>