LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-31-2011, 11:08 AM   #1
kaplan71
Member
 
Registered: Nov 2003
Posts: 809

Rep: Reputation: 39
PHP coding question


Hi there --

I am working on a website, and part of the process is my setting up the text to appear properly on the page. The text that I am working on is shown in the code below:

Code:
<h1 id="name-text" class="art-Logo-name"><a href="<?php echo $baseUrl; ?>/">Massachusetts General Hospital - Radiation Oncology</a></h1>
 <div id="slogan-text" class="art-Logo-text">Radtrials Website</div>
I need to reduce the size of the h1 code while preserving its color, which in this case is white. At the same time, I want to increase the size of the slogan-text while also keeping its color white.

What would the correct syntax be to accomplish both items?

Thanks.
 
Old 03-31-2011, 11:44 AM   #2
Snark1994
Senior Member
 
Registered: Sep 2010
Distribution: Debian
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Unless I'm misunderstanding you, then it's nothing to do with PHP you need to edit the CSS. My guess is if you look in your CSS file you will find text to the effect of:

Code:
.art-Logo-name {
    /* blah blah blah */
}

.art-Logo-text {
    /* bleh bleh bleh */
}
Changing the first will edit the h1's appearance (see, it says 'class="art-Logo-name") and the second will change the slogan-text

Hope this helps,
 
Old 03-31-2011, 12:09 PM   #3
kaplan71
Member
 
Registered: Nov 2003
Posts: 809

Original Poster
Rep: Reputation: 39
Hi there --

Thanks for your reply. Your advise definitely helped. It also showed how much I knew. Anyway, I did modify the CSS, and the text changes were successful.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Php Coding Question joelhop Programming 3 09-18-2006 04:25 PM
Php Coding Question joelhop Programming 2 08-11-2006 01:33 PM
Php Coding Question joelhop Programming 5 08-07-2006 03:09 PM
PHP Coding Question joelhop Programming 12 07-24-2006 06:52 PM
PHP Coding Question joelhop Programming 2 07-20-2006 07:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration