473,799 Members | 3,178 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

text decoration none and |Firefox

Doesn't seem to work as I still get an underline. Is there a reason
for this? Is this normal?
You can see examples on my site.

BB
--
www.kruse.co.uk/ se*@kruse.demon .co.uk
seo that watches the river flow...
--
Jul 21 '05 #1
6 14969
Big Bill wrote:
Doesn't seem to work as I still get an underline. Is there a reason
for this?
yes, there is no text-decoration: none; in your style sheet

A:link
{
color: #0033CC;
background-color: #F0F0F0;
font-weight: bold;
}

try:

A:link
{
color: #0033CC;
background-color: #F0F0F0;
font-weight: bold;
text-decoration: none;
}
Is this normal?
You can see examples on my site.

BB
--
www.kruse.co.uk/ se*@kruse.demon .co.uk
seo that watches the river flow...
--

Jul 21 '05 #2
Els
Big Bill wrote:
Doesn't seem to work as I still get an underline. Is there a reason
for this? Is this normal?
You can see examples on my site.


You need to set the text-decoration:none explicitly for the link
itself. If it's on all <h1> and <h2>:
h1 a:link,
h1 a:visited,
h2 a:link,
h2 a:visited{
text-decoration: none;
cursor: text;
color: Black;
}

If there are more <h1> and <h2>s but you only need this effect on
those that you set the span.b1 on, I'd suggest you take out the span,
and place the class="b1" on the <a> element instead.

a.b1:link,
a.b1:visited{
text-decoration: none;
cursor: text;
color: Black;
}

You can see btw, that the current underline is on the <a> and not on
the <span>, as the colour isn't black, but blue :-)

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Jul 21 '05 #3
On Sat, 11 Jun 2005 08:25:08 GMT, -db-
<wi************ ***********@foo .bar> wrote:
Big Bill wrote:
Doesn't seem to work as I still get an underline. Is there a reason
for this?


yes, there is no text-decoration: none; in your style sheet

A:link
{
color: #0033CC;
background-color: #F0F0F0;
font-weight: bold;
}

try:

A:link
{
color: #0033CC;
background-color: #F0F0F0;
font-weight: bold;
text-decoration: none;
}


It never occurred that no-one would not look past that to

..b1 {
text-decoration: none; cursor: text; color: Black;
}

See, some links are supposed to look like links, and the others
aren't. That's why the two look different. In IE, the ones I don't
want to look like links don't look like links, but in FF they look
like underlined with blue text.

BB

--
www.kruse.co.uk/ se*@kruse.demon .co.uk
seo that watches the river flow...
--
Jul 21 '05 #4
On Sat, 11 Jun 2005 10:27:43 +0200, Els <el*********@ti scali.nl>
wrote:
Big Bill wrote:
Doesn't seem to work as I still get an underline. Is there a reason
for this? Is this normal?
You can see examples on my site.


You need to set the text-decoration:none explicitly for the link
itself. If it's on all <h1> and <h2>:
h1 a:link,
h1 a:visited,
h2 a:link,
h2 a:visited{
text-decoration: none;
cursor: text;
color: Black;
}

If there are more <h1> and <h2>s but you only need this effect on
those that you set the span.b1 on, I'd suggest you take out the span,
and place the class="b1" on the <a> element instead.

a.b1:link,
a.b1:visited {
text-decoration: none;
cursor: text;
color: Black;
}

You can see btw, that the current underline is on the <a> and not on
the <span>, as the colour isn't black, but blue :-)


This gives me much to think on, Els, thank you.

BB
--
www.kruse.co.uk/ se*@kruse.demon .co.uk
seo that watches the river flow...
--
Jul 21 '05 #5
Big Bill wrote:
On Sat, 11 Jun 2005 08:25:08 GMT, -db-
<wi************ ***********@foo .bar> wrote:
try:

A:link
{
text-decoration: none;
}


It never occurred that no-one would not look past that to

.b1 {
text-decoration: none; cursor: text; color: Black;
}


I believe a:link has higher specificity than .b1

a.b1:link would better guarantee .b1 is applied.

--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
Jul 21 '05 #6
Els
kchayka wrote:
Big Bill wrote:
On Sat, 11 Jun 2005 08:25:08 GMT, -db-
<wi************ ***********@foo .bar> wrote:
try:

A:link { text-decoration: none; }


It never occurred that no-one would not look past that to

.b1 { text-decoration: none; cursor: text; color: Black; }


I believe a:link has higher specificity than .b1

a.b1:link would better guarantee .b1 is applied.


Only if the class 'b1' would be set on the <a> element ;-)

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Só Pra Contrariar - O Amor, Voce E Eu (Spc)
Jul 21 '05 #7

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

Similar topics

3
4506
by: Christian Roth | last post by:
What I want: <p style="text-decoration: line-through"> Stricken <span style="text-decoration: none">not stricken</span> </p> , where "Stricken " should be the only thing that is lined through. According to CSS2.1, this does not work (and all browsers I tested draw
2
2107
by: george.leithead | last post by:
Hi all, I have a very strange problem! In following Web page (which is generated from a CMS System), the navigation to the left 'dissapears' when you roll the mouse over the links? It does not do this in all browsers either. I have found it to happen in IE 7 and the latest patched IE 6. I have tried to find out the reason, but keep finding strange behaviour! You will see at the bottom of the HTML, I have a comment. If you follow...
3
4213
by: John Pote | last post by:
1. Horizontal centering a <divin browser window. The current trend seems to be to place page content in a fixed width area in the middle of the browser window. How is this achieved? If I use a top level <divthen I can place it with CSS attribute 'left:', but this is a fixed offset. Is it possible to have a <divcentered in the browser window? 2. Verticle centering in <div>
12
2618
by: tim | last post by:
I am using foldoutmenu 3 and am having problems with viewing my menus in firefox. On my sub3 menus i have more than one line of text in some places. firefox does not recognise that there is more than one line and the text simply overlaps the sub-menus below it. I thought i had got around this by placing empty 'spacers' like so; oFoldMenu.make('sub3','')//spacer unfortunately, i have just viewed the site in IExplorer and it has added...
13
31428
by: =?Utf-8?B?S2VzdGZpZWxk?= | last post by:
Hi Our company has a .Net web service that, when called via asp.net web pages across our network works 100%! The problem is that when we try and call the web service from a remote machine, one outside of our domain, we get the error.. ** Client found response content type of 'text/html; charset=Windows-1252', but expected 'text/xml' **. We can discover the web service by typing in the url of the asmx so we know the server can 'see' it...
2
16179
by: Francesco Moi | last post by:
Hi. I want to create a link within a H1 text: --- <h1><a href=foo>text</a></h1> --- And I've got (in my CSS) --- h1
7
3970
by: pbd22 | last post by:
Hi. Can somebody tell me how I would go about allowing the user to click on a link to put content in text box A and then another link to put different content in text box A and so on. Finally, when onsubmit is fired, all the content created for each individual link (using the same text box) is sent to SQL Server. How do I reuse the same text box in this manner?
2
7068
by: GloStix | last post by:
For some reason, FF likes to put a black underline on all my buttons. No matter what I do, it has the line I've tried displaying as block and cursor, anything.. Also I've been trying to get it so the entire block is clickable, not just the text. I've sorta got it so it's clickable, just some parts of the button I still can't click on. The website is http://pdhtdev.johnabbott.qc.ca/students/2010/james_mann/portfolio/index.htm The css...
0
9686
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
10475
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
10250
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...
1
10222
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7564
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
6805
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();...
1
4139
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
3757
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2938
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.