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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-06-2005, 04:52 AM
|
#1
|
|
Senior Member
Registered: Dec 2003
Posts: 3,142
Rep: 
|
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.
|
|
|
|
07-06-2005, 08:07 AM
|
#3
|
|
Senior Member
Registered: Dec 2003
Posts: 3,142
Original Poster
Rep: 
|
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!
|
|
|
|
07-06-2005, 08:24 AM
|
#4
|
|
Member
Registered: Jan 2005
Location: Washington, D.C.
Distribution: Arch (Custom), CentOS
Posts: 238
Rep:
|
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).
|
|
|
|
07-06-2005, 08:28 AM
|
#5
|
|
Senior Member
Registered: Dec 2003
Posts: 3,142
Original Poster
Rep: 
|
<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.
|
|
|
|
07-06-2005, 08:52 AM
|
#6
|
|
Member
Registered: Jan 2005
Location: Washington, D.C.
Distribution: Arch (Custom), CentOS
Posts: 238
Rep:
|
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!
|
|
|
|
07-06-2005, 08:58 AM
|
#7
|
|
Senior Member
Registered: Dec 2003
Posts: 3,142
Original Poster
Rep: 
|
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.
|
|
|
|
07-06-2005, 09:07 AM
|
#8
|
|
Senior Member
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478
Rep:
|
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
|
|
|
|
07-06-2005, 09:10 AM
|
#9
|
|
Senior Member
Registered: Dec 2003
Posts: 3,142
Original Poster
Rep: 
|
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. 
|
|
|
|
07-06-2005, 09:47 AM
|
#10
|
|
Member
Registered: Oct 2001
Location: Brockport, NY
Distribution: Kubuntu
Posts: 384
Rep:
|
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.
|
|
|
|
07-06-2005, 10:28 AM
|
#11
|
|
Senior Member
Registered: Dec 2003
Posts: 3,142
Original Poster
Rep: 
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:41 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|