Issue with Chrome related to columns and forms

Check out this Codepen http://codepen.io/rafaeljuarez/pen/KpXBdB

<div id="cotizacioncontainer" >


<div id="cotizacion" >
<h1>fghgfh</h1>
<p class="resumen">fghfghfgh</p>



<form id="form" name="form1" method="post" action="SVF-emailer.php">
<div id="formulario" class="doscols">
<label>
<span class="moq">Fecha y hora de tu evento</span>
<input type="text" name="fecha" id="fecha">
</label>

<label>
<span class="moq">Lugar de tu evento</span>
<input type="text" name="lugar" id="lugar">
</label>

<label>
<span class="moq">Cuantos niños invitarás?</span>
<input type="text" name="cuantos" id="cuantos">
</label>

<label>
<span class="moq">Edades aproximadas</span>
<input type="text" name="edades" id="edades">
</label>


<label>
<span class="moq">¿qué Plan Deseas?</span>
<select name="plan" id="plan">
<option value="..." selected>Selecciona plan</option>
</select>
</label>

<label>
<span class="moq">¿Qué Servicios extra Deseas?</span>
<select name="extra" id="extra" multiple size="10">
<option value="..." selected>Selecciona plan (Puedes seleccionar varios)            </option>

</select>
</label>

</div>
</form>
</div>
</div>

This code snippet is styled with the following CSS:

#cotizacioncontainer{  transform:skewY(-3deg);
position:relative;
padding:150px 0;
background-color:#000; 
color:#fff!important;}

#cotizacion{ max-width:1000px;
transform: skewY(3deg);
position:relative;
margin-right:auto;
margin-left:auto;}
...
[Remaining CSS rules]
...

A compatibility issue has been noticed - while the form works fine on Firefox, it's unusable in Chrome. The field behaves strangely when clicked due to layout transformations and multi-column settings.

Please keep in mind:

If h1 and .desc elements are removed or hidden, the form functions correctly.

The problem arises when using skew transformation or column layouts.

Adding transform: translateZ(0) to the #formulario element resolves the issue in Chrome.

Although a temporary solution has been found, the underlying cause of these issues remains unclear. It seems to be specific to Chrome's handling of multi-column layouts.

This frustrating inconsistency in Chrome's behavior with multi-columns needs attention for better stability and support in web design.

Answer №1

Chrome appears to have some issues with calculating the heights of <label> elements when using column-count. Additionally, it doesn't seem to handle child elements being set to position:relative very well.

To resolve this problem without changing your HTML structure, you can simply remove position:relative from #formulario label.

It seems that Chrome is still working on fully implementing support for column-count. You can check out the latest updates here:

For any further issues related to "column-count," you may want to search the Chromium issue tracker at https://code.google.com/p/chromium/issues/list to see if others are experiencing the same problem. If not, consider reporting it yourself.

Answer №2

Seems to be a browser glitch. To fix it, try including:

#formulario {
    -webkit-transform: translate3d(0, 0, 0);
}

Check out the live demonstration here

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

When importing scss files in Bootstrap 4, the generated file may differ from the original one found on the official getbootstrap.com

I am utilizing node-sass for my current project. If you want to experiment, create a simple style.scss file with both versions (alpha6 and beta): @import "./node_modules/bootstrap/scss/bootstrap"; then enter the following command: node-sass style.scss ...

What are the limitations preventing C++ applications from generating interfaces similar to those of PHP, HTML, and CSS?

I've always been puzzled by the fact that programming languages such as C++, Python, C, and others seem to be stuck in the realm of the command line. When building websites, I can easily use HTML, CSS, and PHP to quickly create both the logic and inte ...

Modify the css within a Bootbox dialog box

I am looking to enhance the appearance of the text "Hello world" in the following code snippet by applying some styling such as making it bold: bootbox.alert("Hello world!", function() { Example.show("Hello world callback"); }); Your help is greatly a ...

How to override the styling of a parent element in CSS

I'm encountering an issue with my website's sidebar. I've set the background color to yellow for elements with the currentPage class. This works fine for the 'Home' tab, but when I try to do the same for a nested tab like 'tag ...

What is the process for reverting my Chrome version from 94.0.4606.71 back to 94.0.4606.61?

