Tagged Questions
114
votes
7answers
78k views
Why does IE9 switch to compatibility mode on my website?
I have just installed IE9 beta and on a specific site I created (HTML5) IE9 jumps to compatibility mode unless I manually tell it not to. I have tried removing several parts of the website but no ...
24
votes
4answers
39k views
ie9 border radius
I have the following which works in Firefox, Chrome and Safari. But not in IE9. It's applying rounded corners to the top left and right of a td. What am I missing?
border-left: solid 1px #444f82;
...
44
votes
6answers
24k views
Can you use CSS3 to transition from height:0 to the variable height of content?
Can you use CSS3 to transition from height:0 to the variable height of content?
9
votes
4answers
4k views
Passing mouse clicks through an overlaying element <div>
Is it possible to pass mouse clicks through an overlaying element: -
<div style="z-index: 100; background: url('../images/rain.24.png'); width: 100%; height: 100%; top: 0; bottom: 0; left: 0; ...
27
votes
3answers
25k views
Vertically centering a div inside another div
I want to center a div which is added inside another div.
<div id="outerDiv">
<div id="innerDiv">
</div>
</div>
This is the CSS I am currently using.
#outerDiv{
...
20
votes
6answers
12k views
Jquery Parallax Scrolling effect - Multi directional
I need to build a multi-directional JQuery parallax page for a client - they basically want it to work in a similar way to this - https://victoriabeckham.landrover.com/INT
I have the artwork ready ...
1
vote
2answers
460 views
Flexbox and vertical scroll in a full-height app using NEWER flexbox api
I want to use a full-height app using flexbox. I found what I want using old flexbox (display: box; and other things) in this link: CSS3 Flexbox full-height app and overflow
This is a correct ...
113
votes
11answers
19k views
Would you recommend starting from HTML5 & CSS3 for beginners? [closed]
I am a middle school student trying to dive into the world of web designing and developing.
I have been interested in (using) the web since I was little, but now I want to be in the "creating" side. ...
13
votes
4answers
8k views
Performance of moving image on web page via CSS vs HTML5 Canvas
I have an image and move it around my web page (JavaScript) like this:
satelliteImage.style.top = coordinates.top + "px";
satelliteImage.style.left = coordinates.left + "px";
Unfortunately, the ...
-2
votes
2answers
3k views
Best practice vertical-align center content on div
Just wondering the best practice to vertically center any content in a defined width/height div.
In the example there are two contents with different heights, what is the best way to center ...
10
votes
4answers
12k views
css absolute position won't work with margin-left:auto margin-right: auto
Say you have the following css applied to a div tag
.divtagABS {
position: absolute;
margin-left: auto;
margin-right:auto;
}
the margin-left and margin-right does not take effect
...
1
vote
2answers
1k views
Font-Face Not loaded
I'm using some costume Fonts in my web site but i got probleme with one it's not loaded and i can't figure out the probleme, here's the code :
@font-face {
font-family: OuachitaWayWbw;
src: ...
6
votes
6answers
13k views
Vertical align text in block element
I know vertical alignment is always asked about, but I don't seem to be able to find a solution for this particular example. I'd like the text centered within the element, not the element centered ...
12
votes
7answers
9k views
How to write backwards compatible HTML5?
I'd like to start using HTML5's basic features, but at the same time, keep my code backwards compatible with older browsers (graceful degradation). For instance, I'd like to use the cool CSS3 ...
13
votes
7answers
39k views
CSS @font-face not working in ie
I have the following CSS that works within Firefox but not IE. Obviously, the fonts are within the directory. Any suggestions?
@font-face {
font-family: "Futura";
src: ...