473,804 Members | 4,181 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Adding borders...

I have an anchor using a class that defines a hover subclass. The issue is
that the anchor itself doesn't have any border and when hovered it adds a
border, the problem is that when it adds the border, the text gets shifted.
Does anyone have any idea how to correct this issue? I would like to create
a transparrent or invisible border (spacer) so that there's room for the
visible border to appear when needed but I cannot seem to get it to work.
Visit http://callandermats.adconn.com/ and hover over left links to see what
I mean. The style sheet for this is:

..menu{
font-size:12px;
text-decoration:none ;
}
..menu:hover{
border-style:groove;
border-width:1;
width=100%;
}

Thanks!
Jul 21 '05
58 5932
Chris Morris wrote:

1) Download lynx
2) Run lynx
3) Load a site with alt attributes in lynx
4) Load a site without alt attributes in lynx
5) Repeat 3,4 with other sites until convinced that alt attributes
have a lot to do with cross-browser compatibility.

Optionally, use links, w3m, IBM Home Page Reader, JAWS, Opera with the
'text mode' user stylesheet etc. instead of or as well as lynx.
Seems your only arguments are the most extreme examples. But tell me the
percentage of these browsers. I guess they have much more problems with
Flash, JavaScript, Java, Frames and more than with missing ALT attributes.

But when you take these examples, I am actually wondering how you can
use CSS at, since neither the support in Mosaic nor in Netscape 4 is
very good for CSS ;).

It's not really a case of accepting rules.


But Spartanicus just mentioned that.
Alexander
Jul 21 '05 #51
Alexander Mueller <po********@127 .0.0.1> wrote:
Chris Morris wrote:

1) Download lynx
2) Run lynx
3) Load a site with alt attributes in lynx
4) Load a site without alt attributes in lynx
5) Repeat 3,4 with other sites until convinced that alt attributes
have a lot to do with cross-browser compatibility.

Optionally, use links, w3m, IBM Home Page Reader, JAWS, Opera with the
'text mode' user stylesheet etc. instead of or as well as lynx.
Seems your only arguments are the most extreme examples. But tell me the
percentage of these browsers.


Who cares? Google is a text browser.
I guess they have much more problems with
Flash, JavaScript, Java, Frames and more than with missing ALT attributes.
Which is why those items must be made accessible as well. They are all
be used in an accessible fashion by competent authors.
But when you take these examples, I am actually wondering how you can
use CSS at, since neither the support in Mosaic nor in Netscape 4 is
very good for CSS ;).


CSS is designed to be 100% optional. Browsers that don't support CSS
at all offer no problems. It's browsers that have buggy CSS support
(NN4, IE6, etc.) that cause problems.

Steve

Jul 21 '05 #52
Alexander Mueller <po********@127 .0.0.1> writes:
Chris Morris wrote:
1) Download lynx
2) Run lynx
3) Load a site with alt attributes in lynx
4) Load a site without alt attributes in lynx
5) Repeat 3,4 with other sites until convinced that alt attributes
have a lot to do with cross-browser compatibility.
Optionally, use links, w3m, IBM Home Page Reader, JAWS, Opera with
the
'text mode' user stylesheet etc. instead of or as well as lynx.
Seems your only arguments are the most extreme examples.


Well, to an extent. The average IE user will never see an alt
attribute and won't care. But given the size of the web-using
population, 2-3% is a large number.
But tell me the percentage of these browsers. I guess they have much
more problems with Flash, JavaScript, Java, Frames and more than
with missing ALT attributes.
Detecting the percentage of images-off browsers is very tricky. The
1px GIF method of site logging used by
example.freesit ewebstatisticsc ounter.com obviously says 0%, but that's
provably wrong. Web server logs are also inaccurate, of course, for
equally well-known reasons.

For what it's worth, of the page requests in the month to date on a
general-audience web server, assuming [1] complete honesty in UA
strings, I would say about 40% of the hits came from UAs without image
support (mostly search engine robots) but there's also around 1% from
_known_ interactive non-image UAs.

[1] Home Page Reader and JAWS tend to identify themselves as IE, due
to the way they use IE to retrieve and view pages. So it's completely
impossible to find out how many people use those.
But when you take these examples, I am actually wondering how you can
use CSS at, since neither the support in Mosaic nor in Netscape 4 is
very good for CSS ;).


Of course. The only thing for which display is guaranteed on the web
is text. Everything else (images, CSS, javascript, graphical design,
etc) can be added for the benefit of the majority with supporting
browsers and due to the design of HTML can be added in such a way that
it doesn't harm the minority with non-supporting browsers.

--
Chris
Jul 21 '05 #53
Chris Morris <c.********@dur ham.ac.uk> wrote:
[1] Home Page Reader and JAWS tend to identify themselves as IE, due
to the way they use IE to retrieve and view pages. So it's completely
impossible to find out how many people use those.


They aren't the only ones. The KeyWeb browser included on the BrailleNote
computers (voice and braille output only) identifies itself as some version
of MSIE with no indication that it might be anything else. Too many stupid
web sites exclude "unsupporte d" browsers for minority browsers to identify
themselves honestly. Even MSIE masquerades as an obsolete version of NN.
--
Darin McGrew, mc****@stanford alumni.org, http://www.rahul.net/mcgrew/
Web Design Group, da***@htmlhelp. com, http://www.HTMLHelp.com/

