Go Back   Free website templates > Web Template Help > HTML - XHTML - CSS
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Join now to download all the free website templates or post on the forum. If you have never been on a forum before read the FAQ. It's quick, easy and free to join!
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-01-2009, 07:29 PM
Junior Member
 
Join Date: Oct 2009
Posts: 5
Helipacter is on a distinguished road
Question Kompozer XHTML query...

Hi,

Has anyone had any problems with XHTML and Kompozer in the past, if so what can you do about it?

I've recently taken up Web Design as a new hobby, and I'm looking to use a template and fiddle about with it until I'm comfortable with coding. I downloaded a few designs that I liked, they're all in XHTML, and they've all reverted to HTML once I've started editing them.

Can anyone shed any light on this for me? Has anyone had similar problems?

Thanks
Reply With Quote
  #2 (permalink)  
Old 10-01-2009, 11:50 PM
ishkey's Avatar
Moderator
 
Join Date: Aug 2007
Location: North GA USA
Posts: 1,360
ishkey will become famous soon enough
Default

not sure what you are asking - an editor just displays what is loaded - you make all the changes.
maybe this will shed some light on the subject.
http://www.w3schools.com/XHTML/xhtml_html.asp
__________________
RIF= Reading Is Fun - Understanding Funner
cleandeck - lawn mower undercoating and wilmargraphite - graphite lubricants
Reply With Quote
  #3 (permalink)  
Old 10-02-2009, 10:09 AM
Junior Member
 
Join Date: Oct 2009
Posts: 5
Helipacter is on a distinguished road
Default

Thanks for the link, I've stored it away for future usage.

Maybe I'm missing something - I am entirely new to this - but when the XHTML template is in Kompozer it looks, well, how it's supposed to. But the second I begin to over-type the sample text (not the code, but replacing "header 1" with what I want the header to be) with my own -or, even in one case, change the title- then the design "collapses", or just takes on a basic look, rather than the design that was there previously. (This has happened with every template I've downloaded.)

Clearly I'm doing something wrong, as I thought XHTML and HTML would both be capable of being edited in Kompozer, but for whatever reason it's not quite happening.
Reply With Quote
  #4 (permalink)  
Old 10-02-2009, 12:19 PM
ishkey's Avatar
Moderator
 
Join Date: Aug 2007
Location: North GA USA
Posts: 1,360
ishkey will become famous soon enough
Default

It sounds like there is something wrong with the program.
Kompozer is a spinoff of Nvu and development/support has been slow. You are by no means the first to have this problem.
Rather than beat yourself up over it, my suggestion is to dump it, as it is not lending itself to your new hobby of webdesign.

If you really want to understand coding and templates, then look at these editors, in this order;

Alleycode -http://www.alleycode.com/index.htm
It's clean interface, easy to use, and has enough power to make you happy without the headaches.
Don't be fooled by it's simplistic look.
Better to be coding than fighting software.
The company that puts it out offers SEO packages, but won't nag you. A nice touch to garnish business.

When you skills improve then look at AcHTML the freeware version http://software.visicommedia.com/en/productsfreeware/ it's a bit dated, I believe it's ver 3, but was originally bulit by globalscape. There is also a FTP program which again is an old version from globalscape. Both are for the advance programming.

If you are into design and do not want to worry about code, but still have the ability to view it then look at WYSIWYG Web Builder 6.1 http://www.wysiwygwebbuilder.com/
Pablo Software was a young student who wrote some fantastic freeware which materialized into a great editor. You can try it for free for 30 days. The price of $39.95 is cheap for all that you get.

By the time you understand building webs you be ready to move on to paid programs just for the shear power and if you are like the rest of us will keep your favorite small starter editor for quick uses.

I hope this helps - because tring to reproduce a quirk in the software or your machine is not an easy fix. If a solution is found, you will always encounter anouther problem.
It's more fun to see your creation work, then to fight the software tring to make it.

Keep us informed and don't be a stranger to the forum as there are several members who contribute and share their knowledge.
Maybe you be one.
__________________
RIF= Reading Is Fun - Understanding Funner
cleandeck - lawn mower undercoating and wilmargraphite - graphite lubricants
Reply With Quote
  #5 (permalink)  
Old 10-02-2009, 05:29 PM
Junior Member
 
Join Date: Oct 2009
Posts: 5
Helipacter is on a distinguished road
Default

Quote:
Originally Posted by ishkey View Post
It sounds like there is something wrong with the program.
Kompozer is a spinoff of Nvu and development/support has been slow. You are by no means the first to have this problem.
Rather than beat yourself up over it, my suggestion is to dump it, as it is not lending itself to your new hobby of webdesign.

If you really want to understand coding and templates, then look at these editors, in this order;

Alleycode -http://www.alleycode.com/index.htm
It's clean interface, easy to use, and has enough power to make you happy without the headaches.
Don't be fooled by it's simplistic look.
Better to be coding than fighting software.
The company that puts it out offers SEO packages, but won't nag you. A nice touch to garnish business.

When you skills improve then look at AcHTML the freeware version http://software.visicommedia.com/en/productsfreeware/ it's a bit dated, I believe it's ver 3, but was originally bulit by globalscape. There is also a FTP program which again is an old version from globalscape. Both are for the advance programming.

If you are into design and do not want to worry about code, but still have the ability to view it then look at WYSIWYG Web Builder 6.1 http://www.wysiwygwebbuilder.com/
Pablo Software was a young student who wrote some fantastic freeware which materialized into a great editor. You can try it for free for 30 days. The price of $39.95 is cheap for all that you get.

By the time you understand building webs you be ready to move on to paid programs just for the shear power and if you are like the rest of us will keep your favorite small starter editor for quick uses.

I hope this helps - because tring to reproduce a quirk in the software or your machine is not an easy fix. If a solution is found, you will always encounter anouther problem.
It's more fun to see your creation work, then to fight the software tring to make it.

Keep us informed and don't be a stranger to the forum as there are several members who contribute and share their knowledge.
Maybe you be one.
Ishkey, thanks so much for the time and the effort - I've bookmarked those links to investigate. It seems that there are a mountain of things I need to look into for this new hobby of mine (not just editors, but sitebuilders like Joomla, simplescripts and RoR, as well as SQL - and this is before learning CSS, PHP, what the difference between DTD and Strict is etc...).

Oh, I found a work around, for those interested, to make Kompozer use XHTML, and that is:

1) Open the template
2) Click "tools", and click on "options",
3) click "advanced" and change the "mark-up" option from HTML 4.0 to XHTML 1.0 and that will change your template to an XHTML one...

