带下划线的链接 [英] Underlined links

查看:105
本文介绍了带下划线的链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无论如何都要控制链接的下划线?我知道如何摆脱他们b $ b他们但我的似乎太接近字体的底部。

行正在触摸字体。在其他网站上情况并非如此。


我担心的是这只发生在Windows浏览器上。

看起来很正常/在我的Mac IE 5.1上更正。


该页面是我第一次深入CSS,所以它可能是我做过的事情

错了。


这是正在建设中的页面:

http://aem.cornell.edu/business_site...rs/c_index.htm


谢谢


Steve

Is there anyway to control the underline on links? I know how to get rid
of them but mine seem to be too close to the bottom of the font. The
line is touching the font. On other sites this is not the case.

The thing I''m worried about is this only happens on a Windows browser.
It looks normal/correct on my mac IE 5.1.

The page is my first dive into CSS, so it might be something I''ve done
wrong there.

Here is the page under construction:

http://aem.cornell.edu/business_site...rs/c_index.htm

Thanks

Steve

推荐答案

Steve K< sm *** @ cornell.edu>写道:
Steve K <sm***@cornell.edu> wrote:
无论如何控制链接下划线?


幸运的是,大多数浏览器都会向用户提供这样的控制权。

我知道如何摆脱它们


也许,也许不是。

但我的似乎太接近字体的底部了。


下划线的位置由浏览器决定。

计划在CSS 3中为CSS添加属性,但这只是

起草并且不会在WWW上变成有用的东西一些

年。

这条线正在接触字体。


这取决于字体和浏览器。
http://aem.cornell.edu/business_site...rs/c_index.htm
Is there anyway to control the underline on links?
Luckily most browsers give such a control to users.
I know how to get rid of them
Maybe, maybe not.
but mine seem to be too close to the bottom of the font.
The position of the underline is determined by the browser. There are
plans to add properties to CSS for this in CSS 3, but that''s just
drafting and won''t turn into anything useful on the WWW for a few
years.
The line is touching the font.
This depends on the font, and on the browser.
http://aem.cornell.edu/business_site...rs/c_index.htm




完整性检查:我尝试使用IE的字体大小按钮增加字体大小。

它失败了。因此,页面(CSS)失败了。我建议你

开始处理这个真正的问题。常见问题解答是一个很好的起点。

别忘了使用CSS检查器来检测你现在拥有的语法错误。


-

Yucca, http://www.cs.tut.fi/~jkorpela/


在文章< Xn *********** *****************@193.229.0.31> ;,Jukka K.

Korpela < JK ****** @ cs.tut.fi>写道:

谢谢,我真的很接近整个网站的旧方式,简单

旧的HTML。我对CSS很陌生,我越了解它,我就越了解它有多少。现在我已经过了头。

In article <Xn****************************@193.229.0.31>, "Jukka K.
Korpela" <jk******@cs.tut.fi> wrote:
Thanks, I''m real close to just doing the whole site the old way, plain
old html. I''m quite new to CSS and the more I learn about it the more I
realize how much there is to it. Right now I''m in over my head.

Steve K< sm *** @ cornell.edu>写道:
Steve K <sm***@cornell.edu> wrote:
有没有控制链接下划线?
Is there anyway to control the underline on links?



幸运的是大多数浏览器都给用户这样的控制。



Luckily most browsers give such a control to users.

我知道如何摆脱它们



也许,也许不是。



Maybe, maybe not.

但我的似乎是太靠近字体的底部。
but mine seem to be too close to the bottom of the font.



下划线的位置由浏览器决定。有计划在CSS 3中为CSS添加属性,但这只是
起草,并且在WWW上几年内不会变成有用的东西。



The position of the underline is determined by the browser. There are
plans to add properties to CSS for this in CSS 3, but that''s just
drafting and won''t turn into anything useful on the WWW for a few
years.

该行正在触摸字体。



这取决于字体和浏览器。



This depends on the font, and on the browser.

http://aem.cornell.edu/business_site。 ..rs / c_index.htm



完整性检查:我尝试使用IE的字体大小按钮增加字体大小。
它失败了。因此,页面(CSS)失败了。我建议你开始处理这个真正的问题。常见问题是一个很好的起点。
不要忘记使用CSS检查器来检测你现在拥有的语法错误。



Sanity check: I try to increase font size using IE''s Font Size button.
It fails. Ergo, the page (the CSS) fails. I would suggest that you
start working with this real problem. The FAQ is a good starting place.
Don''t forget to use a CSS checker to detect the syntax errors that you
now have.



