PDA

View Full Version : How do I use a vB table on a external non-vB page?


Triky
12-16-2008, 12:15 PM
For example, I would like to use this code on a external non-vB page:

<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
<tr>
<td class="tcat">Test
</td>
</tr>
</table>

Can you please give me some advice on how can I do this?

Seven Skins
12-16-2008, 01:07 PM
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<title></title>
<style type="text/css">
.tcat {background: #99CCFF;color: #000000;}
</style>
</head>

<body>
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
<tr>
<td class="tcat">Test
</td>
</tr>
</table>
</body>

</html>


Like this ^^.

Triky
12-16-2008, 01:23 PM
Yup, I know that.. :p
But..there is no way to call it directly from vB?

Seven Skins
12-16-2008, 01:27 PM
If your CSS is in file system you can link it to your page.

Lynne
12-16-2008, 01:50 PM
Are you familiar with these articles - How to create your own vBulletin-powered page! (uses vB templates) (https://vborg.vbsupport.ru/showthread.php?t=62164) or [How-To] vBulletin API Basics: Creating Custom Pages & Misc. (https://vborg.vbsupport.ru/showthread.php?t=98009)

Gio~Logist
12-16-2008, 02:09 PM
If your CSS is in file system you can link it to your page.

Yep, that would be the easiest way :up: