LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 07-06-2005, 05:52 AM   #1
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 121Reputation: 121
XHTML strict coding is good but how many browsers support it fully?


I'm learning XHTML strict and I'm so far impressed with the fully CSS oriented approach to it.

So much so that I have now built a formatting without tables and it looks great on firefox.

However, that's my question. How many browsers do implement all the CSS attributes and follow the strict XHTML coding and render it correctly currently?

So far I haven't tested with other browsers, but I'd be glad if somebody can point me to pure XHTML sites so that I can check out the results from IE and other browsers.
 
Old 07-06-2005, 08:58 AM   #2
azucaro
Member
 
Registered: Jan 2005
Location: Washington, D.C.
Distribution: Arch (Custom), CentOS
Posts: 239

Rep: Reputation: 30
XHTML compatibility on existing HTML agents: http://www.w3.org/TR/xhtml1/#guidelines

CSS compatibility for browsers:
http://www.corecss.com/properties/full-chart.php

Hope those two links help you out.
 
Old 07-06-2005, 09:07 AM   #3
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
I also used the validator found here and got a success:
http://validator.w3.org/

This is useful too. However, I think that many browsers still are substandard when it comes to implementing CSS in XHTML.

Let's hope this changes in the future!
 
Old 07-06-2005, 09:24 AM   #4
azucaro
Member
 
Registered: Jan 2005
Location: Washington, D.C.
Distribution: Arch (Custom), CentOS
Posts: 239

Rep: Reputation: 30
Yeah, the validator helps a lot. It doesn't tell expose compatibility issues with older browsers, though.

All newer browsers (and by new, I mean post-2001) handle CSS and XHTML pretty well (in my experience).
 
Old 07-06-2005, 09:28 AM   #5
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
<DIV> tags are a bit funny to handle. But I was able to get a very good layout using DIV and CSS elements.

It works well in Firefox and even in Konqueror.
 
Old 07-06-2005, 09:52 AM   #6
azucaro
Member
 
Registered: Jan 2005
Location: Washington, D.C.
Distribution: Arch (Custom), CentOS
Posts: 239

Rep: Reputation: 30
Let me know when you publish, I'd like to see it. I haven't gotten away from using tables yet and the prospect of doing so sounds like a good idea!
 
Old 07-06-2005, 09:58 AM   #7
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
I'll keep you posted on this. I really haven't got any content yet, but once I do, I'll publish it on my site. Just keep watch my signature.

But if you want to see a XHTML tableless design site for now, try this:
(found it on another forum)
http://www.exoticpublishing.com/

This site just had two errors in the XHTML validation process, but I guess they are quite small problems easily fixable. One wrongly typed attribute (capitals) and a missing 'alt' attribute on a <img> tag.
 
Old 07-06-2005, 10:07 AM   #8
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
It really bugged me when my computer teacher taught HTML as html, not XHTML. I mean, if you are going to be teaching, say, video-editing, you would go digital, not analog. (ARRGH analog!) I hope schools pick up on teaching XHTML- standards are important.

It was funny when I would help my classmates, my code was obvious in lower case, their's was all upper case!

titanium_geek
 
Old 07-06-2005, 10:10 AM   #9
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
I got some excellent results with XHTML today. But of course, I am still not totally comfortable using <DIV> tags and CSS elements which control them. However, it seems a much, much better way than tables because you avoid so much typing and repeating formatting instructions.

Everything is stored in CSS and makes the resulting XHTML file look very neatly coded indeed!

Nice.
 
Old 07-06-2005, 10:47 AM   #10
AdaHacker
Member
 
Registered: Oct 2001
Location: Brockport, NY
Distribution: Kubuntu
Posts: 384

Rep: Reputation: 31
If you want a really good example of what you can do with valid XHTML and CSS, check out the CSS Zen Garden. It has a collection of style sheets that you can swap between to give the site a radically different look, all without changing a single line of HTML.
 
Old 07-06-2005, 11:28 AM   #11
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
ADAHacker, that's a nice site. I am really excited about this CSS technology.

It will save developers a lot of hours of time to separate formatting from content which is what XML is all about in any case. XHTML just implements specific DTDs. It's a great technology, I must say.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does the latest kernel fully support ntfs system? parv Linux - Hardware 4 11-17-2005 09:49 PM
coding tar archive support into a C/qt application? zero79 Programming 1 09-13-2005 02:34 PM
Browsers supporting CSS features fully vharishankar General 2 08-09-2005 06:49 AM
Any links to very good Linux Coding Sites? Falelorn Programming 5 06-25-2004 06:02 PM
Can someone recommend a good JavaScript/XHTML forum? davee General 4 10-03-2003 08:34 AM


All times are GMT -5. The time now is 01:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration