Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Generated content and non‐compliant browsers
Old 10-14-2007, 12:11 PM Generated content and non‐compliant browsers
Moldarin's Avatar
Extreme Talker

Latest Blog Post:
Keyword Density and Title Tags
Posts: 201
Trades: 0
Hi forum,

I am inserting much content into elements using the ‘content’ property and the ‘::before’ and ‘::after’ pseudo‐elements. The inserted content is mostly punctuation and other content important to the document presentation.

But how to deal with non‐compliant software—such as the Internet Explorer series of web browsers?

Dean Edwards' IE7 JavaScript library does fix some of IE4–7's CSS problems. Generated content is one of them. But then the page presentation is dependent on JavaScript. Edwards' JavaScript library does not load properly on all machines either. (That has something to do with IE's security settings.)

I have also seen many use ‘background-image’s instead of the ‘content’ property. Though this is no good solution. It breaks way too easily. When eg. the user alters the text size, does some scaling, or whatever.

Have anyone come up with a good solution to this problem?

Thread originally posted on My Opera forums.
__________________
I do not share ad revenue.

Last edited by Moldarin; 10-14-2007 at 12:12 PM.. Reason: Removed smilies.
Moldarin is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-15-2007, 03:52 PM Re: Generated content and non‐compliant browsers
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Are you still trying to use HTML 5 ?? before and after pseudo elements are not well supported in all browsers.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 10-15-2007, 06:15 PM Re: Generated content and non‐compliant browsers
Moldarin's Avatar
Extreme Talker

Latest Blog Post:
Keyword Density and Title Tags
Posts: 201
Trades: 0
No. This comes from the CSS 2 spesifications. Look‐up the Generated content section and the ‘content’ property.
__________________
I do not share ad revenue.
Moldarin is offline
Reply With Quote
View Public Profile
 
Old 10-15-2007, 09:10 PM Re: Generated content and non‐compliant browsers
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Ok.. just checking -- you were working on the bleeding edge there before

You might want to pose your question to the gurus over on the CSS-Discuss list. www.css-discuss.org - If the likes of Chris Heilmann, Eric Myer, Zoe Gillenwater, Big John and Holly can't help (they're all on that list), then no one can.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Generated content and non‐compliant browsers
 

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13547 seconds with 12 queries