Now, this doesn't help with the publishing though, as it won't publish it completely - so that's my next mini-project to look into... there must be something in Kompozer - I will update here when I find out...
Reply With Quote
  #6 (permalink)  
Old 10-03-2009, 05:07 PM
Junior Member
 
Join Date: Oct 2009
Posts: 5
Helipacter is on a distinguished road
Default

Hi all,

Just an update - and another query! - I've found that it's nothing to do with the publishing, really, but that the external css file isn't linking to the XHTML one.

I've been using Filezilla to publish the template (as I'm told that Kompozer isn't the best for publishing things), but the problem is that it doesn't read the the css file that it should. My domain is joannaporter.com, and the tag I have in the XHTML file is:

<html
xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><head><title>home</title>
<meta http-equiv="content-type"
content="text/html; charset=utf-8"><link rel="stylesheet"
href="css/1.css" type="text/css"
media="screen,projection"></head>

the css file has been published as 1.css in my public_html directory, but it's not picking it up.

Can anyone help at all?
Thanks
Reply With Quote
  #7 (permalink)  
Old 10-03-2009, 05:38 PM
Mimoun's Avatar
Administrator
 
Join Date: Jun 2005
Location: Belgium
Posts: 2,151
Mimoun will become famous soon enough
Default

Your css file has been uploaded at http://joannaporter.com/1.css and not http://joannaporter.com/css/1.css.
So change the code to:

Code:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>home</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="1.css" type="text/css" media="screen,projection">
</head>
Or make a folder with the name css and move the 1.css file to it.
Reply With Quote
  #8 (permalink)  
Old 10-03-2009, 06:20 PM
Junior Member
 
Join Date: Oct 2009
Posts: 5
Helipacter is on a distinguished road
Default

Quote:
Originally Posted by Mimoun View Post
Your css file has been uploaded at http://joannaporter.com/1.css and not http://joannaporter.com/css/1.css.
So change the code to:

Code:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>home</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="1.css" type="text/css" media="screen,projection">
</head>
Or make a folder with the name css and move the 1.css file to it.
Thank you soooo much, that has helped a great deal.

I tried both ways (with the code you gave me, and then by creating a css directory), and the changing of the code changed the template completely, so I've decided to stick with keeping the css directory.

Just a little query - is one of the above suggestions better than the other, or doesn't it matter either way?

Honestly though, thank you so much Mimoun, that was a great help!
Reply With Quote
  #9 (permalink)  
Old 10-03-2009, 06:28 PM
Mimoun's Avatar
Administrator
 
Join Date: Jun 2005
Location: Belgium
Posts: 2,151
Mimoun will become famous soon enough
Default

You're welcome.
If you like to keep things organized and have a lot of style sheets it's best to use a folder and place all CSS files in that folder.
It doesn't matter much for the rest.
Reply With Quote
Reply

Tags
kompozer, xhtml

Thread Tools
Display Modes

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 On



All times are GMT. The time now is 11:23 AM.



mouseover mouseover mouseover