"Red meat isn't bad for you. Fuzzy blue-green meat is bad for you."
Jul 21 '05 #54
Alexander Mueller wrote:
Thats perfectly okay. You can give Jon your advice and suggest to
implements those tag (AND elements AND attributes ;)) but cant insult
him nor force him to do that. After all its HIS work, HIS time, HIS
money and of course HIS decision.


Irrespective of whether anyone has to date been insulted or merely
described, your statements are incorrect. Of course posters can insult
posters, this is Usenet. Why else is there a long & in most respects
pointless thread running here?

Eventually people will get bored & go away to do something more
productive & hopefully involving less anger & frustration. The OP is
unlikely to get much further help. Other people will. That's how it is.
Works for me, most of the time.

Bye bye.

--
Michael
m r o z a t u k g a t e w a y d o t n e t
Jul 21 '05 #55
Chris Morris wrote:
In certain jurisdictions (countries without functional government,
say) it's legal to make a website that kills users.


If you know how to do this, please tell. Preferably along with a good
solution to browser sniffing & info on hacking a frequently used site
such as Google. I have a cunning plan...

--
Michael
m r o z a t u k g a t e w a y d o t n e t
Jul 21 '05 #56
Michael Rozdoba <mr**@nowhere.i nvalid> writes:
Chris Morris wrote:
In certain jurisdictions (countries without functional government,
say) it's legal to make a website that kills users.


If you know how to do this, please tell. Preferably along with a good
solution to browser sniffing & info on hacking a frequently used site
such as Google. I have a cunning plan...


I'm afraid implementation of this step is classified, but I can reveal
that it involves the <marquee> and <blink> elements, or equivalent
functionality. Be careful not to look at the page after you've
written it.

--
Chris
Jul 21 '05 #57
On Fri, 14 Jan 2005, Michael Rozdoba wrote:
Chris Morris wrote:
In certain jurisdictions (countries without functional government,
say) it's legal to make a website that kills users.


If you know how to do this, please tell. Preferably along with a
good solution to browser sniffing & info on hacking a frequently
used site such as Google. I have a cunning plan...


Google finds the full story (albeit with typos) at
http://www.pion.ch/Fun/funniest.html

SCNR
Jul 21 '05 #58
dan

Alexander Mueller wrote:
Jon asked for a missing border. This was already answered by your first reply. He did not ask for "nice" advices whether ALT is required or not. The following posts are just zealotting behaviour.


He did, however, make some laughable assertions, such as that his site
was "perfectly valid", which basically invited responses showing that
it wasn't.

--
Dan

Jul 21 '05 #59

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

Similar topics

2
3466
by: Hostile17 | last post by:
I've been trying to figure out a good way to make a CSS layout with nice-looking 1-pixel borders around the table cells. The only broadly compatible way to do this I know of is to have * the border of the table set to zero * the cellspacing of the table set to one * the background color set to black * the table cell background color set to white
2
2420
by: Haines Brown | last post by:
This may seem a pointless question, but I'm trying work around an inconsistency between browsers. I have a template that contains a division that holds a text that sometimes exists and sometimes not. I use top and bottom borders to separate this material from its environment: .header { font-size: smaller; border-bottom: solid black thin;
1
2725
by: Melissa | last post by:
A form in my database has multiple subforms. If any subform has no data, the borders of the subform still display on screen and also are printed if I print the main form. Reports are different. If a subreport has no data, the borders of the subreport do not appear in Print View nor do they print with the report. I need the borders to print whether the subreport has data or not. Is there any way to get the subreport borders to print when a...
1
1744
by: Melissa | last post by:
Sorry if this becomes a repeat! I am having trouble with my newsreader and don't know if this got posted yeserday or not or if anyone responded. A form in my database has multiple subforms. If any subform has no data, the borders of the subform still display on screen and also are printed if I print the main form. Reports are different. If a subreport has no data, the borders of the subreport do not appear in Print View nor do they print...
3
3725
by: grlgeek | last post by:
I have a report for creating the switchboard labels for our phone system receptionist switchboard. The template has 12 records per column. I setup a report that will create the labels and put a dotted line around them so the receptionist can easily cut them out. The report is setup with columns so that 6 columns fit across a page. 12 records per column, 6 columns across a page, each record has a dotted line around the box. The...
1
5849
by: Glen Vermeylen | last post by:
Hi, For a project at school we have to automate the assignment of seats in classrooms to students during the exams. The lady who previously did everything manually kept the layouts of the classrooms in an excel-document: 1 sheet per classroom, and she marked the cells which represent the seats with a border. The problem however is that she sometimes merged cells together to get a better layout.
7
9702
by: steve | last post by:
Hi All I urgently need help on setting datagridview cell borders at runtime I found some code on the web from Programming Smart Client Data Applications with .NET 2.0 by Brian Noyes See below This is what I have been trying to achieve, but when I run it ALL the cell
9
2933
by: Michael Redbourn | last post by:
Hi, I just switched from FP to DW and am very very happy ! So whilst I'm mastering Dreamweaver (gonna be a while yet :-) - I thought that I'd try and find out how to add borders for browers like Firefox which don't support them. Not sure if I've explained the above well but my borders display in IE but not in Firefox.
2
30968
by: nicstel | last post by:
Hello, I'm trying to find documentation about the xlwt (py_excelerator). I want to change the border of some cells. But the only types that I found is: double and dashed. How to do a simple line and what is the all other border type name? "borders: top double, bottom double, left double, right double;" Thank You Nicolas
0
9579
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10575
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10330
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9144
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7616
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6851
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5520
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4297
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 we have to send another system

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.