XHTML - Post ID 82133

User 355448 Photo


Ambassador
3,144 posts

Tom,

Are you saying that inline style is not allowed in XHTML?

That is the beauty of using CSS. You can use external pages for site-wide style, internal style for page wide style, and inline for that single line style.
User 364143 Photo


Guest
5,410 posts

A quick search does appear that inline styles are allowed in strict xhtml so I stand corrected. Now I can't exactly remember why I went transitional and not strict. I don't know if it validates or gives warnings. I have slept many nights since then. LOL. I have to take another look at this...
CoffeeCup... Yeah, they are the best!
User 597929 Photo


Registered User
1,332 posts

I believe inline frames are banned in strict, FWIW.
"You can't be a real country unless you have a beer and an airline - it helps if you have some kind of a football team, or some nuclear weapons, but at the very least you need a beer." -- Frank Zappa

Visit Spinland Studios: http://www.spinland.biz
User 364143 Photo


Guest
5,410 posts

I think I remember that I did not use strict xhtml becasue I couldn't use the align="" in <p> and <h> tags. Nothing to do with inline styles. I guess I can accomplish through css class as well.
CoffeeCup... Yeah, they are the best!
User 132952 Photo


Ambassador
3,120 posts

Spinny wrote:
I believe inline frames are banned in strict, FWIW.


Say it ain't so! I don't care how frowned upon they are, they're one of my best friends. :P
User 355448 Photo


Ambassador
3,144 posts

Adam,

http://www.w3schools.com/tags/tag_iframe.asp states that:

The iframe element is not supported in HTML 4.1 Strict DTD and in XHTML 1.0 Strict DTD.

So there is not real change. Strict DTD does not support iframe in either HTML or XHTML.
User 597929 Photo


Registered User
1,332 posts

Yeah. There's no way my golf league web site can go "strict" unless I were to come up with another way to call up the HTML pages generated by my league software. I'm not manually copying and pasting HTML into web pages for every set of weekly reports, no Sir!
"You can't be a real country unless you have a beer and an airline - it helps if you have some kind of a football team, or some nuclear weapons, but at the very least you need a beer." -- Frank Zappa

Visit Spinland Studios: http://www.spinland.biz
User 629005 Photo


Ambassador
2,174 posts

Where is your sense of dedication? I thought you were a reliable, hardcore code-slinger. LOL!

Can't blame ya there Spinny, just had to pick on ya a bit though :)
Living the dream, stocking the cream :D
User 597929 Photo


Registered User
1,332 posts

;)
"You can't be a real country unless you have a beer and an airline - it helps if you have some kind of a football team, or some nuclear weapons, but at the very least you need a beer." -- Frank Zappa

Visit Spinland Studios: http://www.spinland.biz
User 462238 Photo


Registered User
144 posts

I use Expression Web and doc type XHTML 1.0 Transitional. EW writes w3c compliant code. I use many CC apps but have gone with EW because of the standards. No problem with CC scripts validating. Occassionally you may use some app that does not validate, but EW is pretty good about telling you the fix in the compatibility check. If you want to ensure as consistant look and feel across all major browsers, W3C validation is encouraged. EW has a much higher learning curve but once you get the hang of css and dwt's, it has far more potential than most developer tools. What it does lack, CC can supply and their codes validate under XHTML 1.0 Transitional with no problem.
EW is MS's competitor to Dreamweaver at a much reduced cost.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.