Help me make sense of what XHTML & CSS is...

4 replies
Hey guys,

I'm a totally clueless when it comes to tech stuff, so like to ask...

If I were to receive a sales copy complete with graphics in XHTML & CSS format, do I just FTP it to my server? Do I need to convert it to HTML or PHP?

Coz I tried uploading a webpage in XHTML format but received this error message

XML Parsing Error: mismatched tag. Expected: </embed>.
Location: http://www.xxx.com/abc.xhtml
Line Number 87, Column 469: <object height="344" width="480"><param name="movie" value="
#css #make #sense #xhtml
  • Profile picture of the author dvduval
    You should be able to upload to your server that way, yes. The person delivering to you should be able to give you some basic instructions also.

    The css file is an accompanying file that helps define the design. The page will work without it, but you really need it too, and all you do is upload it with the other html files.
    Signature
    It is okay to contact me! I have been developing software since 1999, creating many popular products like phpLD.
    {{ DiscussionBoard.errors[795056].message }}
    • Profile picture of the author Johnson Tay
      Originally Posted by dvduval View Post

      You should be able to upload to your server that way, yes. The person delivering to you should be able to give you some basic instructions also.

      The css file is an accompanying file that helps define the design. The page will work without it, but you really need it too, and all you do is upload it with the other html files.
      Thanks for your reply.

      If I'm using Tracking202, which seems to be only PHP compatible, can it be used with XHTML format as well?

      What about the error message above? Any idea?
      {{ DiscussionBoard.errors[795072].message }}
  • Profile picture of the author Lindsay Brynn
    a page can be xhtml compliant but not have that extension. The extension could still be .html. And yes the CSS is is the style file. Sometimes it is contained within the html file and sometimes it is an external file.

    But if the html and css files were all ready to go you technically should be able to upload them to your FTP and have it work.

    From your code it looks like you might be having trouble using a page with a movie? that can sometimes cause a headache.
    Signature
    Lin Writes - Quality E-Book & Article Ghostwriting Service.

    $7 WSO: PLR Rights to 100+ Wordpress Themes!
    {{ DiscussionBoard.errors[795083].message }}
    • Profile picture of the author Aaron Sustar
      Think of it this way ...

      HTML code is the structure and the content of the website. It basically says "there is a square with our logo in it", "there is a square with a list of links, also known as a navigation menu", "there is a footer with the link to the privacy policy", ...

      CSS code then applies the styling to this HTML structure. It says "OK, this first square should be 780 px wide, 180 px high and this background image should be repeatedly displayed in it", "those links in the navigation menu should be green and turn blue, when you put your mouse over them", "this footer should have a small font-size".

      If you receive a valid HTML + CSS code from your designer (and you should!), all you have to do is upload all the files to your server using some FTP client and you're good to go.
      {{ DiscussionBoard.errors[795132].message }}

Trending Topics