PC Review


Reply
Thread Tools Rate Thread

applying style to a table

 
 
J Harrigan
Guest
Posts: n/a
 
      5th Nov 2003
First, I'm very new to FrontPage (and web design in general) and just trying
to understand everything that my designer did (or at least some of it),
particularly in the area of styles.

He created 'site.css' that contains styles, and the header for every page
references that file, so the new pages I'm creating show the font I want
when I preview them in a browser.

Except for one page. I'm adding text to a table, and the text stays in the
default font (times new roman). All text outside of the table is correct
when viewed in a browser.

So I would guess that there is a style in site.css that formats text outside
of a table, since it's appearing correctly. Some of the pages the designer
created have text in tables, and it's formatted correctly. There is a
'.Tablecontent' entry in the site.css, so I'm guessing that's what he's
using to set the format, but how do I apply that to my new table?

Any thoughts welcome...many thanks...Jan


 
Reply With Quote
 
 
 
 
LisaB
Guest
Posts: n/a
 
      5th Nov 2003
I don't have the quick answer but while you are waiting
for a reply here is a link to a site with all the tags (I
too am working on a css).

http://www.w3schools.com/tags

>-----Original Message-----
>First, I'm very new to FrontPage (and web design in

general) and just trying
>to understand everything that my designer did (or at

least some of it),
>particularly in the area of styles.
>
>He created 'site.css' that contains styles, and the

header for every page
>references that file, so the new pages I'm creating show

the font I want
>when I preview them in a browser.
>
>Except for one page. I'm adding text to a table, and the

text stays in the
>default font (times new roman). All text outside of the

table is correct
>when viewed in a browser.
>
>So I would guess that there is a style in site.css that

formats text outside
>of a table, since it's appearing correctly. Some of the

pages the designer
>created have text in tables, and it's formatted

correctly. There is a
>'.Tablecontent' entry in the site.css, so I'm guessing

that's what he's
>using to set the format, but how do I apply that to my

new table?
>
>Any thoughts welcome...many thanks...Jan
>
>
>.
>

 
Reply With Quote
 
Steve Easton
Guest
Posts: n/a
 
      5th Nov 2003
It appears that that author has defined a class named
..Tablecontent

So, in your new table, in html view add the following:
class="Tablecontent" so it looks like this:

<table class="Tablecontent" width=.... and so on.

Notice the . is not needed when assigning the class.

You can also assign the class by right clicking and selecting
table properties and then style. but i find it easier to it in html view.


hth

--
95isalive
This site is best viewed..................
...............................with a computer
"J Harrigan" <(E-Mail Removed)> wrote in message
news:%23zeSM$(E-Mail Removed)...
> First, I'm very new to FrontPage (and web design in general) and just

trying
> to understand everything that my designer did (or at least some of it),
> particularly in the area of styles.
>
> He created 'site.css' that contains styles, and the header for every page
> references that file, so the new pages I'm creating show the font I want
> when I preview them in a browser.
>
> Except for one page. I'm adding text to a table, and the text stays in the
> default font (times new roman). All text outside of the table is correct
> when viewed in a browser.
>
> So I would guess that there is a style in site.css that formats text

outside
> of a table, since it's appearing correctly. Some of the pages the designer
> created have text in tables, and it's formatted correctly. There is a
> '.Tablecontent' entry in the site.css, so I'm guessing that's what he's
> using to set the format, but how do I apply that to my new table?
>
> Any thoughts welcome...many thanks...Jan
>
>



 
Reply With Quote
 
J Harrigan
Guest
Posts: n/a
 
      5th Nov 2003
Thanks to you both. Part of why I'm so confused: when I right click, go to
table properties, click Style...there's NOTHING in the class dropdown. Is
this because they didn't use the frontpage interface to create the style?

Second question...re adding class=tablecontent to the table: why in the
world don't I see this on the existing tables? Any ideas?

