Jump to content

What do you think?


justinh

Recommended Posts

  • Aside from html validation, consider css validation as well.
  • No offense, but that background is an eyesore. Perhaps one larger smooth gradient or something?
  • I would consider injecting some more colour into there somehow, as it purely monochromatic.
  • I would also consider adding a footer of some sort.
  • I'm personally not a fan of the look you gave the menu. I find those dual borders distracting personally. I would think about a single divider between buttons (that don't stick out beyond the div the menu sits in.
  • I noticed you are using javascript for your right panel roll over (I am also currently guilty of using javascript for rollovers, but I'll rectify this in my next site iteration). You can instead use css sprites instead, and have css hover rules that switch the section of the image in question instead.

 

 

Link to comment
Share on other sites

  • Aside from html validation, consider css validation as well.
  • No offense, but that background is an eyesore. Perhaps one larger smooth gradient or something?
  • I would consider injecting some more colour into there somehow, as it purely monochromatic.
  • I would also consider adding a footer of some sort.
  • I'm personally not a fan of the look you gave the menu. I find those dual borders distracting personally. I would think about a single divider between buttons (that don't stick out beyond the div the menu sits in.
  • I noticed you are using javascript for your right panel roll over (I am also currently guilty of using javascript for rollovers, but I'll rectify this in my next site iteration). You can instead use css sprites instead, and have css hover rules that switch the section of the image in question instead.

 

If you use CSS to do your hover stuff, there's a high chance that IE won't support it. Javascript works in all javascript enabled browsers. Surely javascript is the better option? :)

Link to comment
Share on other sites

If you use CSS to do your hover stuff, there's a high chance that IE won't support it. Javascript works in all javascript enabled browsers. Surely javascript is the better option? :)

As far as I know, IE supports a:hover, but not :hover on any other kind of tag. So it would not be problematic.

Link to comment
Share on other sites

If you use CSS to do your hover stuff, there's a high chance that IE won't support it. Javascript works in all javascript enabled browsers. Surely javascript is the better option? :)

 

I think it largely depends on how it's done.

Consider this quick example I whipped up. It is a CSS sprite image that relys on pure CSS hovering for rollover effects (I embedded the CSS to show how it works [as a rule, I put stylesheet rules into a separate .css file, but included it in this html file for convenience's sake]). It works in IE 7 (don't have IE 8 installed to test it on that). You can right-click and view sorce to see how it all works. The one crux here is if there is no href attribute within the a tag, that will break the hover effect in IE 7. But since rollovers are typically links anyways, I think the lack of the href attribute is [more or less] a moot point.

 

Can't speak for IE 6, as I don't develop for it anymore.

 

The other additional advantage of using CSS as a rollover effect over using javascript is that even if the end user has their javascript disabled, the hover / rollover effect will still work. Perhaps one downside to all this is that the speed of CSS execution may be dependent on which browser you're using. Some might render those css changes faster than others.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.