making a table part of css

M

Mark

The below code works fine when I inserted it into a frontpage 2003 page.
What I would like to do is use this as part of a css page so I don't have to
preset each page. I'm just unsuccessful in doing so. Any help would be
appreciated.


<div align="center">
<table width="850"><tr><td style="padding: 15px;">
<div align="center">
<table width="800"><tr><td>i</td></tr></table>
</div>
</td></tr></table>
</div>
 
R

Ronx

CSS and HTML are 2 different things. You cannot place HTML in a CSS
file.

You need to use a Dynamic Web Template, Server Side Include, or Design
Time Include
See FrontPage Help for Dynamic Web Template.
See FrontPage Help for Included Content

See http://www.w3schools.asp for tutorials on HTML and CSS.
 
M

Mark

the how do I go about creating a table within a table

I would like a centered table and then another centered table within the
first table?

If I can't create this in css how do I go about creating this so I don't
have to do this for every page?
 
D

Dan L

You're going to have to assign the style on *every page* no matter if you use
the inline style (<td style="whatever">) or a CSS class (<td
class="whatever">).
 
R

Ronx

You create the tables in a DWT or include page. Then either attach the
DWT to your content pages, or insert the include page into your pages.

As I said earlier, use the FrontPage Help pages.

HTML is not CSS.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

http://www.rxs-enterprises.org/fp
 
R

Ronx

Use a code snippet.

Tools->Page Options- Code Snippets tag

Click Add button
Type in Keyword (example: centeredTables)
Type in Description (example:Table within a centered table)
Type in HTML, as you have given it

Click OK
Click OK

To add the code to your page, switch to Split View, and in the Code
section move the curser to where you want the code inserted.
Type Ctrl+Enter (That is, press the Control key, then tap the Enter
key, release both keys)
The code snippet selection box will appear - choose the snippet you just
made and the code will be entered at the curser.


--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

http://www.rxs-enterprises.org/fp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top