If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Advanced Poll Templates with Proper Markup  XML
Forum Index » General Discussion
Author Message
megan
Newbie

Joined: 11/10/2007 15:11:30
Messages: 2
Offline

Hell Advanced Poll users,

I have created some "proper markup" templates for Advanced Poll that I thought I should share. These templates remove all the layout tables, font tags, and other unwanted junk. They are valid, semantic, xHTML.

Here is an sql file with the template code and a CSS file. I hope the sql will import properly into your database - I haven't tried to see what happens with that. You will need to create a new templateset, and make sure the id number (6 in my sample) matches.

http://www.meganmcdermott.com/projects/advanced-poll/poll_templates.sql
http://www.meganmcdermott.com/projects/advanced-poll/polls.css

You could also copy and paste the following templates into a new template set in your admin panel:

display_head



display_loop



display_foot


result_head


result_loop


result_foot


comment


I haven't done the "Miscellaneous" templates yet...
stormrider2008
Beginner

Joined: 15/04/2008 11:44:46
Messages: 5
Offline

Hi there,

thanks for this --> this was very useful!

Only issue I'm having trouble is setting the width of the fieldset?

I've tried changing it in the css file:

#poll fieldset {border: none; padding: 0 5px; margin: 0; width: 250px;}

but its not working? Any ideas?

many thanks!
 
Forum Index » General Discussion
Go to:   
Based on the open source JForum