Currently, I am developing a Voice assistant using Python. However, I keep encountering this persistent error every time I run my code... Traceback (most recent call last): File "C:\Users\Admin\PycharmProjects\pythonProject\ ...

Issue with font-family not being applied in PHP code

Struggling to preview different fonts? The code below should work, however, the font doesn't seem to change. Check out the output: my Text - Arial.ttf - 1 my Text - Batman.ttf - 1 my Text - Verdana.ttf - 1 While the font is being detected, it& ...

Interactive horizontal slideshow for hyperlinks - bootstrap framework and model-view-controller architecture

I am currently working on an MVC project that utilizes Bootstrap. My requirement is to have a horizontal menu of links that can slide left and right using arrows (similar to a carousel, but for links instead of images). To be more specific, the menu need ...

Interactive Map Using HTML5, CSS, and JQuery

As someone venturing into the world of web front end development, I am curious about the process of mapping an image so that specific functions can be triggered by pressing different parts. In this case, the shapes will be irregular (such as a map of Europ ...

Is there a potential issue with descender tags causing the malfunction of HTML and CSS tags?

Having some trouble with my <p> tag in the CSS. Can't seem to figure out why it's not working correctly. Any help is appreciated. Here's the HTML: <body> <section> <section id="pictures"> <div> < ...

Utilize flexbox to keep a paragraph element centered even when the text wraps, without directly centering the

Before this gets down-voted into oblivion, let me mention that I have thoroughly searched through numerous similar questions on SO. However, none of them provided a solution to my specific issue. I am using flexbox to align <p> tags both horizontall ...

Modifying the Vue.js Vue3-slider component for custom color schemes

Currently, I am using the vue-slider component and would like to customize the color of the slider itself. The specific class that needs to be styled is "vue-slider-dot-tooltip-inner". Below is a screenshot displaying the original CSS styling for vue-slid ...

`the varied significance of e.target in web browsers`

Can someone explain why Mozilla and Chrome have different values for e.target? I've created an example to demonstrate. Check out the example here In Mozilla, e.target displays as: <button type="button"> Whereas in Chrome, it shows as: < ...

Blank email messages in outlook.com, microsoft exchange, and hotmail.com

After styling an email and testing it, everything seemed to work fine except in Outlook.com, Microsoft Exchange, and Hotmail. For some reason, Exchange strips all the code used (tables, tr & td tags) no matter what I do. Is there a workaround for this ...

The website using WordPress WooCommerce and WP Touch is currently not appearing mobile-friendly. Additionally, there seems to be an issue with the carousel as the images are not displaying

Can someone help me with these issues I am facing on my website? Why does my CSS reset after using certain code? How can I make products show in the middle on mobile, other than on the homepage? Website URL : (www.thevapeboys.co.uk) I have a WordPre ...

Adjust menu alignment using percentages in HTML and CSS for children elements

I need assistance in creating a menu that spans the full width of the parent container. The children elements should have their width set to auto, but I want them to be fixed to the parent container. It's important to note that I do not want to manu ...

Controlling JS, CSS, and images with CakePHP 2.5 through the Cake controller

Currently, I am developing an application using the powerful combination of CakePHP and AngularJS. During my work on the AngularJS side of the project, I noticed that we are generating a large number of JavaScript and HTML files. I am interested in havin ...

Arrange the divs at the top and bottom of a Bootstrap 5 column

I am working with a Bootstrap 5 row that contains multiple columns. Each column consists of an image and a paragraph. Since the images have varying heights, I am trying to align everything by: setting the child div to have a height of 100% using h-100 al ...

Is it possible to create two distinct homepages for a single website?

I'm currently working on a project where I am creating a replica of the website Make My Trip This website has different layouts for laptop and mobile devices, appearing completely different. How can we achieve this kind of functionality? Here is the ...

An image hover effect using CSS or JavaScript that stays anchored to the background when the window is resized

For days, I have been attempting to create 5 anchored image rollovers for my website's navigation menu without achieving 100% success. After going through numerous tutorials, some recommending JavaScript and others CSS, I am still facing issues. The m ...

The Bootstrap slideshow is missing the previous and next buttons/arrows in the center of the screen

I'm completely new to the world of bootstrap and I can't seem to figure out why the previous and next arrows aren't appearing in the center of my slideshow images. Currently, the arrows are positioned at the top of the slideshow and are bar ...