Reputation: 5 Worker
- Active Members
- Active Posts:
- 64 (0.04 per day)
- 16-February 11
- Profile Views:
- Last Active:
- May 02 2015 10:33 PM
- OS Preference:
- Favorite Browser:
- Favorite Processor:
- Favorite Gaming Platform:
- Your Car:
- Dream Kudos:
Posts I've Made
Posted 2 May 2015I am making an image preview for my website and one major option is color. I have a transparent layer that changes the item color but instead of making a ton of different colored transparent layers I'm wondering if there is a way to make one layer that changes hue and maintains the shape of the controller and the transparency level.
Here is the image that is transparent: http://i.imgur.com/WAVfakO.png
I have no knowledge of HTML so anything anyone can share or explain will help a ton!
This may not apply to your situation, but I thought I'd throw it in as food for thought. Webkit has a CSS property that manipulates images, such as blur, grayscale, hue, etc. As indicated, the property only works for Webkit. The property is as follows:
-webkit-filter: blur(2px) grayscale(1)
Posted 16 Sep 2013Well, first why does she not want you to use classes? That's like showing on the the first day to school, in a different state, and expecting everyone to know your name. I'm assuming she doesn't want you to use classes because it interferes with something she does?
I, would tell her that in order to do the job effectively, that you want me to do I need to use classes. This, may be even more of a big thing to say to the director, because he/she is hiring you to code HTML, and in order to do it effectively you need to use classes.
I always try to code by this motto..
Code Smarter, Not Harder.
Hope this helped, good luck.
The reason for her refusing to allow classes is because the design of our websites was audited recently and the consultant mentioned how the design needs to be consistent. So, in her attempt to keep everything consistent she does not want classes to be assigned to elements. She wants each tag to have only one style throughout the entire site, so that all p, h1, h2, h3, etc. will be the same regardless and so we will only have to change one rule to affect it site-wide. I think it's a great idea, but don't think it's wise to get rid of classes altogether, but still having a hard time convincing her.Is there already a lot of existing code that uses DOM traversal instead of classes? If there is, it may not be in the best interest of the project to start changing to classes, even though it's an arguably superior method. Consistency does matter.
The absolute last thing you'd want to see would be <b> or <strong> or whatever. Hard coding display tags in content tags just isn't good, no matter what you're doing.
To be fair, though, the <strong> tag isn't really a display tag like <b> is. It's a structural tag meant to place strong emphasis on it's contents. Browsers tend to render it bold, but that's just how they choose to interpret it visually. - Same goes for <i> and <em>. The <em> tag isn't meant to indicate that things should be italic, like the <i> tag is, even though it's always rendered that way.
I do agree though that HTML style tags and attributes are to be avoided, but I don't categorize <strong> and <em> as among those tags.
- Member Title:
- D.I.C Head
- 30 years old
- October 7, 1984
Reading newspaper, online articles, blogs
Computer programming/Web Developing
Tennis, Ping Pong, Baseball
- Years Programming:
- Programming Languages:
- Click here to e-mail me