Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Formatting PHP in CSS
Old 08-15-2005, 09:40 AM Formatting PHP in CSS
Harvey's Avatar
Super Spam Talker

Posts: 901
Name: Harvey C
Location: Brighton, UK
Trades: 0
I have the following PHP code. It's part of a rather long template script.

PHP Code:
$TEMPLATE["FOOTER"] = <<<EOF
    <!--//
    ####################################################################
    
    REMOVING THE LINKS BELOW WITHOUT A FULL LICENSE IS AN ILLEGAL ACTION
    ####################################################################
    //-->
    <A HREF="http://www.biz-directory.org/directory_script.php">Free PHP Directory Script</A> &copy; <A HREF="http://www.biz-directory.org/">Biz Directory</A>
EOF;
?> 
I'd like to apply a class to the last bit (The copyright bit), as currently it stands out too much.

How do I make it part of my .main class?

Thanks
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Harvey is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-15-2005, 09:54 AM
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
wrap it in a container
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 08-15-2005, 11:46 AM
Harvey's Avatar
Super Spam Talker

Posts: 901
Name: Harvey C
Location: Brighton, UK
Trades: 0
Excuse my ignorance, but how would I do that?

I also need to make the category links part of the .main class, and have no idea how - I have very little knowledge of CSS and PHP!

See this thread for the full script and more info.

Thanks
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Harvey is offline
Reply With Quote
View Public Profile
 
Old 08-15-2005, 12:20 PM
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
HTML Code:
<div class="main">
<A HREF="http://www.biz-directory.org/directory_script.php">Free PHP Directory Script</A> &copy; <A HREF="http://www.biz-directory.org/">Biz Directory</A> 
</div>
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Formatting PHP in CSS
 

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.12975 seconds with 12 queries