hodakkm Posted July 20, 2019 Posted July 20, 2019 Toward the bottom of www.ourhumanherds.com, I have an HTML table with a lot of extra white space above it. When I view the first part of the table in the Squarespace editor, it looks like this: </style> <table> <tr> <th><b>Questions about</b></th> <th id="mind1"><b>Moral Mind 1</b></th> <th id="mind2"><b>Moral Mind 2</b></th> </tr> <tr> But when I view the source from a browser, there are all those extra br tags. It's obviously the br tags that are causing the unwanted white space, but where are they coming from? </style> <br><br><br><br><br><br><br><br><br><table data-preserve-html-node="true"> <tbody><tr data-preserve-html-node="true"> <th data-preserve-html-node="true"><b data-preserve-html-node="true">Questions about</b></th> <th data-preserve-html-node="true" id="mind1"><b data-preserve-html-node="true">Moral Mind 1</b></th> <th data-preserve-html-node="true" id="mind2"><b data-preserve-html-node="true">Moral Mind 2</b></th> </tr> Thanks,Kevin
tuanphan Posted July 20, 2019 Posted July 20, 2019 Can you take screenshot of code in SS editor? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
hodakkm Posted July 22, 2019 Author Posted July 22, 2019 Thanks, @tuanphan. First two screenshots attached, one more to follow showing the end of the table code.
tuanphan Posted July 22, 2019 Posted July 22, 2019 Try removing the space between style and table Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
hodakkm Posted July 22, 2019 Author Posted July 22, 2019 Doesn't seem to make a difference. I also lose some of the formatting if I get rid of the extra line or move the table tag right next to the closing style one. But text typed there does show at the top.
tuanphan Posted July 22, 2019 Posted July 22, 2019 @hodakkm You can add to Home > Design > Custom CSS to hide all div#block-yui_3_17_2_1_1563809467513_48848 .sqs-block-content br { display: none !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
hodakkm Posted July 22, 2019 Author Posted July 22, 2019 That did the trick! I also see how I can use the div id to use the same approach for a couple of other tables on other pages. Thanks for the help on this.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.