473,414 Members | 1,596 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

PHP Font Help

Hello all,

I'm not sure if what I'm trying to do is possible or not. The company I work for has a webpage that was created by a previous employee and they did not document the code well, on top of that I'm not very familiar with PHP in general. First I'll show you the current code:

$manual=$manual."</td><td> &nbsp; <img src=\"../images/ico_educate.gif\" width=\"32\" height=\"32\"></td><td><p><strong><a href=\"educational.php\">POPS Producers Online Plus Services</a></strong></td></tr>";

Now, what I'm trying to do: I want to change the font of the word POPS. Make it larger than the rest of the words, preferably as big as the icon if possible, and maybe even use a "fancier" script like Adrian while leaving the "Producers Online Plus Services" at the normal size and font type. If I could line everything up so that the bottom of the letters in "Producers..." lines up with the bottom of the letters in POPS that would be outstanding.
Apr 14 '10 #1

✓ answered by Dormilich

just a matter of HTML/CSS
Expand|Select|Wrap|Line Numbers
  1. $manual .= '</td>
  2. <td> &nbsp; <img src="http://bytes.com/topic/php/images/ico_educate.gif" width="32" height="32"></td>
  3. <td>
  4.     <p>
  5.         <a href="educational.php">
  6.             <span class="higher">POPS</span>
  7.             <strong>Producers Online Plus Services</strong>
  8.          </a>
  9.     </p>
  10. </tr>";
Expand|Select|Wrap|Line Numbers
  1. .higher {
  2.     font-size: 150%;
  3.     /* more styling */
  4. }

1 1240
Dormilich
8,658 Expert Mod 8TB
just a matter of HTML/CSS
Expand|Select|Wrap|Line Numbers
  1. $manual .= '</td>
  2. <td> &nbsp; <img src="http://bytes.com/topic/php/images/ico_educate.gif" width="32" height="32"></td>
  3. <td>
  4.     <p>
  5.         <a href="educational.php">
  6.             <span class="higher">POPS</span>
  7.             <strong>Producers Online Plus Services</strong>
  8.          </a>
  9.     </p>
  10. </tr>";
Expand|Select|Wrap|Line Numbers
  1. .higher {
  2.     font-size: 150%;
  3.     /* more styling */
  4. }
Apr 14 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

131
by: Peter Foti | last post by:
Simple question... which is better to use for defining font sizes and why? px and em seem to be the leading candidates. I know what the general answer is going to be, but I'm hoping to ultimately...
115
by: J | last post by:
I've run CSSCheck on my style sheets and I always get a warning similar to this: "font: bold 9pt/100% sans-serif Warning: Absolute length units should not generally be used on the Web ..." ...
10
by: Richard R Plourde | last post by:
I've got a problem that IE doesn't seem to use the entire font unicode subgroups from a hinted font file. When I display the following web page in IE 6 as opposed to Firefox 1.0 PR. Check out...
0
by: Hariharan Subramony | last post by:
Hi Guys, I have the following issue ... I have a form with two richTextBoxes named (01) richTextBox1 (02) richTextBox2 with some controls for selecting Font types (Arial, Courier, etc)...
4
by: cql60 | last post by:
Hi all, I have application was developed on Window XP, and the font I used for all the control in the form are "Monotype Corsiva". When the application run on Window 2000, The font look weird...
2
by: Amith | last post by:
Hi, I am using an ActiveX created using delphi. It has a font property exposed. The font property is of type IFontDisp in the server(delphi). The font properties like Size, Bold, Underline etc...
9
by: Adam | last post by:
Can someone please help!! I am trying to figure out what a font is? Assume I am working with a fixed font say Courier 10 point font Question 1: What does this mean 10 point font Question 2:...
24
by: Tony Girgenti | last post by:
Hello. Developing a Windows Form program in VS.NET VB, .NET Framework 1.1.4322 on a windows XP Pro, SP2. Before printing a document, i want to set the font to a font that is only available...
6
by: Miro | last post by:
Is there a way to / or a mathematical formula to see if a font size is 'too big' for a label. I have a label that is docked to 'fill' a form, and I want to resize that font based on the width...
2
by: kheitmann | last post by:
OK, so I have a blog. I downloaded the "theme" from somewhere and have edited a few areas to suit my needs. There are different font themes within the page theme. Long story short, my "Text Posts"...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.