Search Results
There are 3 item(s) tagged with the keyword "CSS".
- Displaying: 1 - 3 of 3
- 1. 31 CSS Code scraps to make you a Better Coder
It is almost unfeasible to collect in an article all the CSS code snippets that could help you in the future but here are some of the ones that you would need more frequently than others. Don’t get afraid by the length of some of these CSS hack’s code because they’re all easy to apply and where is the case, they’re well documented. Besides the ones that resolve common and annoying problems there are also some that solve new issues brought by the new technologies.
Full record of Browser-Specific CSS Hacks
Cross browser coding can be sometimes tricky but these browser specific css hacks can help you with your problems. With them cross browser compatibility comes to you served on a plate.
- 2. Use CSS2 Property like: after, :before, :first-letter, and :first-line
The :before pseudo-element is used to insert content immediately before an element. This is done via the content property. The content assigned by the content property can be characters, a string, text, or an image. Further, you can apply style to the content, such as setting font and color. This is a convenient way to prefix the same text to large number of related text elements which have the same class value. The similar :after pseudo-element is used to insert content immediately after ...
- 3. Hide page content when printing a page
Hello Friends,
Sometimes, we are disabled editing option in a page like [select, copy and paste] also right click disabled because of no one can copied our data. We have to also take care about printing option even disabled print option or hide page content when printing page. There is simple solution for how to hide page content when printing a page ...
- By Bharat Patel
- Displaying: 1 - 3 of 3