Apply different style sheets to...

User 235071 Photo


Registered User
110 posts

Interested in incorporating code from template in existing page, but experiencing problems due to the template and the existing file use different style sheets.

One solution I've read is to wrap the different parts in DIVs (class='part1') etc and then edit each page's CSS files to include .part1 etc for each selector -- but if there are dozens, or hundreds, of different selectors this is hardly "easy".

Any suggestions how this can be done "easily"?
User 187934 Photo


Senior Advisor
20,181 posts

Use an iframe
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 235071 Photo


Registered User
110 posts

thanks, Eric, that might work well for some types of content

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.