| 
			
			
			 
				Chi Kien Uong  
				Geranienstraße 30  
				71034 Böblingen  
				Deutschland / Germany
			 
		 | 
		
	
		
			
				
					
						
							If you are not registered or logged in, you may still use these forums but with limited features.
							 Show recent topics
						 
					 | 
					
						
					 | 
				 
			 
		 | 
	 
	
		
	
		
			
			
			
			
				
				
					| Author | 
					Message | 
				 
				 
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 11/10/2007 15:41:46
	  
	
	
 						 | 
					 
					
						
						
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...
							
							
						 | 
					 
		
					 
						| 
						 | 
					 
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 17/04/2008 18:50:01
	  
	
	
 						 | 
					 
					
						
						
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!
							
							
						 | 
					 
		
					 
						| 
						 | 
					 
				
		
				
					| 
						
					 | 
				 
			 
		
			
			
			
			
			
		 | 
	 
 
 | 
 
	
		| 
			
		 | 
	 
 
	
		Based on the open source JForum
	
 
		 |