-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
Tables are not printing correctly #25453
Comments
Background colors aren't always printed; there's usually a browser option for that. Unsure how much we should override that, which would screw things up for folks who want that background-color. |
@ewaschen @duksi1993
|
Did this ever get fixed? I'm using |
Same, I still don't see any of my color printed. |
@mdo "Unsure how much we should override that, which would screw things up for folks who want that background-color" Well, Bootstrap definitely overrides it and sets the background to white. Shouldn't it be |
It's a real problem, need to be fixed! |
Was this ever fixed? Seems to still be a problem. |
Concerning the striped tables: I was able to get this working by adding the Thus, this did not work:
This does work:
Note that this is for Bootstrap 3 and |
Hello,
today I've added feature to print tables from my website.
Then I have noticed that tables with classes below are not printing correctly, although they are displayed correctly on screen.
<thead class="thead-dark">
- Header and font are both white so header is not readable<table class="table table-dark">
- Like header, whole table is white, including the font.<table class="table table-striped">
- There are no striped rows when printing. Class has no effect when printing. Print result is the same with and without it.At first I suspected that something is wrong with my website (that my CSS is overriding Bootstrap CSS because it is linked after it), but then I tried to print tables from official Bootstrap website and got the same issue.
I'm using Bootstrap v4.0
Hope this will be resolved soon.
Thanks.
The text was updated successfully, but these errors were encountered: