Jump to content
Web Marketing Help Forum

Recommended Posts

Is there a web based resource that lets you cut and paste HTML in one window and the corresponding CSS is displayed in another?

 

It would be a great help to me as I now realise that all my nav bar HTML code needs to be converted to CSS and I have no idea how to do this as I am not a code writer.

Share this post


Link to post
Share on other sites

OK I managed to get the CSS but I still have loads of HTML from my menus.

Is it possible to do an html external stylesheet of template without converting this to CSS?

 

Just need to do this and edit the re directed links and then I am ready for a re load.

Share this post


Link to post
Share on other sites
JASPER, on 24 May 2012 - 01:08 AM, said:

 

Is it possible to do an html external stylesheet of template without converting this to CSS?

 

K, now you are sounding really confused (or you have confused me ;) )

 

HTML is the coding of every web page. The tags you use are called elements.

 

CSS is the styling of the pages. It can be done via an external stylesheet.

 

When doing web design there are things called includes. It would appear that the software you are using (from other threads) that it is using built-in includes via it's technology. e.g. your separate file

Edited by WiseWebmaster

Share this post


Link to post
Share on other sites

Yes,

 

I have found out on another forum that I can do SSI using a PHP file linked from the webpage html.

Apparently within this I can use all the html that is on a page in the PHP include and it then becomes common with all pages with that include link.

 

Not sure if my .htm pages need the be re named and re directed to .php.

 

i will return to this issue when I have investiagted further.

Share this post


Link to post
Share on other sites

If you have access to your .htaccess file you can add this line and still have the pages with .htm (.html) extension:

>AddType x-mapp-php5 .html .htm

 

However, you won't see the included portions when viewing the pages via the copy on your computer. You have to view the pages via the web server.

Share this post


Link to post
Share on other sites

If you have access to your .htaccess file you can add this line and still have the pages with .htm (.html) extension:

  [color=#0000ff]AddType x-mapp-php5 .htm [[/color]/code]

 

However, you won't see the included portions when viewing the pages via the copy on your computer. You have to view the pages via the web server.

 

Where exactly do you add this code?

Is it after the [color=#0000ff]<?php include "page1234.htm";?>[/color]

 

You mean I would only see the whole page online?

Not when I do a "preview page" using the websoftware.

Share this post


Link to post
Share on other sites

 

Where exactly do you add this code?

Is it after the <?php include "page1234.htm";?>

You put the code I gave you in your .htaccess file on the web server

You mean I would only see the whole page online?

Not when I do a "preview page" using the websoftware.

Yes that is correct. You will not see the "assembled" page locally on your computer unless you have a web server installed on it. i.e. you have to upload the includes and the pages referencing them to the web server to see the assembled product.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×