The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Is there a code (notepad) format?

3 posters

Go down

Is there a code (notepad) format? Empty Is there a code (notepad) format?

Post by Luke Frost May 20th 2014, 5:39 am

Just wondering if it's possible to use a [*code] format similar to how the notepad is used (where, f.e, three spaces = three spaces). Just wanting to transfer something from another forum (that has this feature) to this one.

Thanks in advance!
Luke

Is there a code (notepad) format? Code_notepad_format
avatar
Luke Frost
Forumember

Posts : 46
Reputation : 1
Language : English

Back to top Go down

Is there a code (notepad) format? Empty Re: Is there a code (notepad) format?

Post by SLGray May 20th 2014, 7:03 am

Are you referring to tables?


Is there a code (notepad) format? Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51489
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Is there a code (notepad) format? Empty Re: Is there a code (notepad) format?

Post by Luke Frost May 20th 2014, 8:21 am

I think so, yeah!
avatar
Luke Frost
Forumember

Posts : 46
Reputation : 1
Language : English

Back to top Go down

Is there a code (notepad) format? Empty Re: Is there a code (notepad) format?

Post by Pizza Boi May 20th 2014, 3:25 pm

Hi Very Happy

Well, in order for that to happen, you should consult w3schools.com for tutorials but here is a draft code:

Code:
<table>
<tr>
<td>
</td>
</tr>
<tr>
<td>
</td>
</tr><tr>
<td>
</td>
</tr><tr>
<td>
</td>
</tr><tr>
<td>
</td>
</tr><tr>
<td>
</td>
</tr><tr>
<td>
</td>
</tr><tr>
<td>
</td>
</tr><tr>
<td>
</td>
</tr><tr>
<td>
</td>
</tr><tr>
<td>
</td>
</tr></table>

Then if you want it to have a style, you should add something like:

Code:
<table class="mystyle>

You can add the class name to td as well and then add the styles you want in the stylesheet:

Code:
.mystyle {
  /* My style here */
}

Regards,
Pizza Boi
Pizza Boi
Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum