屏幕边缘的酒吧 [英] Bar on edge of screen

查看:62
本文介绍了屏幕边缘的酒吧的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

另一个问题! :)


我正试图在页面边缘左边创建一个导航栏,但我的意思是*对*开页面的边缘。


''margin-left:0px;''似乎无法工作,它留下了2个像素的间隙

。页面边缘和侧面之间。


感谢您的帮助...


BTW,ids之间有什么区别和班级?

-

Andrew Jones

[请从我的

删除''spluc。''电子邮件地址与我联系]

解决方案

" Andrew Jones" <一个********** @ spluc.lineone.net>在消息中写道

新闻:bf ********** @ hercules.btinternet.com ...


BTW,什么是ids和类之间的区别?




CLASSes可以在文档中反复使用。一个ID只能使用一次。
一次。此外,ID优先于CLASS的优先级更高(

级联公式中的权重)。


在CSS中声明ID时,请使用井号(div #nav {...})。当

宣布上课时,请使用句号(div.nav {...})。


- Richard


" Alan J. Flavell" < FL ***** @ mail.cern.ch>在留言中写道

新闻:Pi ******************************* @ lxplus017.c ern .CH ... 于星期三,7月16日,理查德巴尼刻在永恒滚动:
当声明在CSS的ID,使用井号



使用井号。英镑符号(£)是另一回事。

(div#nav {...})。



相当。

对于octothorp(e)的任何人?




哈哈 - 永恒的行话技巧。在美国西部,''哈希''

(octothorp)最常被称为''英镑符号''或''数字符号'',

而''''被称为''英镑''。一定要喜欢区域化。 =)

http:// mw。 com / cgi-bin / dictionary?va = octothorp

http://mw.com/cgi-bin/dictionary?bo...&va=pound+sign

http://dictionary.reference.com/search?q=pound% 20sign


- Richard


" Richard Barnet" < RB ***** @ csaNOSPAMreno.org>在留言中写道

新闻:bf ********** @ nnrp.atgi.net ...


哈哈 - 永恒行话把戏。在美国西部,哈希(octothorp)最常被称为英镑符号或数字符号,而英镑则是被称为英镑。一定要喜欢区域化。
=)
HTTP://兆瓦。 com / cgi-bin / dictionary?va = octothorp

http://mw.com/cgi-bin/dictionary?bo...&va=pound+sign

http://dictionary.reference.com/search?q=pound% 20sign




哦,这个更好:

http://dictionary.reference.com/sear...sh%20character


=)


- Richard


Another problem! :)

I''m trying to make a navigation bar with the left edge on the edge of
the page - but I mean *right* on the edge of the page.

''margin-left: 0px;'' doesn''t seem to work, it leaves a 2+ pixel gap
between the edge and the side of the page.

Thanks for any help...

BTW, what is the difference between ids and classes?
--
Andrew Jones
[please remove ''spluc.'' from my
email address to contact me]

解决方案

"Andrew Jones" <an**********@spluc.lineone.net> wrote in message
news:bf**********@hercules.btinternet.com...


BTW, what is the difference between ids and classes?



CLASSes can be used over and over again within a document. An ID can only
be used once. Also, IDs have higher precedence (more weight in the
cascading formula) over CLASSes.

When declaring an ID in CSS, use the pound sign (div#nav {... }). When
declaring a class, use a period (div.nav {...}).

-- Richard


"Alan J. Flavell" <fl*****@mail.cern.ch> wrote in message
news:Pi*******************************@lxplus017.c ern.ch...

On Wed, Jul 16, Richard Barnet inscribed on the eternal scroll:

When declaring an ID in CSS, use the pound sign



Use the hash sign. The pound sign (£) is something else.

(div#nav {... }).



Quite.

Anyone for an octothorp(e)?



Ha ha - the eternal jargon trick. In the Western U.S., the ''hash''
(octothorp) is most commonly called the ''pound sign'' or the ''number sign'',
whereas the ''£'' is called ''British pound''. Gotta love regionalization. =)

http://m-w.com/cgi-bin/dictionary?va=octothorp

http://m-w.com/cgi-bin/dictionary?bo...&va=pound+sign

http://dictionary.reference.com/search?q=pound%20sign

-- Richard


"Richard Barnet" <rb*****@csaNOSPAMreno.org> wrote in message
news:bf**********@nnrp.atgi.net...


Ha ha - the eternal jargon trick. In the Western U.S., the ''hash''
(octothorp) is most commonly called the ''pound sign'' or the ''number sign'',
whereas the ''£'' is called ''British pound''. Gotta love regionalization. =)
http://m-w.com/cgi-bin/dictionary?va=octothorp

http://m-w.com/cgi-bin/dictionary?bo...&va=pound+sign

http://dictionary.reference.com/search?q=pound%20sign



Ooh, this one''s even better:

http://dictionary.reference.com/sear...sh%20character

=)

-- Richard


这篇关于屏幕边缘的酒吧的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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