?
Solved

html beginner

Posted on 2013-12-13
7
Medium Priority
?
402 Views
Last Modified: 2014-01-22
<div id="DropDown_Currency"> </div>

in front of the dropdown box i want to a text ''Currency"

can someone modify the code for me
text color red, size 11, font arial

attached sample how i want to display that
Untitled.png
0
Comment
Question by:ammadeyy2020
[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
7 Comments
 
LVL 53

Expert Comment

by:Scott Fell, EE MVE
ID: 39718306
In order to modify your code, we need your actual code.  The image is good to help us see what you want. Can you post the code you do have so far.
0
 
LVL 1

Expert Comment

by:kostbad
ID: 39718341
insert this in your html code:

<font color="red" face="arial" size="11">Currency</font>

There are many ways to achieve the same result.

Will you be using CSS? Will you be using the same formatting in the whole section or only for the specified text?
0
 

Author Comment

by:ammadeyy2020
ID: 39718380
font size and color is not changing

           <form action="Config_FullStoreURLSearchResults.asp" method="get" name="SearchBoxForm">
            <input type="text" name="Search" id="search_input" value="enter keywords..." onfocus="if (this.value == 'enter keywords...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'enter keywords...';}"/>
          <input type="submit" name="Submit" id="search_submit" value=""/>

        </form>
<font color="red" face="arial" size="8">Currency</font> <div id="DropDown_Currency"> </div>
    </div>


here is the url preview
http://puyzm.qzqum.servertrust.com/
0
 
LVL 16

Accepted Solution

by:
HagayMandel earned 2000 total points
ID: 39718395
Add to the form the following:

<label for"ER_ID" style="color:red; font-size:16px; font-weight: bold;">Currency:</label>
just before the select box
<select name="ER_ID" onchange="this.form.submit()"> ...

I suggest that you add to your DropDown_Currency div the following as well:
float:left;
margin-top:5px;
0
 
LVL 18

Expert Comment

by:mgfranz
ID: 39739747
<Font> is depreciated, try this instead.
<div id="DropDown_Currency"> <span style="color:#FF0000; font-family:Arial; font-size:11px;">Currency</span>
  <select name="DD_Currency" id="DD_Currency">
    <option value="dollar">Dollar</option>
    <option value="euro">Euro</option>
    <option value="yen">Yen</option>
  </select>
</div>

Open in new window

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

This article discusses four methods for overlaying images in a container on a web page
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

764 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