I am quite new in coding and a try to build a website with GWD. - My last goal was to build a simple header <div> which is fixed on the top of the browser window. Therefore I used the following css-code:
div {
position: fixed;
width ...;
height: ...;
background-color: ...;
}
And it NEVER works. The <div> is always "unfixed". - I found out that the reason for this behavior is the code:
.gwd-body {
background-color: transparent;
-webkit-transform-style: preserve-3d;
-webkit-transform: perspective(1400px) matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
}
.gwd-body {
width: 100%;
height: 100%;
}
This code is generated by GWD itself - not by me. If I delete it and open my website in Chrome the <div> is fixed as I wanted it to be. - But it is impossible to delete this code pemanently. It reappears every time I open the "Design view" in GWD and every time I open the html-file in GWD.
1. Does anyone know the reason for this behavior?
2. Does anyone know a solution? (Creating FIXED elements while maintaining the GWD-self-generated ".gwd-body"-code above)
And please remember that I am quite new in coding. I probably won't understand everything ;-)