Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

AlBDamned

macrumors 68030
Original poster
Mar 14, 2005
2,641
15
Hi guys,

Using CSS, is it possible to add a line of navigation links in between a banner and body (as below)?

I'm at the limits of my very limited html knowledge and trying to tweak a Typepad template without going into "Advanced Templates" mode.

I just want to have a range of links, such as "about" "contact" etc etc.
 

Attachments

  • Picture 2.JPEG
    Picture 2.JPEG
    98.1 KB · Views: 105
The short answer: no.

The longer answer: The idea behind CSS is that it styles a webpage. The X/HTML holds the content. Ideally the two are completely seperate, though often time people include CSS inside the X/HTML. So, when you are talking about content it will always be in the X/HTML only. When you are talking about the styling of the page it will *usually* be in the CSS only, but can also be in the X/HTML.

Navigation is content. Can't be done in CSS. (sorry)

EDIT: But I see you have access to the HTML so why not use that?

Something like this before the page body div:
Code:
<div id="navigation">
<a href="http://mylink.com/">My Link</a>
<a href="http://my_other_link.com/">My Other Link</a>
</div>
 
CSS is not the way to go to solve your problem and it can't solve your problem.

You're absolutely right.

However, I did manage to solve the problem. Had to convert the templates to advance and encounter a whole world of pain, but I'm getting there slowly.

Thanks for the replies though :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.