PDA

Click to See Complete Forum and Search --> : same page links


Emmanize
11-25-2006, 04:50 PM
I am using same page links

<a name="chapter1"></a>

However because my a:link is set to bold its making all my <p></p> tags bold in IE. How do I un bold them>

chris_bcn
11-25-2006, 05:23 PM
there must be an error in your code.

why not just give the element you want to jump to and id, and then <a href="#idofelement>Go to element</a>

then you have no superflous markup

Emmanize
11-25-2006, 05:39 PM
Would you be able to explain it more? As I didn’t know how to do these links anyway, so I just googled it and got the link from a website. Rather then have someone just reply on here with “Google” lol

tZ
11-25-2006, 07:42 PM
Wouldn't just getting more specific do the trick?

In stead of using a: link use something like #wrapper #body #left_content p a:link.

This way your only targeting the style for that individual object rather then everything on the page.

Emmanize
11-25-2006, 07:49 PM
There is a reason why I want links for the same page otherwise I wouldn't bother. It’s for information in my business and it’s rather long with headers for each section. So I put some links at the top linking down to each section. A lot of portfolios use this technique. Its just what id prefear to use rather then opening other windows.

EC
11-25-2006, 09:55 PM
nobody's arguing that. there's a problem in your CSS. hard to tell you exactly how to fix it without seeing your code.

chris_bcn
11-26-2006, 12:51 AM
<a href=#gohere>Go to a point in the page</a>

<div id="wrapper">
<h2 id="gohere">This is an internal link landing point</h2>
</div>

Try that