Sponsored Link

BQ-note

 « Blogツール | メイン | MT備忘録 »
2004 . 01 . 16 (Tips)

ちょこっと便利なナビゲーション

sample 1:

sample 2:
スタイルシートを使って簡単に変更や追加ができるナビゲーションバーが作れます。といっても受け売りですが、軽いのでMovable Typeになんかにちょうどいいかも知れません。ただOpera6とかではちょっとばかり崩れるのがおしいとこなんですが^^;

「続きを読む」にスタイルシートとタグを書いています。

--------------------------------------------------------------------------
sample 1:のスタイルシート

#minitabs {
margin: 0;
padding: 0 0 20px 10px;
border-bottom: 1px solid #669966
}

#minitabs li {
margin: 0;
padding: 0;
display: inline;
list-style-type: none
}

#minitabs a:link, #minitabs a:visited {
float: left;
font-size: 10px;
line-height: 14px;
font-weight: bold;
margin: 0 10px 4px 10px;
text-decoration: none;
color: #99cc99
}

#minitabs a.active:link, #minitabs a.active:visited, #minitabs a:hover {
border-bottom: 4px solid #696;
padding-bottom: 2px;
background: #fff;
color: #336633
}

#minitabs a:hover {
color: #669966
}

sample 1:のタグ

<ul id="minitabs">
<li><a href="#" class="active">home</a></li>
<li><a href="#">menu2</a></li>
<li><a href="#">menu3</a></li>
<li><a href="#">menu4</a></li>
<li><a href="#">menu5</a></li>
</ul>
--------------------------------------------------------------------------
sample 2:のスタイルシート

#stabnav {
height: 20px;
margin: 0;
padding-left: 10px;
background: url(tab_bottom.gif) repeat-x bottom
}

#stabnav li {
margin: 0;
padding: 0;
display: inline;
list-style-type: none
}

#stabnav a:link, #tabnav a:visited {
float: left;
background: #f3f3f3;
font-size: 10px;
line-height: 14px;
font-weight: bold;
padding: 2px 10px 2px 10px;
margin-right: 4px;
border: 1px solid #ccc;
text-decoration: none;
color: #666666
}

#stabnav a:link.active, #tabnav a:visited.active {
border-bottom: 1px solid #fff;
background: #fff;
color: #000000
}

#stabnav a:hover {
background: #ffffff
}

sample 2:のタグ

<ul id="stabnav">
<li><a href="#" class="active">home</a></li>
<li><a href="#">menu2</a></li>
<li><a href="#">menu3</a></li>
<li><a href="#">menu4</a></li>
</ul>

--------------------------------------------------------------------------
注)#stabnavのgif画像はナビゲーションバーのボトムカラーに1×1pxのスペイサー画像を使っています。ボーダーカラーに合わせて作製してください。

Posted by:BQ 22:10
 このエントリーに関連ありそな本&DVD 

Trackback (0)
 URL :
 
 

Comments (35)

一度使ってみます

From: ブーちゃん Date: 04.01.17-23:01

I am not one of those who think that the people are never in the wrong. They have been so, frequently and outrageously, both in other countries and in this. But I do say, that in all disputes between them and their rulers, the presumption is at least upon a par in favour of the people.

From: vimax extender Date: 04.10.08-06:46

Awesome sentiment! I totally agree with you!

From: fleshlight Date: 04.10.12-21:44

The rule is perfect: in all matters of opinion our adversaries are insane.

From: fleshlight Date: 04.10.18-16:39

Great blog you got here!

From: penis extender Date: 04.10.18-22:36

Language is a form of human reason and has its reasons which are unknown to man.

From: penis pills Date: 04.10.19-22:22

The real question is not whether machines think but whether men do.

From: fleshlight Date: 04.10.21-00:34

Good thinking! I like this!

From: teen sex Date: 04.10.21-23:41

By 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-05:23

Universal doubt cancels itself.

From: penis pills Date: 04.10.23-20:41

The 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.26-23:47

Happy to read this, that is great guys!

From: gazduire Date: 04.10.27-07:06

travel
online gambling
finances
homes
internet
health
shopping
insurance
education
careers
entertainment
business
internet marketing
autos
romance
You guys may find interesting these links.

