Help - Search - Members - Calendar
Full Version: CSS/HTML
Invision Power Services > Community Forums > Community Technical Chat
i am java
I need help with something. How can I make it so that my navigation links extend across the div it is in?

Doing this will provide you with what I am talking about: <a href='#'><div>test</div></a>
Mert
<a href='#'><div>test</div></a> works, yes.

A quick note, using same divs for each item would make problems while validating your CSS file. Instead of using div, use list tags and apply styles to these tags. For example:

#menu ul {}

#menu li {}
i am java
Use the code I gave you in a web page. It will make it so that if you hold your mouse on the same line (given that it's by itself and there is not <td> blocking it), but like 100 pixels away, it will allow you to click on it anyways. (Much like the topic titles found in the latest topics here: http://if.invisionfree.com/index/)
Mert
Yes, understood that and that's something I also use on my templates. But just couldn't get why you've asked while trying such a thing is easier. Is there something unintended happening with it?

Read the note on my first post BTW. Not related but useful.
i am java
Yes, applying tags would help. I know a lot of CSS, HTML, and XHTML (with a little knowledge in PHP) but I never learned how to do what I am talking about with CSS. And the way I mentioned is not HTML valid.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.