?
Solved

Control of text  font when positioned on top of picture

Posted on 2013-12-05
4
Medium Priority
?
329 Views
Last Modified: 2013-12-05
I'm working in a php/mysql environment.  I am using a DIV to place text field on top of a picture. I am zero-ing out the text box so I just show text.

I thought this would be simple, but I'm not able to get the font size and weight I need.

Here is the css & html.

<style type="text/css">

.Misc_style {
border-style:solid;
border-color:#000000;
border-width: 0px;
background-color: transparent;
}

.overlay_A-B {
font-size:28px;
font-weight:bold;  
position: relative;
top: -50px;
left: -200px;
overflow:hidden;
 }
</style>


<div id="A-B_tag" class="overlay_A-B">
                                          <input name="A-B" type="text" id="A-B" value="0.00" size="6" maxlength="6" readonly="readonly" class="Misc_style"></div>

I can position the text, but I am unable to change the font.
0
Comment
Question by:jws2bay
[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 Comments
 
LVL 9

Expert Comment

by:Rowby Goren
ID: 39698797
Hi

I think you should request the moderator to add CSS to your Topic List.   They should give you the best answers here.

You would click on the Request Attention "triangle button"  on this page.


Rowby
0
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 2000 total points
ID: 39698844
You should set the class of the input to overlay_A_B and if that does not work then there is something else in the page interfering with it and you will need to post a link to the page so we can do diagnostics.

Cd&
0
 

Author Closing Comment

by:jws2bay
ID: 39699907
I was able to get it to work by changing the DOCTYPE  html, and stripping  the my css down to the basics.  It seems like I had some redundant css.
0

Featured Post

DFW AZURE MEETUP TONIGHT FRI 6PM

We will be discussing what Azure Stack is, how does it fit into the suit of offerings that Azure has currently, and where can it fit into your organizations technology stack. We will also be discussing limitations of the platform while covering various applicable scenarios.

Question has a verified solution.

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

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…
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
The viewer will learn how to dynamically set the form action using jQuery.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

770 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