"Steve Easton" <(E-Mail Removed)> wrote in message
news:u2rcVg%(E-Mail Removed)...
> It appears that that author has defined a class named
> .Tablecontent
>
> So, in your new table, in html view add the following:
> class="Tablecontent" so it looks like this:
>
> <table class="Tablecontent" width=.... and so on.
>
> Notice the . is not needed when assigning the class.
>
> You can also assign the class by right clicking and selecting
> table properties and then style. but i find it easier to it in html view.
>
>
> hth
>
> --
> 95isalive
> This site is best viewed..................
> ..............................with a computer
> "J Harrigan" <(E-Mail Removed)> wrote in message
> news:%23zeSM$(E-Mail Removed)...
> > First, I'm very new to FrontPage (and web design in general) and just

> trying
> > to understand everything that my designer did (or at least some of it),
> > particularly in the area of styles.
> >
> > He created 'site.css' that contains styles, and the header for every

page
> > references that file, so the new pages I'm creating show the font I want
> > when I preview them in a browser.
> >
> > Except for one page. I'm adding text to a table, and the text stays in

the
> > default font (times new roman). All text outside of the table is correct
> > when viewed in a browser.
> >
> > So I would guess that there is a style in site.css that formats text

> outside
> > of a table, since it's appearing correctly. Some of the pages the

designer
> > created have text in tables, and it's formatted correctly. There is a
> > '.Tablecontent' entry in the site.css, so I'm guessing that's what he's
> > using to set the format, but how do I apply that to my new table?
> >
> > Any thoughts welcome...many thanks...Jan
> >
> >

>
>



 
Reply With Quote
 
Peter Taurins
Guest
Posts: n/a
 
      5th Nov 2003
Frontpage will not identify a style if it exists in an enternal stylesheet
(eg. site.css)
It's a remarkably bug like feature.

Also, classes are inherited, so the tables that you don't see the
Tablecontent defined as a class for, it is possible that there is a class
set higher (or a table that encapsulates other tables), or there is a class
assigned called table or body.

Through inheritance the table class will apply automatically to every table
even if you don't specify a class for that that specific table.

It's a bit like shooting in the dark here.
If you have a URL we can look and tell you exactly what is going on.

Peter.




"J Harrigan" <(E-Mail Removed)> wrote in message
news:%23ksi9u%(E-Mail Removed)...
> Thanks to you both. Part of why I'm so confused: when I right click, go to
> table properties, click Style...there's NOTHING in the class dropdown. Is
> this because they didn't use the frontpage interface to create the style?
>
> Second question...re adding class=tablecontent to the table: why in the
> world don't I see this on the existing tables? Any ideas?
>
> "Steve Easton" <(E-Mail Removed)> wrote in message
> news:u2rcVg%(E-Mail Removed)...
> > It appears that that author has defined a class named
> > .Tablecontent
> >
> > So, in your new table, in html view add the following:
> > class="Tablecontent" so it looks like this:
> >
> > <table class="Tablecontent" width=.... and so on.
> >
> > Notice the . is not needed when assigning the class.
> >
> > You can also assign the class by right clicking and selecting
> > table properties and then style. but i find it easier to it in html

view.
> >
> >
> > hth
> >
> > --
> > 95isalive
> > This site is best viewed..................
> > ..............................with a computer
> > "J Harrigan" <(E-Mail Removed)> wrote in message
> > news:%23zeSM$(E-Mail Removed)...
> > > First, I'm very new to FrontPage (and web design in general) and just

> > trying
> > > to understand everything that my designer did (or at least some of

it),
> > > particularly in the area of styles.
> > >
> > > He created 'site.css' that contains styles, and the header for every

> page
> > > references that file, so the new pages I'm creating show the font I

want
> > > when I preview them in a browser.
> > >
> > > Except for one page. I'm adding text to a table, and the text stays in

> the
> > > default font (times new roman). All text outside of the table is

correct
> > > when viewed in a browser.
> > >
> > > So I would guess that there is a style in site.css that formats text

> > outside
> > > of a table, since it's appearing correctly. Some of the pages the

> designer
> > > created have text in tables, and it's formatted correctly. There is a
> > > '.Tablecontent' entry in the site.css, so I'm guessing that's what

he's
> > > using to set the format, but how do I apply that to my new table?
> > >
> > > Any thoughts welcome...many thanks...Jan
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Vocátional© & Technicál© Educátion®
Guest
Posts: n/a
 
      5th Nov 2003
She has CSS and also...

http://www.usenet-replayer.com/cgi/c...967460.224.gif


 
Reply With Quote
 
