Reply to topic
Josh
Forum Regular

Joined: 01 Apr 2004
Posts: 1029
Location: Felton, Delaware
Reply with quote
anchor it? not familiar with that term... I want search engines to pick up on the heading as important, but the heading also needs to be clickable for functionality.
loftboy
Forum Regular

Joined: 24 Jun 2004
Posts: 1129
Location: Colorado
Reply with quote
hum, i seem to recall reading that wasnt a good idea and was actually self defeating, seems logical but the search engines actually penalized u for doing it.
but im really not exactly sure what the reason was
loftboy
Forum Regular

Joined: 24 Jun 2004
Posts: 1129
Location: Colorado
Reply with quote
maybe try this


<h2><a href="index.cfm">Current Denver Alumnae News</a></h2>
bobum
Elvis Fanatic
Elvis Fanatic

Joined: 16 Nov 2004
Posts: 746
Location: Montgomery, AL
Reply with quote
Josh wrote:
anchor it? not familiar with that term...


the <a> tag is referred to as an anchor tag
loftboy
Forum Regular

Joined: 24 Jun 2004
Posts: 1129
Location: Colorado
Reply with quote
yeah i thought u were putting it into make anchor selections on a page
bobum
Elvis Fanatic
Elvis Fanatic

Joined: 16 Nov 2004
Posts: 746
Location: Montgomery, AL
Reply with quote
loftboy wrote:
<h2><a href="index.cfm">Current Denver Alumnae News</a></h2>


I'm telling you...if you style the <h> and not the <a> it's going to pick up the browser default style for the <a> and override whatever you do for the <h>

either style the <a> or swap places with the <h><a> to <a><h>

here's an example

Code:
<h1 style="color:#cccccc;"><a href="hello.asp">Hello!</a></h1>


That should give you a blue link even though we told it to be gray.

Now try this

Code:
<a href="hello.asp"><h1 style="color:#cccccc;">Hello!</h1></a>


Bingo eh?
loftboy
Forum Regular

Joined: 24 Jun 2004
Posts: 1129
Location: Colorado
Reply with quote
whats asp? Wink

i was just guessing, personally i would just style the h tag in the css and it wouldnt be an isse
bobum
Elvis Fanatic
Elvis Fanatic

Joined: 16 Nov 2004
Posts: 746
Location: Montgomery, AL
Reply with quote
loftboy wrote:
personally i would just style the h tag in the css and it wouldnt be an issue


It would if you tried to put an anchor tag inside of the H tag...
Josh
Forum Regular

Joined: 01 Apr 2004
Posts: 1029
Location: Felton, Delaware
Reply with quote
oh yes okay... duhh... long day...

so if I go
Code:

<h2><a href="#">Attractions</a></h2>

h2 a:link {
    styles...
}


then that shouldn't carry over into the next page... that should just be for when anchors are in the h2 tag, right?
bobum
Elvis Fanatic
Elvis Fanatic

Joined: 16 Nov 2004
Posts: 746
Location: Montgomery, AL
Reply with quote
ummm...yea that looks about right - put that in a style area at the top of the page of course...
Josh
Forum Regular

Joined: 01 Apr 2004
Posts: 1029
Location: Felton, Delaware
Reply with quote
cool... my head hurts. I need to go home and play BF1942 w/ DC mod... Wink
<p> and <h> tags...
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 2 of 2  

  
  
 Reply to topic