Mike
|
| Posted: 05/02/2004, 8:51 AM |
|
I need some detailed steps here. I built a beautiful login with the login builder. Dropped it in on the form. Works fabulously. Now my customer wants the buttons to be images instead. This shouldn't be this hard. I read about editing the stylesheet to include classes for all the buttons. However, I have nothing but complaints about the CCS documentation when it comes to pretty much anything. Which control do I use? One from the Forms Toolbox or one from the HTML toolbox. I tried changing the type to image but I get a parser error when I do that and the stylesheet entry I made is completely ignored. Frustrated and really sick of the mountainous learning curve involved with this product. Any help you can provide me with this seemingly simple request would be greatly appreciated.
Thanks,
Mike
|
|
|
 |
peterr
Posts: 5971
|
| Posted: 05/02/2004, 3:35 PM |
|
Mike,
I answered almost 1000 questions on this forum using mostly the CCS documentation and examples, plus Google. Most of my answers include links to the documentation and examples as well.
However, no matter how large and detailed the documentation can be, we will never plan on describing such things as changing buttons to images. This is not what our product was designed to do, and no one is capable of documenting everything that can be done in HTML. There are millions of pages on the Internet that discuss such topics and it just wouldn't make sense for anyone to copy all those pages into some product's documentation. You can easily learn HTML basics and find answers to such questions on Google: http://www.google.com/search?q=html+form+image+buttons
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
peterr
Posts: 5971
|
| Posted: 05/02/2004, 4:40 PM |
|
BTW, I am not implying that CCS documentation is great. We're looking for feedback on documentation areas that could be expanded. However such generic complaining about the documentation is not very helpful, while I want to point that we do not plan to document the HTML or cascading stylesheets , and probably no documentation can cover the sheer volume of possibilities that HTML and CSS provide. We actually don't even need to know what anyone may, or may not do using our product. Try to create the documentation for a hammer and you will see what I mean. 
It's rather the users that can discover the various uses of a hammer and then share their tips. This is what happens on the Internet and this is why you can find millions of articles written about variety of topics. People don't expect to find how to create image buttons in some documentation and that's why they write all the articles that you can find using the above link.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
Manuel De Los Santos
|
| Posted: 01/03/2005, 9:08 PM |
|
For what it is worth, Peterr this is a awful answer. Of course people that use your product want to know how to create a image button with ease. This a gui interfase development product for crying aloud. I don't think this kind of actitud is going to take anywhere. Please think about it. I have invested a lot of my time trying to do easy things with your product. I think Mike is right 100%. Nevertheless CC is still wonderful.
|
|
|
 |
GeorgeS
Posts: 206
|
| Posted: 01/04/2005, 12:33 AM |
|
Mike,
here is what I have on one of my working login forms (HTML for Login Button):
<!-- BEGIN Button Button_DoLogin -->
<input type="image" src="pics/login.gif" width="110" height="24" value="Login" name="{Button_Name}">
<!-- END Button Button_DoLogin -->
No errors.
_________________
GeorgeS |
 |
 |
donsafar
Posts: 90
|
| Posted: 01/04/2005, 12:50 AM |
|
Peter is correct with his answer. Using an image for a button is an HTML or style sheet issue not a CCS issue. Modify the html or style sheet to your liking. Just google "using image button" you'll get about 6,240,000 answers on how to do it or why you shouldn't do it, etc.
Also, the example GeorgeS gave will work just fine.
_________________
Don Safar
|
 |
 |
DonB
|
| Posted: 01/04/2005, 2:10 PM |
|
It's actually trivial to give a button (or other element) an image.
Step1. Assign it a class name, let's name it "imagelook"
Step2. Add the class to your CSS or in the html header in a <STYLE> block:
*.imagelook {
border: 0;
width: 50px; height 50px;
background-color: transparent;
background-image: url(http://my-domain-name/images/my-image-file.gif);
background-repeat: no-repeat;
background-position: center;
}
Adjust the height, width, and url as necessary.
Once the above CSS directives are defined, just switch the class of your
buttons to be "imagelook" and they show up as images.
--
DonB
http://www.gotodon.com/ccbth
<Manuel De LosSantos@forum.codecharge (Manuel De Los Santos)> wrote in
messagenews:241da24c7ba247@news.codecharge.com...
> For what it is worth, Peterr this is a awful answer. Of course people that
use
> your product want to know how to create a image button with ease. This a
gui
> interfase development product for crying aloud. I don't think this kind of
> actitud is going to take anywhere. Please think about it. I have invested
a lot
> of my time trying to do easy things with your product. I think Mike is
right
> 100%. Nevertheless CC is still wonderful.
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
|