Solved

How Can I Set Multiple Colour Text (Font Color) Option To To My Uploading Panel Scricpt ?

Posted on 2016-11-29
8
95 Views
Last Modified: 2016-12-28
<div class="submenu">
    <div align="left">
        <form action="update_db.php" method="post" enctype="multipart/form-data" onsubmit="return chkfrm(compulsory,dispError,this)" class="niceform">
            <fieldset>
                <dl>
                    <dt><label for="Title">Title:</label></dt>       [Note-Here I want To Add Colour Option in my Panel,Full Script Is Attached]
                    <dd><input type="text" name="name" id="" size="54" /></dd>
                </dl>
                <dl>
                    <dt><label for="Upload from url">Link:</label></dt>
                    <dd><input type="text" name="link" id="" size="54" /></dd>
                </dl>
                <dl class="submit">
                    <dt></dt>
                    <dd>
                        <input type="submit" name="submit" id="submit" value="Submit" />
                    </dd>
                </dl>
            </fieldset>
        </form>
    </div>
</div>
0
Comment
Question by:Funky Guy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 110

Expert Comment

by:Ray Paseur
ID: 41906568
[Note-Here I want To Add Colour Option in my Panel,Full Script Is Attached]
Please post the attachment, thanks.
1
 

Author Comment

by:Funky Guy
ID: 41906781
i have attach 2 files,that should help...if you need any more files then please Reply
Thankss In Advance
update_db.php
index.php
0
 
LVL 58

Expert Comment

by:Julian Hansen
ID: 41906796
Can you elaborate what you mean by
How Can I Set Multiple Colour Text
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 

Author Comment

by:Funky Guy
ID: 41906798
sir,Julian Hansen
whenever i run this script,The Text Shown are Black in color,I want them to be in different color,i want options for color choosing
0
 
LVL 58

Expert Comment

by:Julian Hansen
ID: 41906837
Ok I am still confused.

Colour is controlled by CSS

So you could add the following to your stylesheet
.submenu dl label {
   color: purple;
}

Open in new window

That will make all your label's in the .submenu dl elements purple.
0
 
LVL 58

Accepted Solution

by:
Julian Hansen earned 500 total points
ID: 41906843
I also don't understand your scripts
In your index.php you have
<?php include '../header.php'; ?>

Open in new window

And the last line of header.php you have
header("location: index.php?errid=13");

Open in new window

Looks like a loop to me
Having said that here is a sample based on your code that changes the colour and background of the <label>'s

<!doctype html>
<html>
<head>
<style type="text/css">
.submenu dl label {
  color: yellow;
  background: green;
}
</style>
</head>
<body>
<h2></h2>
<h2 style="background-color:#0099CC;">&nbsp;&nbsp;<a style="color: #FFFFFF" class="menuitem submenuheader" href="">Add Updates &nbsp;</a></h2>
<div class="submenu">
  <div align="left">
    <form action="update_db.php" method="post" enctype="multipart/form-data" onsubmit="return chkfrm(compulsory,dispError,this)" class="niceform">
      <fieldset>
        <dl>
          <dt><label for="Title">Title:</label></dt>
          <dd><input type="text" name="name" id="" size="54" /></dd>
        </dl>
        <dl>
          <dt><label for="Upload from url">Link:</label></dt>
          <dd><input type="text" name="link" id="" size="54" /></dd>
        </dl>
        <dl class="submit">
          <dt></dt>
          <dd>
            <input type="submit" name="submit" id="submit" value="Submit" />
          </dd>
        </dl>
      </fieldset>
    </form>
  </div>
</div>
</body>
</html>

Open in new window

0
 

Author Closing Comment

by:Funky Guy
ID: 41908551
thanxx alot
0
 
LVL 58

Expert Comment

by:Julian Hansen
ID: 41908622
You are welcome.
0

Featured Post

WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to implement server side field validation and display customized error messages to the client.
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question