CSSでTAB
サイトを作るときいつもTAB(ナビゲーション部分)を付けて見たいと思うたちで、最近始めたこのBlogにもCSSを使って何とか作れないかとあちこちのサイトを見てはソースを参考にして試行錯誤を繰り返していました。
結局は今上に付けてるTABのようになってしまったのですが、このTABの作り方ってちゃんとしたとこで公開されていました。
日本でもChitatopopsさんが半年も前に紹介されてまいた。まだ他にもいいものがあると思いますが、試した中ではブラウザの対応も広いので今は使わせてもらっています。
公開もと→unraveled: CSS Tabs
CSS Tabs
続きを読むに公開されているCSSとタグを書いています。
CSS
------------------------------------------------------
ul#tabnav {
font: bold 11px verdana, arial, sans-serif;
list-style-type: none;
padding-bottom: 24px;
border-bottom: 1px solid #6c6;
margin: 0;
}
ul#tabnav li {
float: left;
height: 21px;
background-color: #cfc;
margin: 2px 2px 0 2px;
border: 1px solid #6c6;
}
body#tab1 li.tab1, body#tab2 li.tab2, body#tab3 li.tab3, body#tab4 li.tab4 {
border-bottom: 1px solid #fff;
background-color: #fff;
}
body#tab1 li.tab1 a, body#tab2 li.tab2 a, body#tab3 li.tab3 a, body#tab4 li.tab4 a {
color: #000;
}
#tabnav a {
float: left;
display: block;
color: #666;
text-decoration: none;
padding: 4px;
}
#tabnav a:hover {
background: #fff;
}
タグ
------------------------------------------------------
<body id="tab1">
・
・
・
<ul id="tabnav">
<li class="tab1"><a href="#">Tab One</a></li>
<li class="tab2"><a href="#">Tab Two</a></li>
<li class="tab3"><a href="#">Tab Three</a></li>
<li class="tab4"><a href="#">Tab Four</a></li>
</ul>
このエントリーに関連ありそな本&DVD 
Excerpt: BQ-noteさんの、この記事を参考にして、INDEXの上部に時計とナビバーを設置してみました。BQさんありがとうございます。 時計はかわいかったので、ついでに設置してみました〜。なかなかきにいってます。ナビバーは、各記事に飛んだとき、メインに帰って来るリンクをつけ...
From: ++ angeli-x ++ mono logue Date: 04.03.03-11:59 Entry Title: CSS_TAB
Excerpt: BQ-note : CSSでTABサイトを作るときいつもTAB(ナビゲーション部分)を付けて見たいと思うたちで、最近始めたこのBlogにもCSSを使って何とか作れないかとあちこちのサイトを見てはソースを参考にして試行錯誤を繰り返していました。 ... 蓮華姉さんのとこで見掛けたタブ...
From: nil blog Date: 04.03.12-03:19
http://www.brainjar.com/dhtml/menubar/
demo.html
こちらは…ご存知かな?
一度使ってみたいなーと思いつつ、まだ手を出せないでいます; めっちゃかっこいいんですが、コードが長い…
あと今使ってるのは
http://www.simplebits.com/archives/
2003/08/14/minitab_shapes.html
こちらです。でもこのコード、なんか新しいfirefoxで表示のバグが見つかったとか何とか(ブラウザの方のバグ)。
ところで、このあいだタイトルの前に画像つけるやつ教えてもらったので、CSSコンペで使ったのですよ!ありがとうございました~ほんとに!!
From: Nao Date: 04.02.13-13:44>Naoさんこんにちわ
いつも教えていただいてありがとうございます。さっそく取り入れてみようかなと勉強中です。
それとあの見出しTip、実はsimplebitsさんのページでアイデアいただいたものなんです^^;
でもホンとにNaoさんのページって綺麗!WordPress CSS Style Competition 1位も凄いです!!おめでとうございまーす。もう世界のNaoさんです。
From: BQ Date: 04.02.13-17:12Nice site yo got here! I really like it!
From: penis extender Date: 04.10.17-01:24The rule is perfect: in all matters of opinion our adversaries are insane.
From: fleshlight Date: 04.10.18-19:56Great blog you got here!
From: penis extender Date: 04.10.19-04:28Language is a form of human reason and has its reasons which are unknown to man.
From: penis pills Date: 04.10.20-22:16The real question is not whether machines think but whether men do.
From: fleshlight Date: 04.10.21-04:38Good thinking! I like this!
From: teen sex Date: 04.10.23-01:11By recognizing a favorable opinion of yourself, and taking pleasure in it, you in a measure give yourself and your peace of mind into the keeping of another, of whose attitude you can never be certain.
From: vimax Date: 04.10.23-07:18Universal doubt cancels itself.
From: penis pills Date: 04.10.25-22:33The fundamental sense of freedom is freedom from chains, from imprisonment, from enslavement by others. The rest is extension of this sense, or else metaphor.
From: penis enlargement pills Date: 04.10.27-04:11Happy to read this, that is great guys!
From: gazduire Date: 04.10.27-17:34travel
online gambling
finances
homes
internet
health
shopping
insurance
education
careers
entertainment
business
internet marketing
autos
romance
You guys may find interesting these links.
Nice stuff. Glad to read this. Thanks guys!
From: penis enlargement pills Date: 04.11.03-23:22The rule is perfect: in all matters of opinion our adversaries are insane.
From: fleshlight Date: 04.11.04-04:48Never know when you will need such a great product. Nice to be with you guys!
From: hgh Date: 04.11.04-21:36This discussion goes crazy. It is nice to have you here guys!
From: penis enlargement Date: 04.11.05-03:03Money does not pay for anything, never has, never will. It is an economic axiom as old as the hills that goods and services can be paid for only with goods and services.
From: vimax Date: 04.11.05-05:52Civilization is the progress toward a society of privacy. The savages whole existence is public, ruled by the laws of his tribe. Civilization is the process of setting man free from men.
From: penis enlargement pill Date: 04.11.05-19:53Men are deceived if they think themselves free, an opinion which consists only in this, that they are conscious of their actions and ignorant of the causes by which they are determined.
From: hgh spray Date: 04.11.05-23:36Few persons care to study logic, because everybody conceives himself to be proficient enough in the art of reasoning already. But I observe that this satisfaction is limited to one own ratiocination, and does not extend to that of other men.
From: fleshlight Date: 04.11.07-18:47It is possible to have a sexual release without the burden of money, prestige, and power. The fleshlight is the answer.
From: penis enlargement pills Date: 04.11.19-07:48The reason that no computer program can ever be a mind is simply that a computer program is only syntactical, and minds are more than syntactical. Minds are semantical, in the sense that they have more than a formal structure, they have a content.
penis enlargement | penis extender | vigrx | vimax | hgh |
fleshlight | enlargement penis | penis pills | hgh spray | penis enlargement pills
Since each person, as an individual, is the not-being of the other, it is never possible to eliminate non-understanding completely.
From: penis enlargement Date: 04.11.23-04:44Restore your looks, health, energy and physical abilities to the levels of a robust young adult!
From: hgh Date: 04.11.23-18:21Merely fact-minded sciences make merely fact-minded people.
From: penis enlargement product Date: 04.11.24-07:51Fleshlight is a portable, concealable, sturdy male masturbation device.
Vimax is one of the best penis enlargement pills.
VigRX is proven to be the safest, most effective and completely enlargement penis method.
Fleshlight is available in a wide variety of colors, scents and orifices.
Did you know that the biggest improvement in penis enlargement methods that I have seen is penis pills.
I have spent fortunes on face creams and anti aging serums, but using HGH is the first time I have tried turning back the clock from the inside out.
The vimax penis extender has taken natural penis enlargement to the privacy of the home adding both penis length and girth to your penis.
Here you wil always find plenty of song lyrics.
travel
online gambling
finances
homes
internet
health
shopping
insurance
education
careers
entertainment
business
internet marketing
autos
romance
A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools.
From: penis enlargement pills Date: 04.11.30-17:02Christianity taught that men ought to be as chaste as pagans thought honest women ought to be. The contraceptive morality teaches that women need to be as little chaste as pagans thought men need be.
From: penis pills Date: 04.12.01-22:56Certainly it is wrong to be cruel to animals and the destruction of a whole species can be a great evil. The capacity for feelings of pleasure and pain and for the form of life of which animals are capable clearly impose duties of compassion and humanity in their case.
From: vigrx Date: 04.12.02-04:43Restore your looks, health, energy and physical abilities to the levels of a robust young adult!
From: hgh Date: 04.12.02-17:26This discussion goes crazy. It is nice to have you here guys!
From: penis enlargement Date: 04.12.16-00:35Great blog you have here. Thanks!
From: vigrx pills Date: 04.12.16-16:34The history of the world is none other than the progress of the consciousness of spirit.
From: hgh Date: 04.12.17-04:22The difference between man and woman is like that between animals and plants. Men correspond to animals, while women correspond to plants because their development is more placid and the principle that underlies it is the rather vague unity of feeling.
From: fleshlight Date: 04.12.17-22:29I must have a prodigious quantity of mind; it takes me as much as a
week sometimes to make it up.
-- Mark Twain, The Innocents Abroad
Celebrex http://www.cheap-celebrex-prescriptions.com
A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools.
From: vimax Date: 04.12.18-19:56I've built a better model than the one at Data General
For data bases vegetable, animal, and mineral
My OS handles CPUs with multiplexed duality;
My PL/1 compiler shows impressive functionality.
My storage system's better than magnetic core polarity,
You never have to bother checking out a bit for parity;
There isn't any reason to install non-static floor matting;
My disk drive has capacity for variable formatting.
I feel compelled to mention what I know to be a gloating point:
There's lots of room in memory for variables floating-point,
Which shows for input vegetable, animal, and mineral
I've built a better model than the one at Data General.
-- Steve Levine, A Computer Song (To the tune of
Modern Major General, from Pirates of Penzance,
by Gilbert & Sullivan)
Diet Pills http://www.discounted-diet-pills.com
Certainly it is wrong to be cruel to animals and the destruction of a whole species can be a great evil. The capacity for feelings of pleasure and pain and for the form of life of which animals are capable clearly impose duties of compassion and humanity in their case.
From: vigrx Date: 04.12.19-02:50Qvid me anxivs svm?
Phentermine http://phentermine.se.com
Support your local police force -- steal!!
Texas Holdem http://www.texas-holdem-com.com
Nuclear war would really set back cable.
-- Ted Turner
Texas Hold em http://www.texas-holdem-com.com
All the choir of heaven and furniture of earth - in a word, all those bodies which compose the mighty frame of the world - have not any subsistence without a mind.
From: penis enlargement Date: 04.12.20-21:09Far out in the uncharted backwaters of the unfashionable end of the
Western Spiral arm of the Galaxy lies a small unregarded yellow sun.
Orbiting this at a distance of roughly ninety-eight million miles is an
utterly insignificant little blue-green planet whose ape-descended life
forms are so amazingly primitive that they still think digital watches
are a pretty neat idea ...
-- Douglas Adams, The Hitchhiker's Guide to the Galaxy
Poker http://www.internet-texas-holdem-poker.biz
The chief merit of language is clearness, and we know that nothing detracts so much from this as do unfamiliar terms.
From: vig rx Date: 04.12.22-00:15How good one feels when one is full - how satisfied with ourselves and with the world! People who have tried it, tell me that a clear conscience makes you very happy and contented. But a full stomach does the business quite as well, and is cheaper, and more easily obtained. One feels so forgiving and generous after a substantial and well-digested meal - so noble-minded, so kindly-hearted.
From: penis pills Date: 04.12.22-03:06The IQ of the group is the lowest IQ of a member of the group divided
by the number of people in the group.
Poker http://www.party-poker-player.com
The illustrious bishop of Cambrai was of more worth than his chambermaid, and there are few of us that would hesitate to pronounce, if his palace were in flames, and the life of only one of them could be preserved, which of the two ought to be preferred.
From: fleshlight Date: 04.12.22-19:10The characteristic of the hour is that the commonplace mind, knowing itself to be commonplace, has the assurance to proclaim the rights of the commonplace and to impose them wherever it will.
From: vimax Date: 04.12.23-02:41[In the 60's] there was madness in any direction, at any hour ... You
could strike sparks anywhere. There was a fantastic universal sense
that whatever we were doing was `right', that we were winning ...
And that, I think, was the handle -- the sense of inevitable victory
over the forces of Old and Evil. Not in any mean or military sense; we
didn't need that. Our energy would simply `prevail'. There was no
point in fighting -- on our side or theirs. We had all the momentum;
we were riding the crest of a high and beautiful wave ....
So now, less than five years later, you can go up on a steep hill in
Las Vegas and look West, and with the right kind of eyes you can almost
___see the high-water mark -- the place where the wave finally broke and
rolled back.
-- Hunter S. Thompson, Fear and Loathing in Las Vegas
Tramadol http://online-prescription-pharmacy.com/Tramadol.htm
The advice to limit our concerns might go along with the happy belief in an invisible hand or mechanism by which a number of independent agents, each acting on their own narrow concerns, in fact maximize the social good. This mechanism is the great buttress to free markets and laissez-faire capitalism. Unfortunately, there are situations in which instead of an invisible hand there is an invisible boot, ensuring that the same agents do worse than they would under a more generous regime of concern for each other.
From: penis extender Date: 04.12.23-17:37A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools.
From: penis enlargement pills Date: 04.12.24-04:38And as we stand on the edge of darkness
Let our chant fill the void
That others may know
In the land of the night
The ship of the sun
Is drawn by
The grateful dead.
-- Tibetan Book of the Dead, ca. 4000 BC.
Amoxicillin http://online-prescription-pharmacy.com/Amoxicillin.htm
Lunatic Asylum, n.:
The place where optimism most flourishes.
Clonazepam http://online-prescription-pharmacy.com/Clonazepam.htm
Human cardiac catheterization was introduced by Werner Forssman in
1929. Ignoring his department chief, and tying his assistant to an
operating table to prevent his interference, he placed a uretheral
catheter into a vein in his arm, advanced it to the right atrium [of
his heart], and walked upstairs to the x-ray department where he took
the confirmatory x-ray film. In 1956, Dr. Forssman was awarded the
Nobel Prize.
Poker http://party-poker.player.gb.com
The action is best, which procures the greatest happiness for the greatest numbers.
From: penis enlargement Date: 04.12.30-20:04The action is best, which procures the greatest happiness for the greatest numbers.
From: penis enlargement Date: 05.01.03-20:03At the same time computers were gaining acceptance as intimate machines, psychotherapy was being conceptualized as less intimate as a cooler, more cognitive, and more scientific technique. These days, people seem increasingly ready to view psychotherapy in terms of rules and information and the dispensing of drugs, the sort of things a computer might know something about, rather than as a deep, even eroticized relationship with a therapist, the sort of thing a computer would know nothing about.
From: penis enlargement patch Date: 05.01.04-05:04I, who used to have such patience with my own species, and who for so long saw everything through rose-coloured spectacles, now see only darkness. I used to judge others by myself. I have made great progress in schooling my own character. I have sown my volcanoes with grass and flowers, and they were getting on well.
From: penis pills Date: 05.01.04-23:58How good one feels when one is full, how satisfied with ourselves and with the world! People who have tried it, tell me that a clear conscience makes you very happy and contented. But a full stomach does the business quite as well, and is cheaper, and more easily obtained. One feels so forgiving and generous after a substantial and well digested meal so noble-minded, so kindly hearted.
From: vimax Date: 05.01.05-21:59Writing that springs from the surface of existence when there is no other way and the deeper wells have dried up is nothing, and collapses the moment a truer emotion makes that surface shake. That is why one can never be alone enough when one writes, why there can never be enough silence around one when one writes, why even night is not night enough.
From: penis pills Date: 05.01.06-04:56But we must also allow, that some part of the seeming harmony in morals may be accounted for from the very nature of language. The word virtue, with its equivalent in every tongue, implies praise, as that of vice does blame, and no one, without the most obvious and grossest impropriety, could affix reproach to a term, which in general acceptation is understood in a good sense, or bestow applause, where the idiom requires disapprobation.
From: penis enlargement pills Date: 05.01.06-20:35If the question is asked, what are the most intelligent and all round capable things on earth, the answer is obvious: human beings. Everyone knows this, except certain religious people. A person is certainly a believer in some religion if he thinks, for example, that there are on earth millions of invisible and immortal nonhuman beings which are far more intelligent and capable than we are. But that is exactly what sociobiologists do think, about genes. Sociobiology, then, is a religion: one which has genes as its gods.
From: penis enlargement Date: 05.01.07-05:38In the English speaking world the great majority of books that have been published in philosophy in the twentieth century are like academic paintings: they show unmistakable talent and are professionally competent, the result of long processes of learning, application and work, everything in them is accurate, in its right place, and as it should be, but it makes not the slightest difference whether they exist or not.
From: vigrx Date: 05.01.07-20:11The propositions of mathematics are devoid of all factual content. They convey no information whatever on any empirical subject matter.
From: vimax faq Date: 05.01.08-05:40

page top