I have already tried one code but didnt really work. this is the code - <div> <input type="button" value="Button Text" style="border-style:none;" /> </div>
. I want the button to be a flat HTML 5 button but can't figure out how to do it.
9 2185
You didn't set the background color and color of the text. Also, you should avoid inline sytles.
Is this the right code? - <div> <input type="button" value="Button Text" background="Blue" text color="Black" /> </div>
I hope i did that right.
You should be able to tell if that's right or not by looking at the result.
It stil shows the normal button style not the flat button. Would you be able to tell me what i am doing wrong. And how i can fix it? I want it to be the HTML5 flat button.
Why don't you just right click and Inspect Element (where supported)?
If you're using Firefox, get Firebug. Chrome has a decent built-in inspector. You can also use Firebug Lite for other browsers. There are also other tools.
That's because you didn't do your style correctly. That and you're still trying to inline your styles when you should avoid that whenever possible.
- <div> <input type="button" value="Button Text" style="background: blue; color: white; padding: 5px; text-shadow: 0px 1px 1px; box-shadow: 1px 2px 3px rgba(1,4,3,0.3);" /> </div>
try that code . . . observed and try it. . .
try to learn css3. . . search it in google. . .
Ok thanks Rabbit for the tip. And thanks Exequiel for the code it worked.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Bernie Yaeger |
last post by:
If the user clicks the processit button, the click event code runs. What
happens if he/she clicks it again before it's done processing? Does the
system remember and process twice? Does it ignore...
|
by: Agnes |
last post by:
I use vb.net to preview the report (it is designed by cyrstal report),
and there is "X" button on the left hand side of "refresh", when I mouse
on"X" button , it said "close current view"
However,...
|
by: Adham Karam Salim |
last post by:
Dear Sir :
I want to know how we convert the unit (Bq/ml) to (ppm).
Thank you
EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com
|
by: sam |
last post by:
Hi,
I just want to ask what the use of unescape function and when and how
to use it.
|
by: =?Utf-8?B?U2F0eWE=?= |
last post by:
Even though I bought new VS 2008 but still the command buttons looks same old
model like Visual Basic 6, not like classic look. What is the solutions for
this?
bye
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |