Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML output conflict with jupyter styling #4546

Open
cstayyab opened this issue Apr 4, 2019 · 0 comments
Open

HTML output conflict with jupyter styling #4546

cstayyab opened this issue Apr 4, 2019 · 0 comments

Comments

@cstayyab
Copy link

cstayyab commented Apr 4, 2019

Bug Description
When outputting HTML using IPython library, the css affects the styling of Jupyter Notebook IDE itself.

Code to Reproduce

from IPython.core.display import display, HTML
testHTML = """
<html>
<head>
<style>
div {
 border: 2px solid black;
}
</style>
</head>
<body>

</body>
</html>
"""
display(HTML(testHTML))

Screenshot
https://imgur.com/naSsmJE

Version Information
https://imgur.com/HcE0GSO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant