New answers tagged

4

The only part of that, where the browser would work harder, is having to parse the extra few characters for each selector. Insignificantly so because the majority of the work is done on creating a CSS Object Model, finding the elements, and applying the property values for each element. For something as small as applying font families, it's far easier to ...


0

It's really irrelevant, because you should minify any .css file that goes up. Your code is your signature. If you don't know how to minify .css -> here's the link. But.. from my perspective... I never write code like in Example 2, and it's little bit "wrong" to write css like that unless you are 100% sure that that's it; because if you change anything in ...


0

The error message you are getting is simply an informative message telling you that without the width and height attributes the page load may slow down while the whole image is downloaded to the browser cache to be displayed, but if the image in question is the same size (IE: not larger than the area you are wanting to display it in) then you wont have any ...


3

When you donĀ“t put something in between, are your links even visible / klickable on your page? Normally you would attach a link to a picture like this. <a href="image1"><img src="example.jpg" alt="example pic"></a> If your images are created through CSS you should include the html elements on which the CSS is creating the images in ...



Top 50 recent answers are included