Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

CSS Font Formatting

Posted on 2013-12-29
6
Medium Priority
?
307 Views
Last Modified: 2013-12-29
I am trying to format text via CSS but it doesnt seem to be applying.  I am looking for bold white text and I am getting plain black test.  Here is the HTML

<div class="bars">
    <img id="but1" class="blue">Account Remover</img>
    </div>

Open in new window


The CSS
.blue{
	font-family:Arial, Helvetica, sans-serif;
	font-size:18px; 
	font-weight:bold;
	color:#FFFFFF;
}

Open in new window


It should be centered on the blue bars.
the site:  www.mediascrubber.com
0
Comment
Question by:DS928
[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
  • 2
6 Comments
 
LVL 53

Accepted Solution

by:
Scott Fell,  EE MVE earned 2000 total points
ID: 39745388
YOur html was a bit off

<div class="bars blue">
    <img id="but1">Account Remover
    </div>

Open in new window

0
 
LVL 53

Expert Comment

by:Scott Fell, EE MVE
ID: 39745391
0
 

Author Comment

by:DS928
ID: 39745396
Works great!  except the alignment is still off.

.blue{
	font-family:Arial, Helvetica, sans-serif;
	font-size:18px; 
	font-weight:bold;
	color:#FFFFFF;
	text-align:left;
}

Open in new window


This did it!  Thank you!

vertical-align: middle
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Closing Comment

by:DS928
ID: 39745406
Thank you.
0
 
LVL 53

Expert Comment

by:Scott Fell, EE MVE
ID: 39745408
If you are having alignment issues, you should open another question.  Alignment was not part of your original question.  

I do see you have added, "text-align:left;" to your css and that will make the text go to the left like this http://jsbin.com/EwasIZU/1/edit?html,css,output although the left align is the default.  You probably have other css that is taking over.   When you ask your next question, post a link to your page so experts can view what is going on.
0
 
LVL 53

Expert Comment

by:Scott Fell, EE MVE
ID: 39745410
Great! Thank you!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

704 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