ThePentiumGuy Posted June 9, 2003 Posted June 9, 2003 ok, im working on a page, http://www.geocities.com/adi8bz and i want to copy and paste code and keep the formatting in this forum u can do (VB) (/VB) but in HTML u cant do that i want a white background with original code-style formatting.. how do i do that? Quote My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!) vbprogramming.8k.com My Project (Need VB.NET Programmers) http://workspaces.gotdotnet.com/ResolutionRPG
*Gurus* Derek Stone Posted June 9, 2003 *Gurus* Posted June 9, 2003 <pre style="background-color: white; color: black;">Dim neverSayCant As Boolean = True</pre> Quote Posting Guidelines
ThePentiumGuy Posted June 9, 2003 Author Posted June 9, 2003 yeah but this is only black and white, i want certain things to be blue, like in the original format in other words, words like Dim and As would be blue... and if im gonna paste a massive amount of code, and i want to copy and paste, its gonna be a huge problem for me :( Quote My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!) vbprogramming.8k.com My Project (Need VB.NET Programmers) http://workspaces.gotdotnet.com/ResolutionRPG
*Experts* mutant Posted June 9, 2003 *Experts* Posted June 9, 2003 You would have write a syntax highlighter system to achieve that. Quote
*Gurus* divil Posted June 10, 2003 *Gurus* Posted June 10, 2003 When you copy and paste code from VS.NET to Word, formatting and colour is maintained. Maybe you could find a decent rtf-to-html converter and make use of it somehow, since pasting from Word to HTML gets hideous. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
ThePentiumGuy Posted June 10, 2003 Author Posted June 10, 2003 but how do you make it so that the background of the code is white. the colors available in word for the highlight are limited, i cant get white btw, the background of my site is black, and i want the background of the text(or highlight of the text) to be white ooh! when you press <Enter> in the HTML editor in VS.NET what happens is, it skips a line, i want it to go to the next line.. Quote My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!) vbprogramming.8k.com My Project (Need VB.NET Programmers) http://workspaces.gotdotnet.com/ResolutionRPG
ThePentiumGuy Posted June 10, 2003 Author Posted June 10, 2003 You would have write a syntax highlighter system to achieve that. what about the syntax higlighter system for this site? Can some1 let me .. use it for my site :rolleyes: i dunno, just asking Quote My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!) vbprogramming.8k.com My Project (Need VB.NET Programmers) http://workspaces.gotdotnet.com/ResolutionRPG
Leaders John Posted June 10, 2003 Leaders Posted June 10, 2003 The one that we use here is written in PHP, so unless you are using PHP then it wouldn't make much sense to give you the code. Quote "These Patriot playoff wins are like Ray Charles songs, Nantucket sunsets, and hot fudge sundaes. Each one is better than the last." - Dan Shaughnessy
ThePentiumGuy Posted June 10, 2003 Author Posted June 10, 2003 oh didn't know that :( Quote My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!) vbprogramming.8k.com My Project (Need VB.NET Programmers) http://workspaces.gotdotnet.com/ResolutionRPG
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.