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
Pretty difficult.

"Steve Pugh" <st***@pugh.net > wrote in message
news:1q******** *************** *********@4ax.c om...
"Jon Glazer" <jg************ ***@adconn.com> wrote:
Oh, and one other simple example, there are not extranious <HEAD> tags in
the document. What it is evidently picking up is some javascript that
controls a separate window. One reason I don't trust these things.


Liar.
The page http://callandermats.adconn.com/
has

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--EzCat Styles-->
<style>
... bunch of CSS
</style>
<script src="homefade.j s"></script>
<html>
<head>

So it does have the <html> and <head> in the middle of the page.

How hard would it be to move them to where they belong?

Steve

Jul 21 '05 #11
Simple question...does it look ok? I thought so.

"Steve Pugh" <st***@pugh.net > wrote in message
news:eh******** *************** *********@4ax.c om...
"Jon Glazer" <jg************ ***@adconn.com> wrote:
Alt tags are definitely not a requirement.


Of course they're not, but only because they don't exist.
alt attributes on the other hand are mandatory.

Or is this a private page that no one on the actual WWW wil ever look
at?

Steve

Jul 21 '05 #12
On Thu, 13 Jan 2005 17:09:10 GMT, "Jon Glazer"
<jg************ ***@adconn.com> wrote:
Right. None of those issues are outstanding problems given that they do not
cause errors on any browser (and I tested 8 different ones).
You are just a bit ignorant, thats all.
Alt tags are definitely not a requirement.


You are absolutely right there since there is nothing in (X)HTML that is
called an 'Alt tag'.

--
Rex
Jul 21 '05 #13
Ignorant?

Highly doubtfull.

You need not put ALT="bla bla bla" (commonly referred as "alt tags") in
images (or img) tags.

"Jan Roland Eriksson" <jr****@newsguy .com> wrote in message
news:sc******** *************** *********@4ax.c om...
On Thu, 13 Jan 2005 17:09:10 GMT, "Jon Glazer"
<jg************ ***@adconn.com> wrote:
Right. None of those issues are outstanding problems given that they do
not
cause errors on any browser (and I tested 8 different ones).


You are just a bit ignorant, thats all.
Alt tags are definitely not a requirement.


You are absolutely right there since there is nothing in (X)HTML that is
called an 'Alt tag'.

--
Rex

Jul 21 '05 #14
"Jon Glazer" <jg************ ***@adconn.com> wrote:
"Steve Pugh" <st***@pugh.net > wrote in message
news:eh******* *************** **********@4ax. com...
"Jon Glazer" <jg************ ***@adconn.com> wrote:
Alt tags are definitely not a requirement.
Of course they're not, but only because they don't exist.
alt attributes on the other hand are mandatory.

Or is this a private page that no one on the actual WWW wil ever look
at?


Simple question...does it look ok?


http://steve.pugh.net/test/callandermats.gif
I thought so.


Yep.

Steve

Jul 21 '05 #15
Next time try it with your images turned on like the rest of the world.
"Steve Pugh" <st***@pugh.net > wrote in message
news:0q******** *************** *********@4ax.c om...
"Jon Glazer" <jg************ ***@adconn.com> wrote:
"Steve Pugh" <st***@pugh.net > wrote in message
news:eh****** *************** ***********@4ax .com...
"Jon Glazer" <jg************ ***@adconn.com> wrote:

Alt tags are definitely not a requirement.

Of course they're not, but only because they don't exist.
alt attributes on the other hand are mandatory.

Or is this a private page that no one on the actual WWW wil ever look
at?


Simple question...does it look ok?


http://steve.pugh.net/test/callandermats.gif
I thought so.


Yep.

Steve

Jul 21 '05 #16
"Jon Glazer" <jg************ ***@adconn.com> wrote:
"Steve Pugh" <st***@pugh.net > wrote:
"Jon Glazer" <jg************ ***@adconn.com> wrote:
Simple question...does it look ok?


http://steve.pugh.net/test/callandermats.gif

Next time try it with your images turned on like the rest of the world.


Is that what you tell blind visitors? Is that what you tell Google? Is
that what you tell people who want to save time and money by only
downloading the images that they think are important? Is that what you
tell people when there's a hiccup on the network and your background
image doesn't get downloaded?

Adding alt attributes and setting a background colour for your content
area is the work of minutes. Your stubborness speaks volumes about how
highly you value your visitors.

Steve

Jul 21 '05 #17
Hahhahahhah

Wow, no I don't develop web sites for blind visitors. None of my clients
even consider that as an issue since their products are almost always
visual. Google has never had an issue indexing our pages.

Black is a background color.

So yep your right, I guess I should spend lots of time dealing with issues
that might effect 0.001% of potential visitors (not).

Gotta say that my clients are very happy, some of which make millions of
dollars on their web sites without anyone saying "hey, one of our customers
cannot tell what we have to offer cuz they don't want to download graphics".
Once I get a few comments like that I may devote a bit more time
concentrating on textual sites.

Any more questions?
"Steve Pugh" <st***@pugh.net > wrote in message
news:p7******** *************** *********@4ax.c om...
"Jon Glazer" <jg************ ***@adconn.com> wrote:
"Steve Pugh" <st***@pugh.net > wrote:
"Jon Glazer" <jg************ ***@adconn.com> wrote:

Simple question...does it look ok?

http://steve.pugh.net/test/callandermats.gif

Next time try it with your images turned on like the rest of the world.


Is that what you tell blind visitors? Is that what you tell Google? Is
that what you tell people who want to save time and money by only
downloading the images that they think are important? Is that what you
tell people when there's a hiccup on the network and your background
image doesn't get downloaded?

Adding alt attributes and setting a background colour for your content
area is the work of minutes. Your stubborness speaks volumes about how
highly you value your visitors.

Steve

Jul 21 '05 #18
*Jon Glazer* <jg************ ***@adconn.com> :

Ignorant?
To such a degree, that it's almost hard to believe you're not trolling.
You need not put ALT="bla bla bla" (commonly referred as "alt tags") in
images (or img) tags.


Let me guess, you've never had an actual look at the HTML specification,
let alone the DTD(s). Guessing again, you probably don't even know where
to find it nor what a DTD is.

F'up2 poster

--
The English language is the result of Norman soldiers
trying to set up dates with Saxon barmaids.
---
A polar bear is a rectangular bear after a coordinate transform.
Jul 21 '05 #19
Yes I know what all that is. Personally I'd prefer to spend my time on
paying and working sites than to nit-pick very little irrelevant details
that do not effect the actual quality of the site nor its functionality.
"Christoph Paeper" <ch************ **@nurfuerspam. de> wrote in message
news:opskj5msfl b8p244@crissov. ..
*Jon Glazer* <jg************ ***@adconn.com> :

Ignorant?


To such a degree, that it's almost hard to believe you're not trolling.
You need not put ALT="bla bla bla" (commonly referred as "alt tags") in
images (or img) tags.


Let me guess, you've never had an actual look at the HTML specification,
let alone the DTD(s). Guessing again, you probably don't even know where
to find it nor what a DTD is.

F'up2 poster

--
The English language is the result of Norman soldiers
trying to set up dates with Saxon barmaids.
---
A polar bear is a rectangular bear after a coordinate transform.

Jul 21 '05 #20

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
9706
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
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
10076
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
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
2
3816
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.