View Full Version : need Help with linking correctly, etc. readplz

05-26-2004, 09:31 PM
Hi I'm using net.data and a database to bring information from a database onto websites. My problem is that I am making a site which links off to different pieces of data. Example: A new submission has values for title, news ID # , news story, etc. The way it works is upon clicking a link on the main page, a value(tempnewsid) is assigned the value of the news id# which then is used to generate a page. Its an effective method of doing this. But heres my problem. I can do it all in java.... the code looks something like this...

<form method="post" action = "http://xxxxxx/Call_newsclicked">
<input type="submit" value="$(V2)">
<input type="hidden" name="user_type" value="$(user_type)">
<input type="hidden" name="employeeid" value="$(employeeid)">
<input type="hidden" name="tempjobid" value="$(V1)">
<input type="hidden" name="newsTitle" value="$(V2)">

This works well because with a form button I can do a lot. The problem is the form button is grey and ugly. I want it to be white. I also tried doing <a href with onclick, but I dont know how to assign tempjobid a value with onclick. This may be confusing, but I really need help with this :/ ty

05-26-2004, 09:42 PM
CSS perhaps?

<input type="submit" value="$(V2)" style="background-color:#ffffff;">

You can do all sorts of stuff to this button using style. You can even create a CSS class if you've got lots of buttons all over the place:

That may not be what you're looking for.. so if not, post back and explain further.

Hope that helps,

05-26-2004, 09:48 PM
Thanks it worked, but....

Now its just a white box and I can see the box outline ,any way to not have the outline? I want it to look like text, but do lots of things when i click on it which I am doing through the use of hidden forms.

05-26-2004, 09:54 PM
Did you check out that link I posted? I'm pretty sure it tells you how to do that kind of stuff.. I'm not a CSS expert myself, so I couldn't tell you off hand.

Good luck,

05-26-2004, 10:05 PM
But still i appreciate your help, i guess now i have to search to see if there is such thing as a way to do away with form borders. :/

05-26-2004, 10:20 PM
Try this:

<input type="submit" value="$(V2)" style="background-color:#ffffff; border-style:solid; border-color:#ffffff;">

Found this here:

Hope that helps,

05-26-2004, 10:38 PM
I appreciate it ^^