It's because it's floated to the left. If the menu is fixed width, you can assign the ul 600 pixels, for example, and use margin: 0 auto; to center it. Other than a fixed width, there is no way to...
Type: Posts; User: Ryan Fait; Keyword(s):
It's because it's floated to the left. If the menu is fixed width, you can assign the ul 600 pixels, for example, and use margin: 0 auto; to center it. Other than a fixed width, there is no way to...
Okay, thanks!
I agree entirely, and I only use and code unobtrusive JavaScript that gracefully degrades, but for the use of a preloader... who cares?!
Yeah. That example does work in IE, though. As long as you use the hover pseudo selector on an anchor it'll always work. There are some nice htc's that will allow the :hover element to be used on...
I used image replacement on the text so it's actually a few background images, not plain text. I've been wanting to do that for a while, but it's not very practical on regular sites :)
Sorry for being so vague! Um, I don't know any tutorials on that particular subject.
Here are a few good layout sites:
http://css.maxdesign.com.au/
http://newguyinennis.com/samples/layouts/
...
Yeah, I agree to an extent. It's nice to have smooth rollovers, however. You can use the background switch method a lot of times, which is nice.
http://www.newguyinennis.com/samples/css_hover/
It's not really a script, just a bit of CSS to get a footer to stick to the bottom of the page regardless of content length. There are other alternatives out there like Blue's, but mine is just a bit...
You're looking for the CSS property, position: fixed;
You really don't have to worry about JavaScript being disabled unless your site is specifically for less computer illiterate people. Anyway, you could do this with CSS by doing something like:
...
1) CODE TITLE: Stiky Footer
2) AUTHOR NAME/NOTES: Ryan F
3) DESCRIPTION: I've just coded a CSS sticky footer that's a lot more x-browser than most out there. It's small too :)
4) URL TO...