Page 1 of 1
Input Type=Button not Processing
Posted: Fri 05 Apr 2013 1:35 am
by scottbob78
In my monthlyrecordT.htm file the <Input type="button"> tag is fine when I display the file in a browser, but when Cumulus processes the file and uploads to the server it ruins the html button. (see attached pics) Any thoughts on why it would do this?
Re: Input Type=Button not Processing
Posted: Fri 05 Apr 2013 3:07 am
by beteljuice
As far as I can tell there is no css styling for the <button> in Jacques templates.
Indeed his website only shows a This month page ?
Is that the latest version ?
Re: Input Type=Button not Processing
Posted: Fri 05 Apr 2013 7:06 am
by steve
Cumulus isn't doing anything to the buttons; it's your style sheet (sunny_weather0.css). It has this default setting at the beginning:
* {margin: 0; padding: 0; border: none; text-decoration: none;}
and as beteljuice says, it has no styling for 'button' to override that. You could start with something like
input[type="button"] {
border: 2px outset buttonface;
padding: 2px;
margin: 2px;
}
and modify that to your requirements.
Re: Input Type=Button not Processing
Posted: Fri 05 Apr 2013 2:58 pm
by scottbob78
Thank you to both of you...I had a feeling it might be related to the weatherstyle css in which it was designed to work and the css stylesheet I'm using. I thought I looked in there, but didn't see anything that I could recognize. Time to brush up on my css!
Re: Input Type=Button not Processing
Posted: Fri 05 Apr 2013 3:54 pm
by steve
scottbob78 wrote:I had a feeling it might be related to the weatherstyle css in which it was designed to work
I didn't actually put anything in there for the buttons - it didn't occur to me, to be honest. So in the standard pages they just use whatever the default rendering is in each browser.