473,513 Members | 2,275 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Bar on edge of screen

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]

Jul 20 '05 #1
11 2968
"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
Jul 20 '05 #2
"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
Jul 20 '05 #3
"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
Jul 20 '05 #4
On Wed, Jul 16, Richard Barnet inscribed on the eternal scroll:
Ha ha - the eternal jargon trick.
If you're talking about characters, in a WWW context, then I'd have to
recommend paying attention to the Unicode definitions, rather than
using regional variations.
In the Western U.S., the 'hash'
(octothorp) is most commonly called the 'pound sign' or the 'number sign',
Thank you, but I'm not unaware of that. Nevertheless, for better
communication, when referring to technical issues I do try to avoid
unnecessary Britishisms, and I'd invite you to return the courtesy.

In the Unicode table, the relevant character (#) is called 'number
sign', though I felt confident to also call it 'hash' since I think
it's fair to say that term is also generally understood. But U+00A3
(£) is 'pound sign', whether you or I like it or not.
whereas the '£' is called 'British pound'. Gotta love regionalization. =)


Which is why Unicode is making an effort to avoid such
misunderstandings.
Jul 20 '05 #5
*Richard Barnet* rb*****@csaNOSPAMreno.org:

['#']
I'd never heard the term "hash", because around here (and according
to the dictionary), 'hash' is short for hashish, [...]


#| -- so easy to remember both this way. Now guess what a "Klammeraffe" is;
hint: it's in this message body.

--
"For every human problem, there is a neat, simple solution;
and it is always wrong." H. L. Mencken
Jul 20 '05 #6
"Christoph Paeper" <cr*****@gmx.net> wrote in message
news:bf***********@ariadne.rz.tu-clausthal.de...

#| -- so easy to remember both this way. Now guess what a "Klammeraffe" is; hint: it's in this message body.


The at (@) sign.
http://german.about.com/library/blcomputD_F-L.htm

Although Alan would probably tell you that it's really the "AT, COMMERCIAL"
sign.

=)

-- Richard


Jul 20 '05 #7
Jim Dabell wrote:
Andrew Jones wrote:

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.

Which browsers have you tried? Netscape 4.x causes problems here. You also
haven't supplied a URL, which is usually the best way to get useful advice
here.


I'm trying it on Mozilla and IE6. And I've uploaded it now...
Page: http://tinyurl.com/h8br
CSS: http://tinyurl.com/h8cc
A common debugging technique is to set borders/background colours on the
relevant elements to see what's going on. [...]
What about margins of elements within the element you are considering? They
count too.
All 0px.
What about margins on any outer elements, like <html> and <body>?


I didn't think you could do that, I tried it and it worked. Thanks!
BTW, what is the difference between ids and classes?

The id uniquely identifies a single element, a class denotes the element as
being of a particular type.

id == "This element is called Britney"
class == "This is a happy element"


Right, I get it now!
--
Andrew Jones
[please remove 'spluc.' from my
email address to contact me]

Jul 20 '05 #8
"Richard Barnet" <rb*****@csaNOSPAMreno.org> wrote:
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158

whereas the '?' is called 'British pound'.


I think '?' is called 'question mark'. But it seems your newsreader
simulation has problems with MIME and special, non-ASCII characters.

--
Top posting.
What's the most irritating thing on Usenet?
Jul 20 '05 #9
"Richard Barnet" <rb*****@csaNOSPAMreno.org> wrote in message
news:bf**********@nnrp.atgi.net...
"Richard Barnet" <rb*****@csaNOSPAMreno.org> wrote in message
news:bf**********@nnrp.atgi.net...

Ooh, this one's even better:

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

=)

All right, everyone raise your hand if you have ever called this thing a
crunch, mesh, flash, pig-pen, thud, thump or splat.

Jul 20 '05 #10
"Evertjan." <ex**************@interxnl.net> wrote in message
news:Xn********************@194.109.133.29...
Steven Dilley wrote on 17 jul 2003 in
comp.infosystems.www.authoring.stylesheets:
All right, everyone raise your hand if you have ever called this thing a
crunch, mesh, flash, pig-pen, thud, thump or splat.


Damn, I am sitting here raising, flashing, thudding, crunching and
splatting my hand ...
And you are not even looking !!!!!
--
Evertjan.
The Netherlands.


I *was* looking, but you know, curvature of the earth.
Standing on a very tall chair might help.

Jul 20 '05 #11
On Thu, 17 Jul 2003 20:15:59 +0200, Andreas Prilop <nh******@rrzn-user.uni-
hannover.de> wrote:
"Richard Barnet" <rb*****@csaNOSPAMreno.org> wrote:
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158

whereas the '?' is called 'British pound'.


I think '?' is called 'question mark'. But it seems your newsreader
simulation has problems with MIME and special, non-ASCII characters.

Hmmm.... The Opera newsreader displayed the 'british pound' sign in
Richard's posting correctly. I'm not sure *whose* news reader simulation
has problems (but I don't know anything of 'User-Agent:YA-
NewsWatcher/3.1.8'-simulation, of course).

--
Lars

Jul 20 '05 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2350
by: Codeman | last post by:
Using Visual Studio .Net, I've had some success getting my window to snap to the edge of the screen when dragging, but it just isn't very clean looking. I've done all the usual searches on the Net...
2
5114
by: Steve | last post by:
Hi, I've come across what appears to be a bug in the rendering engine of internet explorer when a document is opened by showModalDialog. Basically any elements that should render to the right...
0
1530
by: Ferdi Smit | last post by:
I wrote a generic algorithm for boost.graph to merge two vertices, ie. the end-points of an edge are joined together as if they are a single vertex. I'm currently doing this by creating a new...
2
3816
by: copyco | last post by:
Does anyone have any suggestions on this? I have a form that can be collapsed into a compact size and expanded back to full size. If the user moves the compact size of the form close to the edge,...
3
1077
by: iwdu15 | last post by:
hi, i want to check each time a control, in this case a picturebox, moves to see if its top edge is = another controls bottom edge, but the problem is i dont kno what the second control will be....
3
1627
by: wavedave | last post by:
Hello everyone - I'm trying to build a .NET application (C#) in which my program acts as an add-on to another existing application, providing some additional functionality. The way I want the UI...
2
10307
by: as | last post by:
Hi folks, am a newbie in C++ world. Normally I use matlab more often. But right now I want to create a Rising Edge D Flip-Flop model which has two Digital inputs, i.e. INPUTDATA and a CLOCK. The...
3
2016
by: torweb | last post by:
I'd like to have a table at the top of my screen that's filled with a color, which will reach from end to end of the monitor, regardless of screen resolution. I'm guessing this is simple...maybe...
0
1353
by: darrenhello | last post by:
hi there, I am doing my last year's project and I have a 'little' problem. I have to do an edge detection filter. for now, some normal edge detection filters that I used worked fine but there a...
0
7265
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7547
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7114
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
5098
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4751
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3240
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3230
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1607
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
807
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.