djdaniel150
-
@font-face problem on mobile
Right, I have no idea why they're trying to link to the fonts with "@import?" Makes no sense. Thats just it, they aren't trying to link css files, they're trying to embed fonts, atleast that was the stated problem. I found @…
-
Media Queries for desktop and iPad
have you tried setting a minimum and maximum width? Also, your last CSS declaration is wrong, it should be: "@media screen and (max-width: 767px) and (device-width: etc") but you wrote "or". I don't particularly like the me…
-
@font-face problem on mobile
I see the "@import" declarations embedded within the style sheet itself, not the HTML document. Fine I guess, but it should still be "@font-face". Also, chris is right, you better be careful with embedding fonts, are you sure the…
-
How many media queries is too many?
You will be fine with what you are doing Gaber! I was concerned as well with my latest site, cause it too had a million "@media" declarations, they still load faster than any external link will, that's for sure.
-
How many media queries is too many?
Exactly my point! Google just reaffirmed what I already stated, External style sheets slow down page rendering. I stated to place your media queries, that is "@media", not "@import" in the document itself, and it will load much f…
-
Float left combined with bullets: problematic
Why are you using "float: left;" anyway. If you used absolute positioning then you wouldn't need to float anything ever. "float: left;" or "margin-top: 5px;", etc, is like saying, please move this element a little …
-
@font-face problem on mobile
The problem is, I don't see where you actually declared your fonts! You used "@import" to point to them, without their names like this in your CSS: "@import url('font.css');" "@import url('font2.css'…
-
How many media queries is too many?
Actually placing media queries directly in the head section of your page will cause your pages to load much faster than linking to them. Also, linking to an external style sheet for any reason will slow down the page load time as well. I've tes…
-
how to play flv in html5
Yeah, Chris is right, HTML5 is simply HTML and you can still embed SWF files just as you did older versions. I wish HTML5 would sink to the bottom of the ocean, its worthless! XHTML5 will be way better.
-
CSS DIV positioning
The problem is, you are using browser specific prefixes! The column selector and its properties are not yet standards, and you shouldn't be using them for anything other than experimental testing, not on an actual site you intend to publish. Th…
-
background problem
Also, don't position background images of your document body using fixed pixel values! All that "float: left;", "margin-right: 45px;" stuff is nonsense. I'm not sure why people are still using these fossilized methods. …
-
background problem
Harry, why are you using margins to position your elements? Also, I noticed that you specified that margin with a pixel value. Pixel values are fixed values, no good when it comes to positioning elements. You should consider using absolute positioni…