Hi guys, How do I align one part of a message in the centre of the header and the other towards the right? I tried doing this:
ie, I want show the US airdate to be displayed to the right extreme end of the header while "Show date" should be in the middle(default). Tried a lot of things but it doesnt seem to work, anyone else tried or have experience with such a problem? Please help.
Thanks. [ December 21, 2007: Message edited by: v ray ]
You have the right idea. JSF doesn't support styling, because CSS already does.
I use styles all the time, but in order to make it easier to "skin" a website, I prefer to use stylesheets instead of putting explicit style info on individual items. However, in JSF, instead of "class=", use the "styleClass=" attribute. They had to make that one small change since "class" is a reserved work in Java.
As to why your page isn't working, try viewing the generated HTML using your web browser's "view page source" function and see if the HTML style specs are OK.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
There's a way to do it better - find it. -Edison. A better tiny ad:
a bit of art, as a gift, that will fit in a stocking