alyount Posted April 22, 2011 Share Posted April 22, 2011 I ran into this bug with Chrome. If you go to the W3S' "Do it yourself" page for element+element or click belowhttp://www.w3schools.com/css/tryit.asp?fil...l_element_plussyou'll notice that in Chrome it is styling all P elements after the div instead of just the P immediately after the div. If you view it in Safari it works correctly. Any suggestions will be greatly appreciated.The only workaround I've found is if you wrap each instance with an empty div, which makes more code that I don't need.Thanks for the help and I apologize if this has already been addressed.Aaron Link to comment Share on other sites More sharing options...
pjsfchaplin Posted April 22, 2011 Share Posted April 22, 2011 Not sure about the cause, but I'd suggest that addingdiv+p+p{background-color: transparent;}to the css might be a better workaround, adapted as needed. Link to comment Share on other sites More sharing options...
jeffman Posted April 22, 2011 Share Posted April 22, 2011 I cannot duplicate the problem on 11.0.696.50 beta (Macintosh). Link to comment Share on other sites More sharing options...
ShadowMage Posted April 22, 2011 Share Posted April 22, 2011 I cannot duplicate the problem on 11.0.696.50 beta (Macintosh).It occurs on 10.0.648.205 (Windows XP)Not sure how to work around it though. It is plainly a bug. Chrome is the only one, though. FF, IE, O, and S do not have this issue. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.