View Full Version : html question
hanyo66
01-04-2009, 01:16 PM
Posting in here now because I need to know this asap:
How do I turn a section of html off on my website. I want to show a code snippet but I don't want it to actually show what it's supposed to look like, ye dig?
hanyo66
01-04-2009, 01:59 PM
Come on assholes
galloway
01-04-2009, 02:04 PM
not sure if thats what you have in mind but:
<div id="hiddencontent" style="visibility:hidden">
the shit you wanna hide
</div>
be more precise next time :-D
edit:thats a css function, not html btw
hanyo66
01-04-2009, 02:07 PM
Ha I don't want to hide it.
Example of what I want to do:
code and such here
BUT I don't want that to show up bold, but I still want the tags attached.
It's like the stuff between the dividers on this group page:
http://www.flickr.com/groups/wishitookthat/
galloway
01-04-2009, 02:14 PM
oooooooooh that... thats a bit fucked up.... heres what you have to replace:
< - >
> - <
and so on
edit: oh found something that might help you
http://www.chami.com/tips/internet/050798i.html
hanyo66
01-04-2009, 02:19 PM
I don't understand any of that haha
galloway
01-04-2009, 02:29 PM
oh fucking hell
save this as wow.html:
<html>
<head>
<title>now</title>
</head>
<body>
<p>
<html><br />
<head><br />
<tittle>can u understand it now<⁄title><br />
<⁄head><br />
<body><br />
<h1>coz i hope u do<⁄h1><br />
<⁄body><br />
<⁄html><br />
</p>
</body>
</html>
this is what wow.html is gonna look like:
<html>
<head>
<tittle>can u understand it now</title>
</head>
<body>
<h1>coz i hope u do</h1>
</body>
</html>
replace
< with <
> with >
/ with ⁄
and put the whole thing into a paragraph <p>like thie</p>
edit:woops mixed up lt's and gt's a bit but i fix'd em
hanyo66
01-04-2009, 02:43 PM
Hahah thanks bro, posi tomorrow
gorgoroth
01-04-2009, 02:58 PM
you can just put
<code></code>
lol :P
vBulletin® v3.8.2, Copyright ©2000-2013, Jelsoft Enterprises Ltd.