No style sheet tab (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets



Message


jedstump -> No style sheet tab (6/4/2006 20:51:57)

Hello

When trying to create a style sheet when I click on "New Page" there is no tab for "Style sheets" only "general" and "my template"


Terry




BeTheBall -> RE: No style sheet tab (6/4/2006 21:43:29)

Is there not a "New from template" option?




jedstump -> RE: No style sheet tab (6/4/2006 22:08:13)

Hello Duane

There is a Template section to the right with a
"search online for:"search box and just below a link to "templates on office onlie".


Terry




BeTheBall -> RE: No style sheet tab (6/5/2006 11:54:10)

What version of FP?




jedstump -> RE: No style sheet tab (6/5/2006 12:44:14)

Hello Duane

I am using FP 2003.



Terry




Mike54 -> RE: No style sheet tab (6/5/2006 13:35:32)

If you click on File > New and from the "New" Pallette select "More Page Templates..." you don't get a Dialog like this???

[image]local://upfiles/2876/566C9F65FAA749E29108C025A481D322.jpg[/image]




curious monkey -> RE: No style sheet tab (6/5/2006 13:58:16)

couldn't you just name the file "xyz.css" that's what I do and it "becomes" a CSS file. much like when you name a HTML ".html" in notepad.




jedstump -> RE: No style sheet tab (6/5/2006 14:15:16)

Hello Mike54 and Curious Monkey


quote:

If you click on File > New and from the "New" Pallette select "More Page Templates..." you don't get a Dialog like this???


Yes I do get a the "More Page Templates" but there is no "styles" template tab. I am trying to follow the MS tutorial instructions.

As Curious Monkey noted it will probably work by saving the file as a .css but this defeats the purpose of the tutorial.


Terry




caz -> RE: No style sheet tab (6/5/2006 14:40:56)

Did you do a custom install of FP and not install all the templates? That could be why they are not showing for you, but you can create a stylesheet in notepad, or other css editor and bring it into FP by importing it, this is how I do it. To apply that css to a page/site then,

quote:

Linking a Style Sheet to a Page

In Page view, open the page that you want to link to the style sheet.

1. On the Format menu, click Style Sheet Links.
2. In the URL list, select the style sheets that you want to link to the page.
3. Click OK.
4. If you look at the code in HTML view, it will look like this:

<link rel="stylesheet" type="text/css" href="sitestyle.css">

Tips

* If the URL list does not contain any style sheets, click Add. In the Select Style Sheet dialog box, browse to the style sheet that you want to add to the list and then click OK.


MS Technical artices




jedstump -> RE: No style sheet tab (6/5/2006 14:47:13)

Hello caz

Okay. I will try that. I don't ever do a custom install but it looks like for some reason it is not showing.

Thanks for the help.


Terry




jedstump -> RE: No style sheet tab (6/10/2006 0:24:47)

Hello caz

This doesn't seem to be working.

I have created a style sheet in notepad, imported it into the _private directory of my website. When I go to format the option "style sheet links" is not darkened so I can not select it.


Terry




caz -> RE: No style sheet tab (6/10/2006 4:52:41)

Why did you put it in the _private directory? You should just save it in the normal website list, don't put it in any directory for the time being and then have a look in Format>Style Sheet Links> you should find it there.




jedstump -> RE: No style sheet tab (6/10/2006 14:05:36)

Hello caz

I have imported my .css file into the root directory.

The Format>Style Sheet Links> is there but is greyed out still.

Could you please take a look at my source code at
http://www.trailerhitchesonline.com/

The text in the .css file is
H1 {font-size: 24pt; font-style: bold; font-family: arial, helvetica, sans-serif;}


Terry




caz -> RE: No style sheet tab (6/10/2006 16:27:06)

Your style sheet shows up un the html code as
<link rel="stylesheet" type="text/css" href="textA.css">


and using the Firefox browser I can edit the css and it will work, so it's working . You must have done something right. [;)].

I think that you should just go back to the reference that I gave you above and read it; you could also do a Detect and Repair on Frontpage, maybe that will do the trick for you.




jedstump -> RE: No style sheet tab (6/10/2006 18:08:19)

Hello caz

I will read the info in the link you gave me but I notice that using my browser IE 6 I am not seeing any changes to the H1 font.

Also in the sourc code I also see the Times New Roman associated with the H1 tag. Isn't that all suppose to be cleaned up?


Terry




caz -> RE: No style sheet tab (6/11/2006 12:55:28)

As you seem to have applied the style sheet now you are seeing just how FP doesn't write valid code - they promise us that the next generation html editor MS Expressions Web Designer will write valid code.

In order for you to wite valid code and take advantage of CSS you have to use the code view in FP and not the Design View. You also need to have a relevant DOCTYPE to tell browsers how to render your pages.

From this page you can get the all important low down on successfully working with DOCTYPES in Frontpage 2003, 2002 and 2000.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_2003_ta/html/odc_landfrontpage03_ta.asp

I would also suggest that if you haven't already then download the Firefox browser and add the Web Developer extension. You will then be able to see what your work looks like in a standards compliant browser and have a load of tools to help you write valid code as well as validating the code as you go along.

When I looked at your page in Firefox there were a number of errors caused by MS proprietry code plus you have a sitemap thingie from Google that is also interferring. You will have to read all the links that I gave you if you want to use css because the existing code that you have is overiding a lot of your style sheet statements.

You have a lot of learning to do if you want to follow this road because there is no quick fix - except hiring someone else to do it for you.[:D]




jedstump -> RE: No style sheet tab (6/11/2006 18:29:36)

Hello caz

I see what you mean. Up until now I have put this site together with the very basic of knowledge which FP allows.
Once you start adding other elements you have to conform better. It looks like cleaning up my web site or doing a total re-write is needed.

Thanks for the help.


Terry




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.078125