nanoudel Posted September 25, 2020 Share Posted September 25, 2020 Bonjour, Comment insérer un tableau responsie dans une page CMS ? Merci de votre aide Link to comment Share on other sites More sharing options...
nanoudel Posted September 25, 2020 Author Share Posted September 25, 2020 RÉSOLUE ! Pour rendre un tableau responsive , il faut effectuer deux étapes : ajouter les lignes suivante au fichier themes/classic/assets/css/custom.css : @media screen and (max-width: 640px) { table, tbody, tr, td { display: block; width: auto!important; } } Insérer la balise suivante dans le code source de la page CMS <table cellpadding="3" style="width: 90%; margin-left: auto; margin-right: auto;" border="2"> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now