J Harrigan
Guest
Posts: n/a
 
      7th Nov 2003
Sure, Peter, it's www.hotelaficionado.com, but the new page with the table
has not been published yet (if that makes any difference). Thanks for the
scoop on 'external stylesheet'. NOW it's starting to make a little sense,
and although I don't understand classes, I do have a brand new book called
FrontPage Inside Out that I'm hoping will shed some light on this and a lot
of other topics. Thanks again. Jan

"Peter Taurins" <(E-Mail Removed)> wrote
in message news:k1fqb.180230$(E-Mail Removed)...
> Frontpage will not identify a style if it exists in an enternal stylesheet
> (eg. site.css)
> It's a remarkably bug like feature.
>
> Also, classes are inherited, so the tables that you don't see the
> Tablecontent defined as a class for, it is possible that there is a class
> set higher (or a table that encapsulates other tables), or there is a

class
> assigned called table or body.
>
> Through inheritance the table class will apply automatically to every

table
> even if you don't specify a class for that that specific table.
>
> It's a bit like shooting in the dark here.
> If you have a URL we can look and tell you exactly what is going on.
>
> Peter.
>
>
>
>
> "J Harrigan" <(E-Mail Removed)> wrote in message
> news:%23ksi9u%(E-Mail Removed)...
> > Thanks to you both. Part of why I'm so confused: when I right click, go

to
> > table properties, click Style...there's NOTHING in the class dropdown.

Is
> > this because they didn't use the frontpage interface to create the

style?
> >
> > Second question...re adding class=tablecontent to the table: why in the
> > world don't I see this on the existing tables? Any ideas?
> >
> > "Steve Easton" <(E-Mail Removed)> wrote in message
> > news:u2rcVg%(E-Mail Removed)...
> > > It appears that that author has defined a class named
> > > .Tablecontent
> > >
> > > So, in your new table, in html view add the following:
> > > class="Tablecontent" so it looks like this:
> > >
> > > <table class="Tablecontent" width=.... and so on.
> > >
> > > Notice the . is not needed when assigning the class.
> > >
> > > You can also assign the class by right clicking and selecting
> > > table properties and then style. but i find it easier to it in html

> view.
> > >
> > >
> > > hth
> > >
> > > --
> > > 95isalive
> > > This site is best viewed..................
> > > ..............................with a computer
> > > "J Harrigan" <(E-Mail Removed)> wrote in message
> > > news:%23zeSM$(E-Mail Removed)...
> > > > First, I'm very new to FrontPage (and web design in general) and

just
> > > trying
> > > > to understand everything that my designer did (or at least some of

> it),
> > > > particularly in the area of styles.
> > > >
> > > > He created 'site.css' that contains styles, and the header for every

> > page
> > > > references that file, so the new pages I'm creating show the font I

> want
> > > > when I preview them in a browser.
> > > >
> > > > Except for one page. I'm adding text to a table, and the text stays

in
> > the
> > > > default font (times new roman). All text outside of the table is

> correct
> > > > when viewed in a browser.
> > > >
> > > > So I would guess that there is a style in site.css that formats text
> > > outside
> > > > of a table, since it's appearing correctly. Some of the pages the

> > designer
> > > > created have text in tables, and it's formatted correctly. There is

a
> > > > '.Tablecontent' entry in the site.css, so I'm guessing that's what

> he's
> > > > using to set the format, but how do I apply that to my new table?
> > > >
> > > > Any thoughts welcome...many thanks...Jan
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Applying Normal Style does not override previous style gj49 Microsoft Word Document Management 6 26th Apr 2009 05:57 PM
applying a style chadslink Microsoft Frontpage 2 21st Jan 2008 09:59 AM
Applying Style / Compiling a table of contents =?Utf-8?B?U3VuZGF5ODgzMTA=?= Microsoft Word Document Management 2 23rd Nov 2006 09:14 AM
Applying style to entire table rather than individual cells anon Microsoft Frontpage 13 10th Jan 2006 11:09 PM
Help ! Applying a style to a selection changes the style itself =?Utf-8?B?UGF0cmljayBHZXJtYWlu?= Microsoft Word Document Management 3 30th Sep 2005 11:58 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:20 PM.