PC Review


Reply
Thread Tools Rate Thread

All style tags after the first 30 style tags on an HTML page are not applied in Internet Explorer

 
 
Rob Nicholson
Guest
Posts: n/a
 
      26th May 2005
This is a question about the following KB article:

http://support.microsoft.com/kb/q262161

We've got a problem with the Infragistics NetAdvantage presentation controls
which they've suggested it related to this KB article.

But I'm not sure this is correct but I'd like to just confirm what this KB
article actually means. My understanding of this is that a single page can't
have more than 30 style sheets defined. It doesn't matter whether these are
defined as <STYLE> tags in the <HEAD> section or via a linked cascading
style sheet. Do I read this right?

It doesn't meant that a page can't have more than 30 style classes within
these styles sheets neither does it mean that a page can't have more than 30
inline style tags within other elements. Correct?

30 style sheets per page seems very reasonable to me :-) Jeez, more than one
would be a interesting situation!

Thanks, Rob


 
Reply With Quote
 
 
 
 
Craig Deelsnyder
Guest
Posts: n/a
 
      26th May 2005
Rob Nicholson wrote:
> This is a question about the following KB article:
>
> http://support.microsoft.com/kb/q262161
>
> We've got a problem with the Infragistics NetAdvantage presentation controls
> which they've suggested it related to this KB article.
>
> But I'm not sure this is correct but I'd like to just confirm what this KB
> article actually means. My understanding of this is that a single page can't
> have more than 30 style sheets defined. It doesn't matter whether these are
> defined as <STYLE> tags in the <HEAD> section or via a linked cascading
> style sheet. Do I read this right?
>
> It doesn't meant that a page can't have more than 30 style classes within
> these styles sheets neither does it mean that a page can't have more than 30
> inline style tags within other elements. Correct?
>
> 30 style sheets per page seems very reasonable to me :-) Jeez, more than one
> would be a interesting situation!
>
> Thanks, Rob
>
>


Ha, ha, ha! Of course you can have more than 30 classes. I've easily
had that and more on many apps. Yes, it means 30 files...and as long as
you're not adding them like the sample code there does (which I've never
done in my life), or actually have 30 style tags, you shouldn't see an
error, just the 31st and more styles not being applied....

Ironically I'm sure there are plenty of Infra products that have way
more than 30 classes....

--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET
 
Reply With Quote
 
Rob Nicholson
Guest
Posts: n/a
 
      26th May 2005
> Ironically I'm sure there are plenty of Infra products that have way
> more than 30 classes....


I'm sure you're right. The KB article confuses matters with the title of the
article. If it said "All style sheets after the first 30..." then it would
be a lot clearer.

I've asked Infragistics whether their code adds style sheets behind the
scenes.

Cheers, Rob.


 
Reply With Quote
 
Rob Nicholson
Guest
Posts: n/a
 
      28th May 2005
> Ironically I'm sure there are plenty of Infra products that have way
> more than 30 classes....


Unfortunately, I've dissected the HTML generated by their WebCombo control
and, unfortunately, it generates an <style>...</style> section PER control.
This means AFAIK that you are limited to 30 of their controls per web page.
Which is too little for one of our more complex pages.

I'm hoping they will resolve this - maybe put all of their classes in one on
<style> section instead of individual.

Cheers, Rob.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate 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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Master Pages and Style tags cmay Microsoft ASP .NET 4 7th Jan 2007 10:36 PM
Help, trying to make ASP style tags work for PHP Jerry McEwen Microsoft Frontpage 2 4th Jun 2006 07:36 PM
30 style tags per page limitation Rob Nicholson Microsoft ASP .NET 7 16th Jun 2005 02:25 PM
Word Style Sheet conversion to HTML tags =?Utf-8?B?SmVmZiBMYW5v?= Microsoft Frontpage 1 2nd Feb 2004 11:07 AM
style sheet causes fp to not close <p> tags? chris leeds Microsoft Frontpage 2 14th Nov 2003 11:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:22 AM.