2003年10月23日星期四12:01:52 -0400,Steve K写道:
On Thu, 23 Oct 2003 12:01:52 -0400, Steve K wrote:
无论如何都要控制链接的下划线?我知道如何摆脱它们但我的似乎太靠近字体的底部了。
行正在触摸字体。在其他网站上情况并非如此。

我担心的是这只发生在Windows浏览器上。
在我的Mac IE 5.1上看起来正常/正确。<这个页面是我第一次深入CSS,所以它可能是我做错了。

这是正在构建的页面:

http://aem.cornell.edu/ business_site ... rs / c_index.htm
Is there anyway to control the underline on links? I know how to get rid
of them but mine seem to be too close to the bottom of the font. The
line is touching the font. On other sites this is not the case.

The thing I''m worried about is this only happens on a Windows browser.
It looks normal/correct on my mac IE 5.1.

The page is my first dive into CSS, so it might be something I''ve done
wrong there.

Here is the page under construction:

http://aem.cornell.edu/business_site...rs/c_index.htm




几件事:

a:hover {text-decoration:none;颜色:cc0000;}

应该是

a:hover {text-decoration:none;颜色:#cc0000;}


..floatleft {float:left;保证金:0 10px 5px 0; }

应该是

..floatleft {float:left;保证金:0px 10px 5px 0px; }

(如果我们迂腐)


..floatquest {float:left;保证金:2px 9px 2px 2px; align =" absmiddle"}

align =" absmiddle"不是CSS。


字体大小:7pt; line-height:14pt;

你会更好,更好用

font-size:100%; line-height:100%(或者根本没有指定行高)


比例字体大小更好(pt size不能缩放)。我确定

某处有一个FAQ ...有人会告诉我们它在哪里。相同的

用于边距 - 使用ex测量值(1ex = x的高度)表示

页面正确缩放。


你错过了;大写之后。


我会留下HTML,因为这是CSS组。


从视觉上看,页面看起来有点蛮力。这是因为你指定的行高

,你最好不要这样做。


''搜索''和''主题''看起来有点不合适,因为它们是图像而且

该菜单的其余部分是文字。考虑让它们成为文本。


< pedantic stuff>

你跟破折号不一致:

top - 公司

初创公司 - 职业生涯

可能 - 甚至

< / ps>

想知道......和Willian D Perez ......段落有重叠

文本因为行高太小了。这可能是因为我没有
有Verdana。


我认为公司的表格字体太小了。


抱歉迂腐,但那只是我:-)

简而言之:

*删除所有行高位

*不要用pt设置字体大小。使用em,ex或%。


这可能会有很大的改进。


HTH,HAND :-)


-

Matt

----- =通过Newsfeeds.Com发布,未经审查的Usenet新闻= -----
http://www.newsfeeds.com - 世界排名第一的新闻组服务!

----- ==超过100,000个新闻组 - 19个不同的服务器! = -----



Few things:
a:hover {text-decoration:none; color:cc0000;}
should be
a:hover {text-decoration:none; color: #cc0000;}

..floatleft { float: left; margin: 0 10px 5px 0; }
should be
..floatleft { float: left; margin: 0px 10px 5px 0px; }
(if we''re being pedantic)

..floatquest { float: left; margin: 2px 9px 2px 2px; align="absmiddle"}
align="absmiddle" isn''t CSS.

font size: 7pt; line-height: 14pt;
you''d be much, much better to use
font-size: 100%; line-height: 100% (or not specify line-height at all)

Proportional font sizes scale much better (pt sizes don''t scale). I''m sure
there''s an FAQ somewhere... someone will tell us where it is. The same
goes for the margins - using ex measurements (1ex = height of an x) means
the page scales properly.

You''re missing an ; after uppercase.

I''ll leave the HTML as this is the CSS group.

Visually, the page looks a bit crampt. This is because of the line-height
you specified, you''re best to leave this out.

''Search'' and ''Topics'' look a bit out of place, because they''re images and
the rest of that menu is text. Consider making them text, too.

<pedantic stuff>
You''re inconsistent with the dashes:
top--firms
start-ups -- for careers
possible--even
</ps>

"Want to know..." and "Willian D Perez..." paragraphs have overlapping
text because the line-height it too small. This might be because I don''t
have Verdana.

I think the table of companies has a too small font.

Sorry to be pedantic, but that''s just me :-)
In brief:
* remove all the line-height bits
* Don''t set font sizes with pt. Use em, ex or %.

That will probably make a big improvement.

HTH, HAND :-)

--
Matt
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----


这篇关于带下划线的链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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