Reputation: 5 Worker
- Active Members
- Active Posts:
- 63 (0.05 per day)
- 16-February 11
- Profile Views:
- Last Active:
- Jul 24 2014 05:25 AM
- OS Preference:
- Favorite Browser:
- Favorite Processor:
- Favorite Gaming Platform:
- Your Car:
- Dream Kudos:
Posts I've Made
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.
Posted 13 Mar 2013I have discovered that this is possible as I will be using JSP to interact with the database. At least it works in theory in my mind.
Posted 22 Feb 2013Could somebody please move this thread to Mobile Development? I did not see that category previously.
Posted 22 Feb 2013From what I understand, Responsive Web Design is about making your code flexible to the different medium and resolutions available (mainly pertaining to mobile phones). The trick with responsive web design is to replace fixed pixed with percentages. If you want two items side by side, rather than state each to be width: 450px each, make each width: 45% or so.
When dealing with responsive web design for mobile devices, keep in mind that you must have a User Agent detection to detect the different mobile phones that are out in the market.
Next thing to do is to set the viewport resolution and make this fixed so that your code becomes exclusive for mobile design.
If you require more information on this, I can provide more info soon; however, my time is fairly limited, but I will try my best to get back to you.
I haven't examined your code fully, but wanted to provide some info to you first because I noticed you are using fixed pixels.
Posted 6 Nov 2012I see no wait call in the code you've provided, nor do I see a reason to use one.
I'm not really sure what the problem is or why you're using file_put_contents(). You should probably be returning/echoing a value instead of storing it on a file on the server.
The wait call is hypothetical. It represents the code after file_put_contents(). I'm writing the value into a file on the server, so Ajax can access that file and update with a progress percent (read from the file) for the file upload.
- Member Title:
- D.I.C Head
- 29 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