This link has been bookmarked by 507 people . It was first bookmarked on 04 Jul 2010, by someone privately.
-
18 Jun 17
kevinoempty
-
02 Jan 14
-
24 Jul 13
-
02 Jul 13
-
29 May 13
-
08 Jan 13
-
23 Nov 12
-
21 Oct 12
-
10 Sep 12
-
27 Aug 12
-
07 Jul 12
-
25 Jun 12
-
01 Jun 12
-
17 Apr 12
-
07 Feb 12
-
02 Feb 12
-
17 Jan 12
-
11 Dec 11
-
23 Oct 11
-
10 Oct 11
-
27 Sep 11
-
03 Aug 11
-
01 Aug 11
-
07 Jul 11
-
16 Jun 11
-
01 Jun 11
-
font-weight: bold;
font-style: italic;
font-variant: small-caps;
font-size: 1em;
line-height: 1.5em;
font-family: verdana,sans-serifThere's no need though as you can use this CSS shorthand property:
font: bold italic small-caps 1em/1.5em verdana,sans-serif -
you can assign as many classes as you like! For example:
<p class="text side">...</p> -
So, your page header should contains links to two CSS documents, one for the screen, and one for printing:
<link type="text/css" rel="stylesheet" href="stylesheet.css" media="screen" />
<link type="text/css" rel="stylesheet" href="printstyle.css" media="print" /> -
Now just keep entering CSS commands until the display on the screen matches how you want the printed version to look. You'll certainly want to make use of the
display: nonecommand for navigation, decorative images and non-essential items. For more advice on this, read Print Different1, which also mentions the other media for which you can specify CSS files. -
Say for example, you wanted the top heading of each page to be ‘Buy widgets’, as you're a widget seller and you'd like to be found for this phrase in the search engines. You're pretty set on it being an obscure font so you need to use an image:
<h1><img src="widget-image.gif" alt="Buy widgets" /></h1>This is OK but there's strong evidence to suggest that search engines don't assign as much importance to alt text as they do real text (because so many webmasters use the alt text to cram in keywords). So, an alternative would be:
<h1>Buy widgets</h1>Now, this obviously won't use your obscure font. To fix this problem place these commands in your CSS document:
h1
{
background: url(widget-image.gif) no-repeat;
height: image height
text-indent: -2000px
} -
ay you wanted to have a fixed width layout website, and the content floated in the middle of the screen. You can use the following CSS command:
#content
{
width: 700px;
margin: 0 auto
}
-
-
14 May 11
-
07 Apr 11
-
26 Mar 11
-
27 Feb 11
-
09 Feb 11
-
15 Jan 11
Pamela Stocks"Usually attributes are assigned just one class, but this doesn't mean that that's all you're allowed. In reality, you can assign as many classes as you like! For example:"
-
10 Jan 11
-
21 Dec 10
-
22 Oct 10
-
04 Oct 10
-
24 Sep 10
-
23 Sep 10
-
30 Aug 10
-
19 Aug 10
-
06 Aug 10
-
04 Aug 10
-
09 Jul 10
-
02 Jul 10
-
01 Jul 10
-
15 Jun 10
-
03 Jun 10
-
02 Jun 10
-
31 May 10
-
08 May 10
-
06 May 10
-
26 Apr 10
-
01 Apr 10
-
25 Mar 10
-
22 Mar 10
-
18 Mar 10
-
13 Feb 10
-
18 Jan 10
-
14 Jan 10
-
13 Jan 10
-
11 Jan 10
-
26 Dec 09
-
16 Dec 09
-
15 Nov 09
-
24 Oct 09
-
15 Oct 09
-
25 Sep 09
-
25 Aug 09
-
04 Aug 09
-
01 Aug 09
-
29 Jul 09
dave reevesArticle offering some lesser known CSS tricks - learn something new and see how many you already know!
CSS tips and tricks hints CSS help printing web pages webdesign html webdev howto
-
16 Jul 09
-
15 Jul 09
-
11 Jul 09
-
21 Jun 09
-
16 Jun 09
-
15 Jun 09
-
10 Jun 09
-
08 Jun 09
-
07 Jun 09
-
30 May 09
-
26 May 09
-
19 May 09
-
05 May 09
-
18 Apr 09
-
08 Apr 09
-
28 Mar 09
-
09 Mar 09
-
23 Feb 09
-
18 Feb 09
-
13 Feb 09
-
Usually attributes are assigned just one class, but this doesn't mean that that's all you're allowed. In reality, you can assign as many classes as you like!
-
-
29 Jan 09
-
13 Jan 09
Page Comments
Venham conferir o AS NOVIDADES DO SERVIDOR de MU online JOGANDO.NET : www.jogando.net/mu
NÃO PERCA O novo site de Animes Cloud : http://www.animescloud.com/ com mais de 20.000 videos online.
Curta também a nossa pagina no facebook : http://www.facebook.com/pages/jogandonet/371027529618526
1ª Mega Maratona Jogando.net eventos diarios e novidades em todos os servidores atualizados p/ o Ep 3 Season 6 com novos kits DEVASTATOR , e o SUPREMO DIAMOND v2.
By: MissDeath
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.