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

CHICAGO FAUCET SOLENOID VALVE FOR HIGH ARC, LEAD FREE
$167.97
CHICAGO FAUCET SOLENOID VALVE FOR HIGH ARC, LEAD FREE pictureASCO 52000160 JOUCOMATIC SOLENOID VALVE
$59.98
ASCO 52000160 JOUCOMATIC SOLENOID VALVE pictureREXROTH R434004359 CERUM SOLENOID VALVE 150PSI ***XLNT***
$86.7
REXROTH R434004359 CERUM SOLENOID VALVE 150PSI ***XLNT*** pictureSMC SYJ5140-5LOU SOLENOID VALVE
$29.98
SMC SYJ5140-5LOU SOLENOID VALVE pictureMOEN COMMERCIAL SOLENOID VALVE REPAIR KIT
$43.06
MOEN COMMERCIAL SOLENOID VALVE REPAIR KIT picture






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