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 
Success - IE Left Align in Advanced Poll  XML
Forum Index » Support Forum
Author Message

Joined: 07/07/2009 13:27:06
Messages: 3

Here is what has FINALLY worked for me in left aligning in Advanced Poll for IE

POLL xxx - Poll.php (page)

/* Include this before your html code */
include_once "poll/poll_cookie.php";
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
td{ text-align:left}





/* path */
$poll_path = dirname(poll);

require_once $poll_path."/poll/include/config.inc.php";
require_once $poll_path."/poll/include/$POLLDB[class]";
require_once $poll_path."/poll/include/class_poll.php";
$CLASS["db"] = new polldb_sql;

$php_poll = new poll();

/* the third poll */
if ($php_poll->is_valid_poll_id(xxx)) {
echo $php_poll->display_poll(xxx);



Joined: 07/07/2009 13:27:06
Messages: 3

To the above css statement in the poll.php page, I've even added a background image to the poll. I am sure I could do a color changed to. I have about 30+ polls running on my site and up until now, they've all had the same black background, but now I can make it do anything.

See the red code above and ad this line under the td line

table {background-image:url(yourimage.gif);}

You can see this done here:

Forum Index » Support Forum
Go to:   
Based on the open source JForum