Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Technical Support » Other » OT: Problem with a poll
OT: Problem with a poll [message #82349] Wed, 21 April 2004 23:17 Go to next message
spreegem is currently offline  spreegem
Messages: 1755
Registered: March 2003
Location: Ellington, CT
Karma: 0
General (1 Star)

First, I am trying to change the background color, and text color / style and such for a poll with .css, the poll is done with .php and I added in the proper code which is (I thought)
?>

<html>
<head>
<link rel="stylesheet" href="css.css" type="text/css">
</head>
</html>

<?


I keep getting an error when ever I do that though.

Second, The bars for the results are not working properly, they should have a background image. Your help is greatly appreciated!

Thank You in advance
Ohh ya the poll I am asking about is here. http://www.egmods.com/Main/Poll/poll.php
OT: Problem with a poll [message #82431] Thu, 22 April 2004 12:37 Go to previous messageGo to next message
flyingfox is currently offline  flyingfox
Messages: 1612
Registered: February 2003
Location: scotland, uk
Karma: 0
General (1 Star)
I don't know php, but the ?> and <? don't seem like proper html tags.

Also, in the code, you don't seem to have added in a "color=" or whatever the code is to color a background on a page. If you PM crimson to this thread, I'm sure she'll know what to do.
OT: Problem with a poll [message #82432] Thu, 22 April 2004 12:39 Go to previous messageGo to next message
spreegem is currently offline  spreegem
Messages: 1755
Registered: March 2003
Location: Ellington, CT
Karma: 0
General (1 Star)

Before ?> and after <? is php code, I think that is correct, but I may be wrong. THX though, I'll try PM'ing Crimson
OT: Problem with a poll [message #82438] Thu, 22 April 2004 12:45 Go to previous messageGo to next message
Matt2405 is currently offline  Matt2405
Messages: 77
Registered: October 2003
Location: UK
Karma: 0
Recruit
If you ask me isnt <?php and ?> the standered tags.
I dont know much about PHP will I am going to use it in the future.

EDIT: If I am mistaken don't you use the "echo" command when using HTML code in PHP code?

If so it would be this:

<?php

echo"<html>"
. "head>"
. "link rel=\"stylesheet\" href=\"css.css\" type=\"text/css\">"
. "/head>"
. "/html> "
."";

?>

Sorry if I am wrong.
OT: Problem with a poll [message #82439] Thu, 22 April 2004 12:50 Go to previous messageGo to next message
spreegem is currently offline  spreegem
Messages: 1755
Registered: March 2003
Location: Ellington, CT
Karma: 0
General (1 Star)

Thanks Matt, I'm not getting an error anymore, but the style is not showing up.
OT: Problem with a poll [message #82442] Thu, 22 April 2004 12:54 Go to previous messageGo to next message
Matt2405 is currently offline  Matt2405
Messages: 77
Registered: October 2003
Location: UK
Karma: 0
Recruit
As you know, I think Crimson is best at that Wink
OT: Problem with a poll [message #82443] Thu, 22 April 2004 12:57 Go to previous messageGo to next message
spreegem is currently offline  spreegem
Messages: 1755
Registered: March 2003
Location: Ellington, CT
Karma: 0
General (1 Star)

I pm'd her, so hopefully she will read it today, or sometime soon.
Re: OT: Problem with a poll [message #82576] Thu, 22 April 2004 21:40 Go to previous messageGo to next message
Crimson is currently offline  Crimson
Messages: 7429
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (5 Stars)
ADMINISTRATOR
?>

<html>
<head>
<link rel="stylesheet" href="css.css" type="text/css">
</head>
<body>

<? more php stuff ?>

</body>
</html>


Your HTML document isn't constructed properly.


I'm the bawss.
OT: Problem with a poll [message #82617] Fri, 23 April 2004 03:40 Go to previous messageGo to next message
cowmisfit is currently offline  cowmisfit
Messages: 2035
Registered: May 2003
Karma: 0
General (2 Stars)
it been quite some time since i done html, but i can tell ya that dont look right at all, just everything is in the wrong place go to http://www.bravenet.com i think it is, and take one of there tuts or there pre made html poles. *also on http://www.tripod.com they have them.

http://img299.echo.cx/img299/7085/philly1ge.jpg
OT: Problem with a poll [message #82679] Fri, 23 April 2004 09:23 Go to previous message
spreegem is currently offline  spreegem
Messages: 1755
Registered: March 2003
Location: Ellington, CT
Karma: 0
General (1 Star)

Thank You Crimson!
I'm still having a couple problems, but nothing to bad, if they can't be fixed then it's not a big deal because it doesn't really matter.

http://www.egmods.com/Main/Poll/poll.php

1. A bar (http://www.egmods.com/Main/Poll/bar.gif) should be showing up inside of the white boxes.

2. All of the text except the link to view the archive is black. I would like it to be white.
Previous Topic: Router Port
Next Topic: I think it has to do with Java
Goto Forum:
  


Current Time: Wed Dec 11 08:14:38 MST 2024

Total time taken to generate the page: 0.00831 seconds