Originally posted by taher hussain:
hello every one i am using struts framework for my project and i use css for display settings. in my css i have set fonts to arial, but most of the time the jsp rendered has times new roman fonts and when i refresh the page the fonts become arial what could be the cause and please provide a solution
I'm gonna throw a grenade out there, but I think this is what's happening...
The DIV tag you are pushing the
Java returned data into does not have its font-style explicitly set in your CSS. I'd try that first before beating your head against the wall... Asynchronous data doesn't need a page refresh for CSS to work, so I think it's something with your CSS/XHTML. The times new roman is probably your browser's default font-type, so that's probably why it's coming up as that initially.
What browser are you using?