473,609 Members | 1,831 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Query about CSS in html with links

1 New Member
I would like my a.google:visite d{} to have it kept the original colors it was assigned, is this possible as I have only seen CSS use a single color.Is there no algorithmic color scheme? Is it possible to make this link stay the same color(s) all the time? Please. :) Thanks for your time :)

Expand|Select|Wrap|Line Numbers
  1. <a href="http://www.google.com">
  2. <font face="Comic Sans MS" size="+2">
  3. <b>
  4. <font color="Blue">G</font>
  5. <font color="Red">o</font>
  6. <font color="orange">o</font>
  7. <font color="Blue">g</font>
  8. <font color="Green">l</font>
  9. <font color="Red">e</font>
  10. </b>
  11. </font>
  12. </a>
  13.  
Feb 14 '12 #1
1 1403
sreekandank
45 New Member
Use the following style rules

Expand|Select|Wrap|Line Numbers
  1. <style type="text/css">
  2.   a:link{color:blue}
  3.   a:visited{color:blue}
  4. </style>
Feb 14 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
3448
by: Richard | last post by:
I have a SVG document with links out to html pages which works when you run the SVG file i have tried to intergrate it into a coldfusion page and the links no longer work. The SVG file is : <?xml version="1.0"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> <svg width="250" height="250">
13
2894
by: NoSpamThankYouMam | last post by:
I am looking for a product that I am not sure exists. I have bookmarks to webpages in Internet Explorer, Mozilla Firefox, Opera, Netscape Navigator, and on a "Favorite Links" page on my website. Every time I add a bookmarked page, I have to do it five times. Is there a product or combination of products that will synchronize my bookmarks and generate a HTML document that I can upload to my website? I am using Windows 2000.
4
1376
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 page and green in another section of the same page. I am familiar with CSS and I know that I can use the a:link property to set one color for the _entire_ page. But I am having problems setting the link color on specific links.
7
1216
by: Aristotelis Pitaridis | last post by:
I am trying to extract all the links and the image URLs from an HTML file. I tried to read byte - byte the information in order to detect the URLs but it did not work because some JavaScript or other information in the HTML file caused problems. Is there any class which works ok with this kind of data extraction? Aristotelis
8
2148
by: leslietulip | last post by:
Greetings - this is the first time I am posting to this forum. I am using Javascript to ensure that the user enters all required fields in a form. However, this form is being spammed to death with the user or a robot filling up all fields and sending tons of html links in the text area of a comments/question box. I want to use javascript to see if there are any links in the fields and if so, not allow the form to be submitted. Does anyone...
3
1356
by: yeah1279 | last post by:
I recently changed our web pages to be utf-8 encoded (server response header content type is also set to utf-8). There are some links to external sites within the pages that pass parameters that can have special characters. Example: http://Google.com?addressLine1=Hasselvænget When the parameter gets loaded by the external site, the æ renders as æ, which is I guess the UTF-8 encoded value. I used an http request analyzer to analyze...
4
1817
by: jacc14 | last post by:
Not sure if I am in the right discussion group for this but here goes. We have a customer who sends us an invoice as a pdf attachment. In the body of the outlook email are two links. The first one you click on to tell the customer if you ACCEPT THE CHARGES, the second one you click to tell the customer if you REJECT THE CHARGES. The idea is really good and I want to copy it but dont know how it will be done. Any ideas anyone?? ...
2
1102
by: ramaswamynanda | last post by:
Hello All, I am a newbie to web development, so please help me out with this issue. html --------- <form id="Form1" method="post" runat="server"> <asp:TextBox id="txtempid" style="Z-INDEX: 101; LEFT: 256px; POSITION: absolute; TOP: 160px" runat="server" Width="184px"></asp:TextBox> <asp:Label id="Label1" style="Z-INDEX: 102; LEFT: 32px; POSITION: absolute; TOP: 152px" runat="server" Width="152px" Height="32px">Enter...
2
2922
by: kristin09 | last post by:
Hi guys, I have a windows mobile application that has html pages generated on the fly (some pages have links in them). With the new browser MSIE 6.0 the links on the pages are not read as links. Basically nothing happens when you click on them...it just creates a dotted border around the links. Has anybody experienced the same issue? My target platform is Windows Mobile 6.5, my target browser is MSIE 6.0. The links work in previous platforms...
7
7726
by: Trevor Mills | last post by:
My html file links to my external style sheet when im working in dreamweaver, but when I preview in browser, no styles. When I view in dreamweaver live mode i see the body background-color and the divs are in place. but no borders. When I preview in firefox, no styles at all. I will provide the code. Thanks, please help. html code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
0
8139
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
8091
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
8555
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
8232
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
6064
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
5524
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
2540
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
1
1686
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1403
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.