From: gifts Date: 04.10.27-21:06

Nice stuff. Glad to read this. Thanks guys!

From: penis enlargement pills Date: 04.11.04-01:22

The rule is perfect: in all matters of opinion our adversaries are insane.

From: fleshlight Date: 04.11.04-04:57

Never know when you will need such a great product. Nice to be with you guys!

From: hgh Date: 04.11.04-22:08

This discussion goes crazy. It is nice to have you here guys!

From: penis enlargement Date: 04.11.05-03:04

Money 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:59

Civilization 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:59

Men 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:49

The extension of women rights is the basic principle of all social progress.

From: fleshlight Date: 04.11.07-18:47

It 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-09:20

A long-forgotten loved one will appear soon. Buy the negatives at any
price.
Celebrex http://www.cheap-celebrex-prescriptions.com

From: Celebrex Date: 04.12.18-12:21

Mencken and Nathan's Sixteenth Law of The Average American:
Milking a cow is an operation demanding a special talent that
is possessed only by yokels, and no person born in a large city can
never hope to acquire it.
Diet Pills http://www.discounted-diet-pills.com

From: Diet Pills Date: 04.12.18-21:33

One planet is all you get.
Phentermine http://phentermine.se.com

From: Phentermine Date: 04.12.19-05:36

A jury consists of 12 persons chosen to decide
who has the better lawyer.
-- Robert Frost
Texas Holdem http://www.texas-holdem-com.com

From: Texas Holdem Date: 04.12.20-00:41

THERE'S NOT GOING TO BE ENOUGH PEOPLE IN THE SYSTEM TO TAKE ADVANTAGE OF PEOPLE LIKE ME.
- George W Bush, Texas Hold em http://www.texas-holdem-com.com

From: Texas Hold em Date: 04.12.20-11:42

Without ice cream life and fame are meaningless.
Poker http://www.internet-texas-holdem-poker.biz

From: Poker Date: 04.12.21-01:13

I never met a piece of chocolate I didn't like.
Poker http://www.party-poker-player.com

From: Poker Date: 04.12.22-16:52

Nature abhors a hero. For one thing, he violates the law of
conservation of energy. For another, how can it be the survival of the
fittest when the fittest keeps putting himself in situations where he
is most likely to be creamed?
-- Solomon Short
Tramadol http://online-prescription-pharmacy.com/Tramadol.htm

From: Tramadol Date: 04.12.23-15:28

Committee Rules:
(1) Never arrive on time, or you will be stamped a beginner.
(2) Don't say anything until the meeting is half over; this
stamps you as being wise.
(3) Be as vague as possible; this prevents irritating the
others.
(4) When in doubt, suggest that a subcommittee be appointed.
(5) Be the first to move for adjournment; this will make you
popular -- it's what everyone is waiting for.
Amoxicillin http://online-prescription-pharmacy.com/Amoxicillin.htm

From: Amoxicillin Date: 04.12.24-22:45

While you don't greatly need the outside world, it's still very
reassuring to know that it's still there.
Clonazepam http://online-prescription-pharmacy.com/Clonazepam.htm

From: Clonazepam Date: 04.12.27-07:46

I WILL HAVE A FOREIGN-HANDED FOREIGN POLICY.
- George W Bush, SEP. 27, 2000 Poker http://party-poker.player.gb.com

From: Poker Date: 04.12.28-02:31

