View Full Version : CSS and Text inclusion
creative
07-09-2005, 02:11 AM
Is there a way to include body text in a css and have it dynamically import into a <div> tag?
Also, is what would the css look like if you wanted to have a <div> tag that scrolled in a certain size? Like an iframe without all the browser issues.
Creative
mwinter
07-09-2005, 11:59 PM
Is there a way to include body text in a css and have it dynamically import into a <div> tag?No. CSS can be used to produce dynamic content, but it's not designed as a mechanism for inserting significant amounts of content. It's also not supported by IE.
Also, is what would the css look like if you wanted to have a <div> tag that scrolled in a certain size?
#your-div {
height: ...;
width: ...;
overflow: auto;
}
Like an iframe without all the browser issues.It still has issues. Not all browsers will support it, and it could cause usability problems if the document itself requires scrollbars.
Mike
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.