473,385 Members | 2,243 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to define links (css?) for just one part of a html page?


I've got the following problem: on a particular HTML page I have left
the appearance of links as they are standard. Now, for one particular
table or td I want to change the links to for example not be
underlined and red. How can I do this without it affecting the
standard look of the links on the rest of the page? I'M using CSS, so
iut would be useful to code this in CSS.
Anyone have a clue?

Thanks,
Frank
Oct 19 '05 #1
2 1296
Op Wed, 19 Oct 2005 08:43:13 +0200 schreef Frank Meier
<sp******@keinspam.com>:

I've got the following problem: on a particular HTML page I have left
the appearance of links as they are standard. Now, for one particular
table or td I want to change the links to for example not be
underlined and red. How can I do this without it affecting the
standard look of the links on the rest of the page? I'M using CSS, so
iut would be useful to code this in CSS.
Anyone have a clue?

Thanks,
Frank


give the table a class like <table class="special">

then in the css

table.special a:link{
color: bla;
...}

table.special a:hover{
color: hovercolor;
bal..}

Get the drift ?
(Code type on the fly, nothing tested)

Bart

--
Bart Broersma
br*********************@tiscali.nl
(ff _ANTISPAM_ wegpoetsen uit dit adres natuurlijk)
Oct 19 '05 #2

On Wed, 19 Oct 2005, Frank Meier wrote:
I've got the following problem: on a particular HTML page I have left
the appearance of links as they are standard. Now, for one particular
table or td I want to change the links to for example not be
underlined and red. How can I do this without it affecting the
standard look of the links on the rest of the page? I'M using CSS,
Would be on-topic in the stylesheets group, if it wasn't just a RTFM
question.
Anyone have a clue?


Yeah: if you're using CSS, learn CSS.

I see that you got answers when you posted the same question in German
in dciwam. Do you *really* need two different languages to get the
elementary documentation read-out to you?

Or if you're having trouble with that, you might at least show which
part you're reading, and give some indication of what difficulties
you're having with it. That way, you might get better-targetted help.
Oct 19 '05 #3

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

Similar topics

7
by: Chris | last post by:
I'm using eight links listed horizontally as a menu on my site. I'm using font-variant:small-caps and they are padded so that they mimic buttons. My gripe is with the way IE handles the focus...
22
by: Lee K. Seitz | last post by:
What are this group's members' ideas about including W3C validator (http://validator.w3.org) graphics on web pages? Specifically, should they be on every page? I can see including an HTML/XHTML...
7
by: Jonas Smithson | last post by:
Hello all, I have an absolute positioned parent div, and nested inside it is an absolute positioned child div -- I mean the div *code* is nested inside, but the child is physically positioned so...
38
by: Ken Davies | last post by:
I'm relatively new to style sheets but I've been unable to find the answer to a - hopefully - simple question. Is it valid to use more than one <LINK REL=STYLESHEET..... in a document. Basically...
7
by: Will Hartung | last post by:
I have this: <a class="pink_link" href="faq.html#q1">Go to question 1</a> And the CSS is simply: ..pink_link {color: #fa61b7; font-weight: bold;} So, I'm curious why my links are blue and...
4
by: Paul | last post by:
Not sure if this is the right place for a CSS question but I saw some other CSS posts so here goes a pretty basic question. I want the color of an HTML link to be blue on one section of my HTML...
69
by: RC | last post by:
I know how to do this in JavaScript by window.open("newFile.html", "newTarget", "scrollbars=no,resizable=0,width=200,height=200"); The browser will open a new window size 200x200, not allow...
4
by: justabeginner | last post by:
First of all, let me say I've had very little training in html and probably know just enough to be dangerous. I designed a website for my alumni association last summer using XHTML Transitional and...
0
by: Peter Horlock | last post by:
Hi, Using css (that should be working in Firefox 2,3 and Internet Explorer 6,7 at least), I would like to create the following: My Links: Link1 +show more links <!--- This is shown when...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...

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.