knystrom18 Posted August 13, 2012 Share Posted August 13, 2012 I'd like to select text between tags without wraping that text in tags as well.Example: <div> I'd like to select this sentence without wrapping something like a 'p' tag around it.</div> I've looked at: div > * and a few others, but can't seem find something that will work. Is this even possible? Thanks! Link to comment Share on other sites More sharing options...
Krewe Posted August 14, 2012 Share Posted August 14, 2012 With javascript you can, but not CSS. You'd have to wrap the specific sentence in a span, p, or other sort of tag. Link to comment Share on other sites More sharing options...
knystrom18 Posted August 14, 2012 Author Share Posted August 14, 2012 Damn. Alright then. Thanks Krewe. Link to comment Share on other sites More sharing options...
Krewe Posted August 14, 2012 Share Posted August 14, 2012 Why don't you wanna wrap? It's not that hard... It takes 30sec. If that. Link to comment Share on other sites More sharing options...
birbal Posted August 14, 2012 Share Posted August 14, 2012 (edited) what will you do with that text? color,font,text can control the appearance of texts of target node. Edited August 14, 2012 by birbal Link to comment Share on other sites More sharing options...
knystrom18 Posted January 17, 2013 Author Share Posted January 17, 2013 Bump! I'm not sure now... I forget what I was working on at the time. I think I ended up just wrapping it anyways. Thanks for the replies though. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now