I don't even know what to call it.
I have a record row that is 100% width that shows a record. I want to add a Red Square on the right side to delete the record if I choose to offer that option. I was thinking maybe there's a way without me having to write another set of classes in which I can modify the class.
It's not entirely clear what you're asking - the CSS example you've posted completely changes the style of the same <div> element depending on whether or not it has the delete class, but that doesn't seem to match the earlier description.
Perhaps you could create a simple example in JSFiddle[^]?
Data goes here
Data goes here
Commands go here
Data goes here
I've never heard of flexbox. I decided to make a copy of the CSS file and push forward with it, while trying various ways such as min-width and max-width. And making the giant red delete button turned out much harder than expected.
I guess I should of said that I was trying to emulate the iPhone interface, in which you can delete records using the giant red button.
I'll give your idea a spin today and let you know how it works.
My customers are pushing me to create sliding rows, in which you can swipe left, and the red delete button shows.
Hello there , i finished programming my site in php i want create page or comfort with phone screen , second things is i want protect admin page when i write the url it goes to control panel i want ask for user name and pass thanks
Sir, My boss is asking to deployment Presentation Tier On one server, Business layer on second server, Data Access Layer on third server for the same application and we want to use load balancing for that application. Is is possible and will I get advantage of this concept. If it is possible, Kindly help me the method and also suggest me load balancing for the application in different servers.
Load balancing is needed when you have more than one physical computers of the same kind (the same layer on multiple tiers). For instance 2 servers with the DAL installed on it and you want to balance the load on them...
As long as you have a single layer on a single tier there is no room for load balancing... Writing a load balancing system is a fairly complicated issue and I would not advise anyone to do it as a 'side project'...
The most basic load balancing is working on the idea of hand out the incoming request equally between the servers. A possible second layer could be when the load balancer check how many request still active on each server (some request may take more time to finish) and hand out the next request to the lowest. In a more sophisticated scenario the load balancer should check the actual resource usage of a server and use that as the hand out point...
Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.
If there is a better approach, I would like to know what it is. However, we do not want to use jQuery, ASP.Net or a relational database.
You've told us what technologies you don't want to use on the server, but you've forgotten to tell us what technologies you do want to use.
If you're going to call the server to validate the credentials, you'll need some code running on the server, and somewhere to store the usernames and salted-and-hashed passwords. You need to decide what you're going to use for both of those before you can work out how feasible your solution will be.
Making an AJAX post will be no less secure than a regular form post. However, I would strongly recommend installing an SSL certificate, and only serving your site over HTTPS. You can probably get a free certificate from StartSSL[^] or Let's Encrypt[^].
NB: Don't store the passwords in plain text, even if security isn't an issue for your site. Lots of people reuse the same credentials on multiple sites, so if your site is hacked, you could be exposing their on-line banking password!