-
Absolute positioning compatibility issues
Hello all, I was hoping somebody here might have a solution to a small issue on my website (Link). If you're using the latest Firefox, you can see that the hover links at the top are aligned perfectly. But in Internet Explorer 8 they are a bit offset. Nothing too major but I'd like them to be the same on both of the newest versions of the browsers. I'm only shooting for compatibility with the most recent IE and Firefox, so other browsers really aren't a point of concern. At first I wanted to just set them within the table, which would have aligned them perfectly on any browser. But apparently the hover link method I wanted to use MUST use absolute positioning to place the DIV, which is where I think the problem occurs. Any alternatives or solution suggestions would be greatly appreciated. Thanks.
-
Menu resizing...
Can anyone help with this? Still haven't resolved this problem.
-
Menu resizing...
Hi, I've been working on a website in Adobe DW CS3, and keep having a problem with the table for my navigation menu resizing whenever the window is resized. The menu itself doesn't resize but the table behind it does and so the background becomes wider than the actual menu. I'd like it to remain the same width even when the window is resized or when viewing on widescreen resolutions. Can anybody tell me what tag/code is causing this and how to fix? I've included the index.html as well as a pic showing my problem below. Thank you in advance for the support! Screenshot Examples: http://img193.imageshack.us/img193/1412/goodb.gif http://img193.imageshack.us/img193/4421/bad.gif index.html
-
Showtime.
Thanks for the warm welcome, guys.
-
CSS Rollover Image
link: clicky (it's the menu at the top) full code: <style type="text/css"> #headerlinks ul { width: 675px; height: 60px; position: absolute; top: 30px; left: 200px; background: url(http://www.eteamz.com/EOVBAA/images/vistahoverlinks.jpg) no-repeat 0 0; list-style: none; margin: 0; padding: 0; } #headerlinks li { display: inline; } #headerlinks li a:link, #headerlinks li a:visited { border: none; width: 225px; height: 60px; display: block; position: absolute; top: 0; outline: none; } #headerlinks li.news a:link, #headerlinks li.news a:visited { left: 0; } #headerlinks li.photos a:link, #headerlinks li.photos a:visited { left: 225px; } #headerlinks li.events a:link, #headerlinks li.events a:visited { left: 450px; } #headerlinks li.news a:hover { background: url(http://www.eteamz.com/EOVBAA/images/vistahoverlinks.jpg) no-repeat 0 -60px; } #headerlinks li.photos a:hover { background: url(http://www.eteamz.com/EOVBAA/images/vistahoverlinks.jpg) no-repeat -225px -60px; } #headerlinks li.events a:hover { background: url(http://www.eteamz.com/EOVBAA/images/vistahoverlinks.jpg) no-repeat -450px -60px; }</style> <div id="headerlinks"> <ul> <li class="news"><a href="http://eovbaa.com/news"></a></li> <li class="photos"><a href="http://eovbaa.com/photos"></a></li> <li class="events"><a href="http://eovbaa.com/events"></a></li> </ul> </div> The CSS loads along with the "Welcome" message section. Also if it makes any difference I'm trying to optimize for IE since that is what's most widely used by people who will visit the site.
-
CSS Rollover Image
One last question, how would I center a horizontal rollover menu on any page? I tried using this: position: absolute; left: 50%; margin-left: -325px but it always ends up moving my menu all the way to the right, no matter what margin-left is. This method for centering worked before I changed it to a rollover menu (used div tags and three image links before), anybody have an idea what the problem is?
-
CSS Rollover Image
Yes it's always cool to learn new things like this. Glad this forum offers this kind of help for people like me.
-
CSS Rollover Image
Great news! I got it to work on my browser to perfection! There was a vertical version posted in that thread I didn't see, thanks for the help everyone.
-
TUTORIAL: CSS image rollover - horizontal navigation
EDIT: nevermind, solved own problem. Very useful tutorial!
-
CSS Rollover Image
Alright thanks guys I'll see if this works.
-
CSS Rollover Image
That is a horizontally-oriented menu though; I'm trying to do it with a vertical one. Any tutorial for that?
-
CSS Rollover Image
Hello, I'm trying to set up a rollover-image navigation menu on my website using CSS, but only using a single image for the entire menu. It's a vertically-oriented menu that is 15 links long. I've already made the image for it (attached); I have placed the rollover images to the right of the normal images. The menu is 180px wide, 480px tall (so each link is 180x32). Is it possible to use CSS to move only a certain part of the image over when you scroll over the link to make this type of menu work? Or will I need to create 15 separate images? I was just thinking it'd be terrible to have to load 15 images when I could make it one, if that's possible. Thanks, Showtime
-
Showtime.
Hey everybody, was just google-ing for an answer to a CSS question I had and pulled this site up, so I decided to register. I'm fairly new at web design, though I've been doing graphics for a couple years now. Hopefully I can learn a few things around here and I'll probably just be popping in and out, but my main goal of joining is to become a better web designer. Showtime