I know that " this.style.backgroundColor" could change background color.
I try to use: this.style.textalign="center";
But it doesn't work.
Thanks a lot!
And could you tell me where I could find these resources?
compounded CSS attributes loose the hyphen and the second(third...) word use Upper case first letter
compounded HTML attributes use for second(third...) word Upper case first letter
Thank you very much
divId1.style.textAlign = "left",
The above line works only in IE, it does'nt work in other browsers.
text is align anyway left by default, so I don't understand how could you have noticed that error I bet you try to align a picture (which is treated as an inline element by IE). Show us the full code, please
Ya just now i tried to align the text to right, center, left in a separate page.
It works fine even in ff, I think there is some more settings that i have to change in my big junk of code.
Thanks a lot.
Users Browsing this Thread
There are currently 2 users browsing this thread. (0 members and 2 guests)