Comments (6)
Hey Milo - this is a simple change we can make, but when you mention WP users having a height attribute do you mean one provided in default stylesheets, or one applied inline? Inline heights will override a general reset like this, but if you mean it's in a stylesheet reset we can add it to to grid.css.
from foundation-sites.
It's not in the default CSS. When using WP editor to insert images, it automatically add height and width attributes to the images as HTML and you won't be able to just use the current grid.css to resize the image while keeping the aspect ratio. But when I add the img { height: auto; }
, it works well. Not sure if I answered your question.
from foundation-sites.
That's odd - if WP is applying an inline height in pixels, height:auto should be getting overriden. Maybe WP is doing something fancy to avoid that? At any rate, added a height:auto attribute to grid.css for images, embeds and objects so that should take care of that. 69c6ccc
from foundation-sites.
I am getting this issue outside of wordpress.
An image that has a height and width attribute is being overridden by foundation which does not make sense given inline attributes should prevail?
from foundation-sites.
Same here with @lukeholder this is messing my images. I think this is a Wordpress CMS issue.
from foundation-sites.
It breaks the right display of images before they get loaded when you set height in the image tag. Also breaks any library that depends on the image height set directly in the image tag.
An example is that I'm using packery and setting the width and height, but as the height gets overwriting, it fails to position the images properly before they get loaded.
I think this is too intrusive and should be reverted.
from foundation-sites.
Related Issues (20)
- <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>perdoname mi amor </title> <link rel="stylesheet" href="me_perdonas.css"> <style> #No { grid-row: 5; grid-column: 6; } </style> </head> <body> <div> <p id="p" hidden>Yo tambien te amo mucho mi rey💗💗💗💗💗</p> <h1 id="1">Me Perdonas</h1> <section> <button id="Si">Si</button> <button id="No">No</button> </section> </div> <script src="me_perdonas.js"></script> </body> </html>
- Guide d'Installation de Windows Server 2022 Standard par rapport à Windows Server 2019 Standard
- a1 Lottery Login & Register (.Official.) - Earn Daily ₹5000
- Video Full Ayah dan Anak Baju Hitam Viral ASLI 6 Menit Link Lengkap Disini!
- Clip Bé Heo (Minh Hằng) 3 phút: Body Bé Thật Sự Miễn Chê, Lên Mây Với Bé Heo
- Clip Tiktoker Linh Trương 9 phút: Kỹ Năng Đỉnh Cao, Lên Mây Với Linh Trương
- Clip Điện Máy Xanh 17 Phút 27s: Lừa Mãi Mới Dụ Được Em Nó - Kỷ Niệm Hấp Dẫn Điện Máy Xanh
- Clip Trần Mi 2k5 - 1 Phút: Em Mi Chất Quá, Lên Mây Với Em - Bộ Đồ Nàng Hầu Nóng Bỏng
- Clip My Trần và Ny Người Yêu 1 Phút: Em My Chất Quá, Lên Mây Với Em
- Clip Mi Trần 2k5 (2005) - 8 Phút Lên Mây Với Em: Kỷ Niệm Hấp Dẫn Mi Trần
- NVIDIA : Free 3-month subscription to Xbox Game Pass PC (for new GAME PASS customers)
- Clip Hà Mỹ Vũ 16 phút 52 giây... Kỹ Năng HaMy Tốt Quá
- Full-Video Clip Mi Trần 2005 Video Mi Trần Lộ Clip 2k5
- Link Video Anak Kecil Viral Di Kuburan Ber 3 Gituan Video Asli Lihat Disini
- Video Viral: Ayah dan Anak Baju Hitam, Kasih Sayang dan Tidur yang Menarik Perhatian Netizen
- ViDEO ViRAL Anak Kecil Baju Biru Sama Kakaknya Part 3
- Megan Thee Stallion Video has released several official music videos, including
- Spam Issues and Discussions HOT 1
- Address sass 1.77.7+ warnings on mixed declarations with nested rules
- [Accordion Menu] Keyboard Functionality Closes Submenu on Keydown
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from foundation-sites.