Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7580677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T17:58:36+00:00 2026-05-30T17:58:36+00:00

Before you vote or answer, I know that you should use the attributes for

  • 0

Before you vote or answer, I know that you should use the attributes for XHTML, (actually this should be placed in its own .css) I am simply trying to understand how it is handled because of the unique results I was getting.

I found issues with a few sites I ended up taking on, that ran the CSS with what looked to be no issues at least with the CSS. It was after having a few jquery issues and slow processing that I looked to optimize. I ended up finding a common issue. It was a module holding inline CSS <style> tags without the type attributes. Btw, these are XHTML and not HTML5 sites. Changing the tags by adding attributes or removing the inline CSS looks to correct each site with the problems.

My question is, what is actually happening that would cause an issue to corrupt the process and still allow the CSS to function properly. This is out of pure curiosity and all style has been placed in it’s own file. These are in a Joomla 1.5 module.

To really detail out one issue that happened more than once was a mask failed to complete it’s process and happened to be code that followed the inline CSS. So far, this has yet to happen on 80 or so other sites with the same exact code, minus the style error.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T17:58:37+00:00Added an answer on May 30, 2026 at 5:58 pm

    by default xhtml should be validated…any deviations away from validation will inevitably lead you to a rendering engine (or 3)’s choking death.

    in most (x)html versions < html5, using the type attribute and text/css value is required for validation. it is redundant, but that’s certainly no reason to not use it.

    offhand vague hints at what you are viewing:

    sounds like the inline css is conflicting with your js, most likely you’ve got some scripts firing pre onload; u can wait for page load to fire them off. as long as your styles are loading properly, users will not know the difference. page loads pretty preload. page operates properly onload.

    another reason for proper css rendering is the forgiving nature of most css engines; they’re built with the understanding that authors can and will churn out enterprise, spaghetti front-end code. kind of like how a tank is made to roll through any and every terrain. xhtml is one of the few (that i’m aware of) instances were validation was required…if you’ve noticed html5’s rise to power, it is clearly replacing xhtml and its strict ways. or rather, xhtml wasn’t exactly a success. in some ways, forgiveness has actually made the web suck more, because author’s weren’t forced to operate with valid techniques. forgiveness is awesome though, it allows (some) access to old documents/horrible constructed documents

    imo you should just keep on playing with the validator. remember not to focus on the validation aspect, it’s a tool, just knock out errors as they come. trust me, they repeat themselves so often, if you do it enough, you won’t even have to rely on it. and knowing how the user agents react within/without the scope of validation is supreme knowledge.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Before I start, I know there is this post and it doesn't answer my
Before you down vote this, let me say that I've read ALOT of questions
Before you answer this I have never developed anything popular enough to attain high
Before you answer, this question is complicated: We are developing in asp.net / asp.net
Before you ignore / vote-to-close this question, I consider this a valid question to
EDIT: The answer from @Archer seems to fix this. (please vote him up, because
Before you down vote me, I'm not here to ask on how to use
Before I do this I figured I would ask if it was the best
Before I jump headlong into C#... I've always felt that C, or maybe C++,
Before moving on to use SVN, I used to manage my project by simply

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.