Jump to content

How would i make my drop down background black?


Recommended Posts

So i have just recently installed a drop down menu that uses php to set a cookie. That page can be seen here.[url=http://www.campusgoal.com/school.php]www.campusgoal.com/school.php[/url] i am wondering how would i change the background of this to black and where is says school to white? Below i have posted the php code.
[code]<form action="setcookie.php"  method="post">


echo '<p><label for="school"><strong>School : </strong></label><select name="school" id="school">'."\n";

$sql = "SELECT ID, School FROM School";
$result = mysql_query($sql, $db);
$count = mysql_num_rows($result);
if($count == 0)
    echo '<option>No Schools added yet.</option>';
while($row = mysql_fetch_assoc($result))
    echo '<option value="'.$row['ID'].'"';
    if($_COOKIE[Cookie]['SchoolID'] == $row['ID']) { echo ' selected'; }
    echo '>'.$row['School'].'</option>'."\n";
echo '</select>';

?><input type="submit" name="submit" value="Go" /></p>


Any help with this would be greatly appreciated.
Link to comment
Share on other sites

AHH safari, i cant tell you how many times i have had problems with previewing my site in safari and firefox and IE. They just cant seem to display the net the same. Yeah it dosent work in safari. I know i think it looks kind of cool like that too. 
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.