CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 9th, 2005, 03:55 PM
ChiefWigs1982's Avatar
ChiefWigs1982 ChiefWigs1982 is offline
Cunning Linguist
Dev Shed God 11th Plane (10000 - 10499 posts)
 
Join Date: Jul 2003
Location: I used to live at home, now I stay at the house
Posts: 10,148 ChiefWigs1982 User rank is General 14th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 14th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 14th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 14th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 14th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 14th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 14th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 14th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 14th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 14th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 14th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 14th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 14th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 14th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 14th Grade (Above 100000 Reputation Level)ChiefWigs1982 User rank is General 14th Grade (Above 100000 Reputation Level)  Folding Points: 50746 Folding Title: Beginner FolderFolding Points: 50746 Folding Title: Beginner FolderFolding Points: 50746 Folding Title: Beginner Folder
Time spent in forums: 3 Months 3 Weeks 3 Days 20 h 47 m 47 sec
Reputation Power: 1915
New Syntax Highlighting...

Hey everyone, the admins have implemented a new hack to the
forums, allowing you to post your code with nicely coloured text
rather than just the normal black or the old php stuff.

More details can be found here:
http://forums.devshed.com/t279108/s.html

Html code:
[highlight=html4strict]your code here[/highlight]

For example:
html4strict Code:
Original - html4strict Code
  1.  
  2. <?xml version="1.0" encoding="iso-8859-1"?>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  4.    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  5. <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  6. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  7. <title>Untitled Document</title>
  8. </head>
  9.  
  10. <h1 class="header_text">
  11.     Nice One!
  12. </h1>
  13. <p id="main_content">
  14.     <span style="color:red;">Lorem ipsum</span> dolor sit amet, consectetur
  15.     adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore
  16.     magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
  17.     laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in
  18.     reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
  19.     Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia
  20.     deserunt mollit anim id est laborum.
  21. </p>
  22. </body>
  23. </html>

The same goes for CSS highlighting:
[highlight=css]your code here[/highlight]
css Code:
Original - css Code
  1.  
  2. /*Comments*/
  3. body
  4. {
  5.     property:value;
  6. }
  7. body, div
  8. {
  9.     property:value;
  10. }

As you can see from the thread I linked, there are many many
other languages supported, but these three examples are more
likely to be used than any other in this particular forum...

Have fun with it, and please do use this feature, I'm sure it will
make things much easier for us to read/understand, rather than
just posting chunks of code.

Enjoy!

--Jon.
__________________
Support requests via PM will be ignored!
Sites: Route of Queue | Sinthetic - Alternative UK Hiphop
Read These: The General Rules Thread | The General FAQ Thread | NEW USERS - How to post a question

Perfectly Impossible - is the eagerly awaited debut release from Jayne Sarah - please buy it - it's really good!


Reply With Quote
  #2  
Old November 27th, 2006, 05:09 PM
acidfourtyfive's Avatar
acidfourtyfive acidfourtyfive is offline
Since 439000000
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: May 2004
Location: Canada
Posts: 1,095 acidfourtyfive User rank is First Lieutenant (10000 - 20000 Reputation Level)acidfourtyfive User rank is First Lieutenant (10000 - 20000 Reputation Level)acidfourtyfive User rank is First Lieutenant (10000 - 20000 Reputation Level)acidfourtyfive User rank is First Lieutenant (10000 - 20000 Reputation Level)acidfourtyfive User rank is First Lieutenant (10000 - 20000 Reputation Level)acidfourtyfive User rank is First Lieutenant (10000 - 20000 Reputation Level)acidfourtyfive User rank is First Lieutenant (10000 - 20000 Reputation Level)acidfourtyfive User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 16 h 44 m 45 sec
Reputation Power: 117
Oooo, purdy...

Reply With Quote
  #3  
Old January 15th, 2007, 11:27 AM
jorgejones jorgejones is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2005
Posts: 134 jorgejones Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 1 Day 4 h 58 m 35 sec
Reputation Power: 0
Quote:
Originally Posted by acidfourtyfive
Oooo, purdy...
Geshi anyone?.
Comments on this post
jabba_29 disagrees: postcount++; repcount--;

Reply With Quote
  #4  
Old October 30th, 2009, 07:09 AM
sirtaxster sirtaxster is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2009
Posts: 25 sirtaxster User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 49 m 47 sec
Reputation Power: 0
Quote:
Originally Posted by jorgejones
Geshi anyone?.
lol.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > New Syntax Highlighting...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
Stay green...Green IT