Solved

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

Posted on 2016-11-29
8
81 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 56

Expert Comment

by:Julian Hansen
ID: 41906796
Can you elaborate what you mean by
How Can I Set Multiple Colour Text
0
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 

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 56

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 56

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 56

Expert Comment

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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

735 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