OUR NATION MUST COME TOGETHER TO UNITE.
- George W Bush, cash advance http://cash-advance.se.com credit report http://credit-report.se.com party poker http://party-poker.player.gb.com payday loans http://payday-loans.se.com phentermine http://phentermine.se.com satellite dish http://satellite-dish.be payday loans http://www.airforce-payday-loans.com poker http://www.all-poker-casino.info anti depressant http://www.anti-depressant-pharmacy.com auto insurance http://www.auto-insurance-com.com blackjack http://www.blackjack-casino-x.com flexeril http://www.buy-cheap-flexeril.com prozac http://www.buy-prozac-prescription-medication.com payday loans http://www.california-payday-loans.com cash advance http://www.cashadvance.be online casino http://www.casino-online-x.com celebrex http://www.cheap-celebrex-prescriptions.com online credit report http://www.credit-report-online.info credit report http://www.credit-report-x.com debt consolidation http://www.debt-consolidation-com.com direct tx http://www.direct-tv-com.com directv http://www.direct-tv-x.com diet pills http://www.discounted-diet-pills.com dish network http://www.dish-network-satellite-dish.com payday loan http://www.epaycash.com payday loans http://www.florida-payday-loans.com video poker http://www.free-online-video-poker-game.com equity loan http://www.home-equity-loan-x.com texas hold em http://www.internet-texas-holdem-poker.biz levitra http://www.levitra-discount-pharmacy.com levitra http://www.levitra-medication.com payday loans http://www.marinecorps-payday-loans.com military payday loans http://www.military-paydayloans.com online casino http://www.online-casino-games-x.com online casino http://www.online-casino-topez.com dating http://www.online-dating-com.com online gambling http://www.online-gambling-com.com prescription pharmacy http://www.online-prescription-pharmacy.com texas holdem http://www.online-texas-holdem-poker-tips.biz texas hold em http://www.online-texas-holdem-strategy.info bingo http://www.party-bingo-player.com poker http://www.party-poker-player.com party poker http://www.party-poker-x.com payday loans http://www.paydayloans.be payday loan http://www.paylesspaydayloans.com [paxil http://www.paxil-pharmacy.com cash advance http://www.personal-cash-advance.com poker http://www.poker-rules-texas-holdem.com refinance mortgage http://www.refinance-mortgage-com.com satellite dish http://www.satellite-dish.be satellite tv http://www.satellite-tv-dish-network-x.com texas holdem http://www.texas-holdem-com.com texas holdem http://www.texasholdempokercasino.info video poker http://www.video-poker-com.com video poker http://www.video-poker-player.biz

From: Poker Date: 05.01.05-07:32

William Safire's Rules for Writers:

Remember to never split an infinitive. The passive voice should never
be used. Do not put statements in the negative form. Verbs have to
agree with their subjects. Proofread carefully to see if you words
out. If you reread your work, you can find on rereading a great deal
of repetition can be avoided by rereading and editing. A writer must
not shift your point of view. And don't start a sentence with a
conjunction. (Remember, too, a preposition is a terrible word to end a
sentence with.) Don't overuse exclamation marks!! Place pronouns as
close as possible, especially in long sentences, as of 10 or more
words, to their antecedents. Writing carefully, dangling participles
must be avoided. If any word is improper at the end of a sentence, a
linking verb is. Take the bull by the hand and avoid mixing
metaphors. Avoid trendy locutions that sound flaky. Everyone should
be careful to use a singular pronoun with singular nouns in their
writing. Always pick on the correct idiom. The adverb always follows
the verb. Last but not least, avoid cliches like the plague; seek
viable alternatives.
Party Poker http://party-poker.seo.se.com Texas Holdem http://texas-holdem.seo.se.com Black Jack http://black-jack-casino.seo.se.com online casino http://online-casino-games.seo.se.com holdem poker http://texas-holdem-poker.seo.se.com online gambling http://online-gambling.seo.se.com online texas holdem http://online-texas-holdem.seo.se.com free video poker http://free-video-poker.seo.se.com texas holdem http://texas-holdem-poker-rules.seo.se.com Online Texas Hold em http://texas-holdem-online.seo.se.com Online casino http://tropez-online-casino.seo.se.com Video Poker http://video-poker.seo.se.com Online Casino http://casino-online.seo.se.com Poker casino http://poker-casino.seo.se.com Texas HoldEm Tips http://texas-holdem-poker-tips.seo.se.com Texas HoldEm Strategy http://texas-holdem-strategy.seo.se.com Play Video Poker http://play-video-poker.seo.se.com Clonazepam http://www.clonazepam.be Phentermine http://www.phentermine-com.com Levitra http://www.levitra-com.com Paxil http://www.paxil.be

From: party poker Date: 05.01.08-15:00

2004. 06 17
moblog memorys »


Creative Commons License
B L O G T I M E S


page top

©2004 BQ-note.  
bqnote1@s41.xrea.com