Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 08:18 am EST
Geeklog Forums
Poll Block Code
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?
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?
15
17
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
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.
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.
12
10
Quote
Status: offline
jbpaul17
Forum User
Chatty
Registered: 05/14/04
Posts: 49
Location:New York City
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?
7
17
Quote
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:
2.) I added:
background-color: #FFFFFF;
color: black;
border: 0px;
border-bottom : 0px;
border-top : 0px;
padding: 0;
}
to: */layout/Tabular_Dynamics/style.css
now its better!
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:
Text Formatted Code
<input type="radio" name="aid" value="{answer_id}" class="radio">{answer_text}<br>2.) I added:
Text Formatted Code
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!
11
9
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
pollanswer.thtml
or just use the CSS file for your theme.
edit: yeah, like that
or just use the CSS file for your theme.
edit: yeah, like that
10
9
Quote
All times are EST. The time is now 08:18 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content