I've got an HTML page with a standard textarea on it, which is disabled to stop users editing the text. I've changed the state of the textarea to disabled and as expected, the text appears grey in IE7. Thinking it would be a straight forward task to modify the default text colour, I created a...
Ah! Easy when you think about it! Thanks. Actually used setBorder(BorderFactory.createEmptyBorder(0,0,0,0)) and setBackground(Color.white) but has the same effect as the solution you gave. Dunno why I didn't think of that myself!!
Thanks for that.
Anyone know a quick way of removing the default blue button background from a JButton? All I want to show is an image icon without the button outline and I'd rather not override the painting of the button if I can help it.
Any help appreciated!
Probably an obvious question but how do you force a report to show one record per page? I could probably work it out using code but I'm wondering if there's a simpler way.
Cheers for your reply.
What I really mean is, can I connect to an ODBC datasource (with an Access file) from an Excel spreadsheet without having to specify the path of the .mdb file? When I've connected to ODBC in the past through Java, using the JDBC:ODBC bridge driver, I haven't had to...
I'm trying to populate a simple Excel worksheet from data within MS Access, setup as an ODBC datasource. I've looked up some sample code and every piece of code I've seen has a reference to the absolute path of the .mdb file. Is there a way to simply access the datasource the way ODBC *should*...
One more thing, the .pagebox class stops a bit before the floating elements stop. All of what you say makes complete sense, but I'm probably missing something somewhere down the line - any more ideas?
Cheers. Read your postings, tried a few hings, but still no luck. I've included the whole of my CSS and the whole of my HTML.
CSS
---
body
{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
color:#999999;
text-align: justify;
background-color: #003333;
}...
Okay not sure which forum to post this, so I thought I'd try this one...I've just recovered some files from a damaged CDROM and, for the most part, this has been successful. However, one of the files (a jpeg) file is corrupt. Normally, I'd just accept that it's damaged and delete it. However...
I'm having a problem displaying floating boxes within a DIV box. I've got four DIV boxes: one to act as a container for the other three, one title box to hold a title graphic, one middle box for the main content of my page and a bottom box to hold a curved graphic. What I'm trying to do is...
I want to have a simple layout with a title box, a content box and a footer box, with a small space between each. The result I'm looking for is the title box at the top, the content box in the middle and just below the content box, a footer box. I've positioned the title box and content box...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.