Adding code to multiple pages

R

Rich

I want to add some code to my website to remove the
hyperlink underline. I have alot of pages to change. Is
there any way for me to add the code to multiple pages at
one time.
Is it also possible to change the format for multiple
pages; for example cell padding in a table?
Thanks
Rich
 
J

Jim Buyens

-----Original Message-----
I want to add some code to my website to remove the
hyperlink underline. I have alot of pages to change. Is
there any way for me to add the code to multiple pages
at one time.

Yes. Create a CSS style sheet file containing this rule:

a {text-decoration: none; }

and link it to each page in your site. To do this, follow
the procedure at:

Controlling Fonts for an Entire Web Site
http://www.interlacken.com/winnt/tips/tipshow.aspx?tip=2
Is it also possible to change the format for multiple
pages; for example cell padding in a table?

As above, but

td {padding: 5px;}

where 5px means 5 pixels of padding.

Note, however, that any existing cellpadding= attribues
in your HTML will override this.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
J

Jon

td {padding: 5px;}
where 5px means 5 pixels of padding.

Note, however, that any existing cellpadding= attribues
in your HTML will override this.

It's the other way around CSS over-rides cellpadding in tables - this way
you can use CSS for modern browsers and cellpadding for NN4. For example try
this
..pad{
padding: 2px;
}
<table border=1 cellpadding=15 cellspacing=0>
<tr><td class="pad">some interesting text</td></tr>
</table>
<table border=1 cellpadding=15 cellspacing=0>
<tr><td>some interesting text</td></tr>
</table>
in a modern browser and NN4 - in the first table a modern browser uses the
CSS padding NN4 the cellpadding=15

Jon
Microsoft MVP - FP
 
J

Jim Buyens

Oops; I stand corrected. Any padding (or other properties) that you apply at
the TD level, such as

td {padding: 5px;}

will override settings at the TABLE level, such as

<table cellpadding="2">

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
G

Guest

Jim

I already have a style sheet called data_style.css. I
presume this is the style sheet used on all my pages.
Should I just add the code to this sheet?

Rich
 
J

Jim Buyens

You can try that, but if you're using a Theme, FrontPage may revert your
change the available opportunity.

Themes are prettymuch an all-or-nothing proposition. Once you apply a Theme,
it takes (and keeps) complete control over formatting. Therefore, to change
page appearance, you should modify the Theme.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
R

Rich

Jim

Your message says 'Message unvailable'. This is also the
case for all other messages for this thread apart from
your first reply

Any chance you can send me a response to
[email protected]

Thanks
Rich
 
R

Rich

OK thanks
-----Original Message-----
You can try that, but if you're using a Theme, FrontPage may revert your
change the available opportunity.

Themes are prettymuch an all-or-nothing proposition. Once you apply a Theme,
it takes (and keeps) complete control over formatting. Therefore, to change
page appearance, you should modify the Theme.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------







.
 
Top