H1,FIR,显示:内联? [英] H1, FIR, display:inline?

查看:75
本文介绍了H1,FIR,显示:内联?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,


用图像交换标准标记标签(h [1-6])的方式是

常识和这样不需要任何建议。没有

一塌糊涂,没有大惊小怪,显示带有花哨字体的图像而不是

arialy标题。很好。


现在,我知道的方法使用display:none规则。它会阻止显示内容

。现在,如果我想制作类似的东西


我的标题就在这里(它是,因此有两行)

我的标题在这里菜单标签by Dan

---------------------------一个底部边界,拥抱到标题-----


我所谈论的效果可以在
http://www.dwarfscorner.com/ 但我是在hackish中实现的。办法。

Dwarf''s Corner徽标不会显示为h1,而是使用

背景图像规则,而h1则隐藏在用户眼中。 />
不是很好,因为我根本无法进行任何翻转效果(或者我不知道这可以实现的方式)。 h1可以用

内联方式显示,但仍然不可见?有没有办法将链接

附加到我网站上的徽标?任何帮助将不胜感激,提前谢谢。


-

Lukasz Grabun

(回复字段是假的,使用grabek(at)acn dot waw dot pl回复)

Hello,

The way of swapping standard mark-up tags (h[1-6]) with images is a
common knowledge and as such does not need any recommendation. No
mess, no fuss, a image with fancy font is displayed instead of
"arialy" heading. Nice.

Now, methods I know uses "display:none" rule. It prevents the content
of being displayed. Now, what if I want to make something like

My heading goes here (it''s, hence two lines)
My heading goes here menu tabs by Dan
--------------------------- a bottom border, hugged to the heading -----

The effect I am talking about can can be seen on
http://www.dwarfscorner.com/ but I achieved it in a "hackish" way. The
Dwarf''s Corner logo is not displayed as a h1 but rather a
background-image rule is used whilst h1 is hid from the eyes of user.
Not very nice since I can''t make any roll-over effect at all (or I am
not aware of the way this can be achieved). Can h1 be displayed in
inline way and still be not visible? Is there a way to attach a link
to a logo on my site? Any help will be appreciated, thanks in advance.

--
Lukasz Grabun
(reply-to field is fake, use grabek (at) acn dot waw dot pl to reply)

推荐答案

Lukasz Grabun< gr **** @ purgatory.abyss>写道:
Lukasz Grabun <gr****@purgatory.abyss> wrote:
用图像交换标准标记标签(h [1-6])的方式是一个常识,因此不需要任何建议。没有
混乱,没有大惊小怪,显示带有花哨字体的图像而不是
arialy标题。很好。

现在,我知道的方法使用display:none。规则。它阻止了显示的内容。
The way of swapping standard mark-up tags (h[1-6]) with images is a
common knowledge and as such does not need any recommendation. No
mess, no fuss, a image with fancy font is displayed instead of
"arialy" heading. Nice.

Now, methods I know uses "display:none" rule. It prevents the content
of being displayed.




愚蠢的方法,很简单:


< ; h1>< img src =" headertextgraphic.png" alt =" headertext">< / h1>


-

Spartanicus



Dumb method, it''s simple:

<h1><img src="headertextgraphic.png" alt="headertext"></h1>

--
Spartanicus


Lukasz Grabun< gr **** @ purgatory.abyss>写道:
Lukasz Grabun <gr****@purgatory.abyss> wrote:
用图像交换标准标记标签(h [1-6])的方式是一个常识,因此不需要任何建议。没有
混乱,没有大惊小怪,显示带有花哨字体的图像而不是
arialy标题。很好。

现在,我知道的方法使用display:none。规则。它阻止了显示的内容。
The way of swapping standard mark-up tags (h[1-6]) with images is a
common knowledge and as such does not need any recommendation. No
mess, no fuss, a image with fancy font is displayed instead of
"arialy" heading. Nice.

Now, methods I know uses "display:none" rule. It prevents the content
of being displayed.




愚蠢的方法,很简单:


< ; h1>< img src =" headertextgraphic.png" alt =" headertext">< / h1>


-

Spartanicus



Dumb method, it''s simple:

<h1><img src="headertextgraphic.png" alt="headertext"></h1>

--
Spartanicus


2004年4月13日星期二21:47:54 + 0100,Spartanicus写道:
On Tue, 13 Apr 2004 21:47:54 +0100, Spartanicus wrote:
愚蠢的方法,它很简单:

< h1> ;< img src =" headertextgraphic.png" alt =" headertext">< / h1>
Dumb method, it''s simple:

<h1><img src="headertextgraphic.png" alt="headertext"></h1>




Hm,这样我将视觉标签包含在结构代码中。


目前,我偏向浮动:菜单部分正确

(包含在h1右侧)。我希望它会起作用......


-

Lukasz Grabun

(回复字段是假的,使用grabek(at)acn dot waw dot pl回复)



Hm, this way I am including visual tags into structural code.

Currently, I am biased towards float:right for the menu section
(included on the right of h1). I hope it''ll work...

--
Lukasz Grabun
(reply-to field is fake, use grabek (at) acn dot waw dot pl to reply)


这篇关于H1,FIR,显示:内联?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