BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 07-20-2009, 06:23 PM   #1 (permalink)
New Member
 
Join Date: Jul 2009
Model: 8320
PIN: N/A
Carrier: AT&T
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation BlackBerry mobile web application--background-image for form submit?

Please Login to Remove!

First of all, let me mention that this is my first post in this forum (though I have been an avid reader for a couple months now) and I truly appreciate the support of this network.

I am designing a mobile web application for BlackBerry phones running OS 4.5+. (I understand that 4.6 was the big move to webkit and thus greater CSS support, but my project is already defined.) So, I have this problem.. I want to submit a form with an image background and text overlayed. I can not simply add the text to the image because the text is dynamic (I'm using a label). My method renders well on all the web browsers I have tested it on, but is not working on the BB browser--specifically, the background-image and the border attributes are not functioning in my stylesheet.

For testing, I am using static text ("Sign In"). And again, in the BB browser, all of the styling works correctly (width, height, color, etc.) EXCEPT the background-image and border-style attributes, so I'm left with a very standard-looking button. Finally, I know that the url is correct because I can use the same background-image line elsewhere in the CSS file and the image renders.

Here is sample markup line: <input id="submit" type="submit" value="Sign In"/>

and the styling:
#submit {
width: 74px;
height: 21px;
background-image: url(signinbutton.png);
border-style: none;
color: white;
font-size: 8pt;
font-family: Arial;
font-weight: 700;
}

Thanks in advance.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Computer Analog Instrument Number Readout German 24 Volt FS066 National Lab Lot
$100.0
Computer Analog Instrument Number Readout German 24 Volt FS066 National Lab Lot  pictureMeasurement Computing PCI-DDA08/16 8-channel 16-bit analog output 48 digital I/O
$100.0
Measurement Computing PCI-DDA08/16 8-channel 16-bit analog output 48 digital I/O pictureComputer Boards CIO-DAS802/16 Analog Input and Digital I/O
$199.99
Computer Boards CIO-DAS802/16 Analog Input and Digital I/O pictureAllen Bradley ANALOG PLC Trainer RSLOGIX Computer with Lessons and Software
$1499.0
Allen Bradley ANALOG PLC Trainer RSLOGIX Computer with Lessons and Software  pictureCOMPUTER BOARDS, INC Analog Input Board CIO-DAS48-PGA
$299.99
COMPUTER BOARDS, INC Analog Input Board CIO-DAS48-PGA picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.