I'm pretty new to ASP.NET.
I have some panels with text in them. These panels also include hyperlinks.
I created a stylesheet and the panel's CssStyle property is set to the
corresponding style.
The text appears using the expected styles. However, the hyperlinks do not.
Is there an easy way to have all the links use the same style, or do I need
to set the style of each link?
Thanks!
--
Jonathan Wood
SoftCircuits http://www.softcircuits.com
Available for consulting: http://www.softcircuits.com/jwood/resume.htm 4 1392
so you have something like
cssClass="Content"
and then
..Content
{
}
or
div.Content
{
}
or something
then you can just do
..Content a
{
}
which will apply the style to all a tags inside the .Conte
Karl
-- http://www.openmymind.net/ http://www.fuelindustries.com/
"Jonathan Wood" <jw***@softcircuits.com> wrote in message
news:%2*****************@TK2MSFTNGP15.phx.gbl... I'm pretty new to ASP.NET.
I have some panels with text in them. These panels also include hyperlinks. I created a stylesheet and the panel's CssStyle property is set to the corresponding style.
The text appears using the expected styles. However, the hyperlinks do not. Is there an easy way to have all the links use the same style, or do I need to set the style of each link?
Thanks!
-- Jonathan Wood SoftCircuits http://www.softcircuits.com Available for consulting: http://www.softcircuits.com/jwood/resume.htm
Hi Karl,
Yeah, that seems to do the job. Thanks!
A couple of questions:
+ Is there a shortcut way to have .Content a be the same as .Content without
simply copying all the settings from .Content to .Content a?
+ Also, just out of curiousity, I belive there is also a way to modify
visited, unvisited, etc. anchors as well. Do you happen to know the syntax
for that?
Thanks again.
--
Jonathan Wood
SoftCircuits http://www.softcircuits.com
Available for consulting: http://www.softcircuits.com/jwood/resume.htm
"Karl Seguin [MVP]" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME
net> wrote in message news:e%***************@TK2MSFTNGP12.phx.gbl... so you have something like
cssClass="Content"
and then
.Content { }
or
div.Content {
}
or something
then you can just do
.Content a {
}
which will apply the style to all a tags inside the .Conte
Karl -- http://www.openmymind.net/ http://www.fuelindustries.com/
"Jonathan Wood" <jw***@softcircuits.com> wrote in message news:%2*****************@TK2MSFTNGP15.phx.gbl... I'm pretty new to ASP.NET.
I have some panels with text in them. These panels also include hyperlinks. I created a stylesheet and the panel's CssStyle property is set to the corresponding style.
The text appears using the expected styles. However, the hyperlinks do not. Is there an easy way to have all the links use the same style, or do I need to set the style of each link?
Thanks!
-- Jonathan Wood SoftCircuits http://www.softcircuits.com Available for consulting: http://www.softcircuits.com/jwood/resume.htm
..Content, .Content a
{
}
a:visited
a:link
so
Content a:visited{ }
here's the CSS reference I use, by the way: http://www.blooberry.com/indexdot/css/
Karl
-- http://www.openmymind.net/
"Jonathan Wood" <jw***@softcircuits.com> wrote in message
news:eP**************@tk2msftngp13.phx.gbl... Hi Karl,
Yeah, that seems to do the job. Thanks!
A couple of questions:
+ Is there a shortcut way to have .Content a be the same as .Content without simply copying all the settings from .Content to .Content a?
+ Also, just out of curiousity, I belive there is also a way to modify visited, unvisited, etc. anchors as well. Do you happen to know the syntax for that?
Thanks again.
-- Jonathan Wood SoftCircuits http://www.softcircuits.com Available for consulting: http://www.softcircuits.com/jwood/resume.htm
"Karl Seguin [MVP]" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net> wrote in message news:e%***************@TK2MSFTNGP12.phx.gbl... so you have something like
cssClass="Content"
and then
.Content { }
or
div.Content {
}
or something
then you can just do
.Content a {
}
which will apply the style to all a tags inside the .Conte
Karl -- http://www.openmymind.net/ http://www.fuelindustries.com/
"Jonathan Wood" <jw***@softcircuits.com> wrote in message news:%2*****************@TK2MSFTNGP15.phx.gbl... I'm pretty new to ASP.NET.
I have some panels with text in them. These panels also include hyperlinks. I created a stylesheet and the panel's CssStyle property is set to the corresponding style.
The text appears using the expected styles. However, the hyperlinks do not. Is there an easy way to have all the links use the same style, or do I need to set the style of each link?
Thanks!
-- Jonathan Wood SoftCircuits http://www.softcircuits.com Available for consulting: http://www.softcircuits.com/jwood/resume.htm
Excellent. Thanks!
--
Jonathan Wood
SoftCircuits http://www.softcircuits.com
Available for consulting: http://www.softcircuits.com/jwood/resume.htm
"Karl Seguin [MVP]" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME
net> wrote in message news:eY**************@TK2MSFTNGP12.phx.gbl... .Content, .Content a { }
a:visited a:link
so Content a:visited{ }
here's the CSS reference I use, by the way: http://www.blooberry.com/indexdot/css/
Karl -- http://www.openmymind.net/ "Jonathan Wood" <jw***@softcircuits.com> wrote in message news:eP**************@tk2msftngp13.phx.gbl... Hi Karl,
Yeah, that seems to do the job. Thanks!
A couple of questions:
+ Is there a shortcut way to have .Content a be the same as .Content without simply copying all the settings from .Content to .Content a?
+ Also, just out of curiousity, I belive there is also a way to modify visited, unvisited, etc. anchors as well. Do you happen to know the syntax for that?
Thanks again.
-- Jonathan Wood SoftCircuits http://www.softcircuits.com Available for consulting: http://www.softcircuits.com/jwood/resume.htm
"Karl Seguin [MVP]" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net> wrote in message news:e%***************@TK2MSFTNGP12.phx.gbl... so you have something like
cssClass="Content"
and then
.Content { }
or
div.Content {
}
or something
then you can just do
.Content a {
}
which will apply the style to all a tags inside the .Conte
Karl -- http://www.openmymind.net/ http://www.fuelindustries.com/
"Jonathan Wood" <jw***@softcircuits.com> wrote in message news:%2*****************@TK2MSFTNGP15.phx.gbl... I'm pretty new to ASP.NET.
I have some panels with text in them. These panels also include hyperlinks. I created a stylesheet and the panel's CssStyle property is set to the corresponding style.
The text appears using the expected styles. However, the hyperlinks do not. Is there an easy way to have all the links use the same style, or do I need to set the style of each link?
Thanks!
-- Jonathan Wood SoftCircuits http://www.softcircuits.com Available for consulting: http://www.softcircuits.com/jwood/resume.htm
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Ric Castagna |
last post by:
Greetings, all...
I've got a (for me) stumper...
I need to attach what will amount to a float:right; sidebar to a
specific location on a page. Not an absolute position, mind you, but
to a...
|
by: deko |
last post by:
I use named anchors to take users to specific parts of a long page. But I
want to add some processing and do some things with my nav bar when users go
to certain sections delineated by named...
|
by: mark | r |
last post by:
i use document.getelementbyid('id').style.colour= a lot anyone know how to
set the style of the link in the following code
<li id="tab1"><a href="#">moo</a></li>
because setting the colour of...
|
by: kojim |
last post by:
Test page:
http://www.key-horse.com/linkt.html
I have a td that's styled to look something like a button, and on that
button is anchor text. So far, I can't make the entire "surface" of the...
|
by: elibol |
last post by:
Hi,
Is there an event that fires when the back or forward button on a
browser is pressed? I need an event to fire when someone clicks the
back or forward button after an anchor has been set.
...
|
by: shapper |
last post by:
Hello,
I am applying a style to a anchor tag. This anchor is created by an
ASP.NET page and is inside a list item.
I know the style is working because I applied it to the anchor in a
page that...
|
by: praveenb000 |
last post by:
Hi every one,
I designed a web page, having horizontal menu using UL and LI tags;
I need to be set rollover effect for a menu items.
whenever user hover on a menu item, the entire...
|
by: Kalpana Durairaj |
last post by:
I want to insert my image within search result anchor(say google search results).
<a href="http://www.codeproject.com">Code Project <!-- Google search result link-->
<img src="myimage.png"...
|
by: azjudd |
last post by:
Thank you in advance for your help on this one.
I'm using named anchor tags on a FAQ page with questions listed at the top and answers below; a standard jump-to feature. However, anytime an anchor...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
| |