Posted on: 12/14/05 12:49pm
By: jbpaul17
hi, i'm working on tweaking the Tabular_Dynamics theme and have noticed that when you view that theme in IE that the radio buttons in the Poll block are enclosed by boxes for some reason.
I'm looking at the pollboth.thtml code and see "{poll_answers}" and am trying to figure out if that controls this section. does anyone know if that's the case? if so, does anyone know where to find that {poll_answers}code to edit?
Poll Block Code
Posted on: 12/14/05 03:15pm
By: machinari
that's a style issue with IE--sucks doesn't it?!
you cant get rid of the box that seems to surround the radio button, but you can set the button's background color to the same as your page's bg color. That will take care of the box. Just use CSS.
Poll Block Code
Posted on: 12/22/05 05:22pm
By: jbpaul17
you cant get rid of the box that seems to surround the radio button, but you can set the button's background color to the same as your page's bg color. That will take care of the box. Just use CSS.
where can i find the code that edits the radio buttons for polls? i checked the various pollboth php files, but see a lot of {variables} and nowhere that I can easily edit the style for the radio buttons.
Any ideas?
Poll Block Code
Posted on: 12/22/05 05:45pm
By: jbpaul17
Got it fixed!
It wasn't so much that the radio buttons background color differed as that there was apparently a border around each item.
1.) I edited */layout/Tabular_Dynamics/pollbooth/pollanswer.thtml to be:
<input type="radio" name="aid" value="{answer_id}" class="radio">{answer_text}<br>
2.) I added:
input.radio {
background-color: #FFFFFF;
color: black;
border: 0px;
border-bottom : 0px;
border-top : 0px;
padding: 0;
}
to: */layout/Tabular_Dynamics/style.css
now its better!
Poll Block Code
Posted on: 12/22/05 06:14pm
By: machinari
pollanswer.thtml
or just use the CSS file for your theme.
edit: yeah, like that