|
Not being "well established with the Norton Community" may be perceived as a promise of quality, imho
"Five fruits and vegetables a day? What a joke!
Personally, after the third watermelon, I'm full."
|
|
|
|
|
Hours of googling and endless articles is what i've gone trough, but still haven't found a direct answer.
What makes CSS Reusable? Or what is considered Reusable CSS?
As I understand it has something to do with class names, i.e - images images-footer, heading-heading-first etc.
Can anyone explain please?
|
|
|
|
|
Basically answering my own question, so that this maybe helps others that came across this.
So after doing more research, I found out that by reusable CSS:
"There are some significant shortcomings that makes CSS difficult for reusability, modularity, and maintainability. Features like nested selectors can be tempting to use but lead to brittle, difficult to maintain code that doesn’t stand up well to changes in the HTML. There also isn’t a single standard to use when making organization decisions for your CSS. However there are some methodologies that are commonly used to organize CSS at scale.
1. BEM
2. SMACSS
3. OOCS"
This article explains it: - https://medium.com/@afrench53198/reusable-maintainable-and-modular-css-b0ffedf1c208[^]
|
|
|
|
|
I have 4 div boxes and each div box has elements inside them, which are h1 headings, p paragraphs and buttons.
All 4 div boxes are centered in the middle of the page by using:
position: relative;
After that I have added:
Top:
Left: positions to position Divs.
My question is do all other elements inside the page, that are inside those Div boxes also need Position: Relative | Left: | Top:
Or should I just position them by using margin-top/left, padding-top/left?
Of course both methods will work, but what is the best practice?
Also, Do all elements need the:
Display: block; | inline | Inline block
Attributes ? Or is it fine to position them without these elements?
|
|
|
|
|
|
What's the consensus on the security of using a webservice (asmx) for general database entry? Secure, not secure, better than using .NET SQLDatasource? Interested in feedback and if there's anything better that I can use.
|
|
|
|
|
I really have not heard of anything bad about SqlDataSource, but I am not a fan of it and prefer to use code-behinds or web services of some type or another
Director of Transmogrification Services
Shinobi of Query Language
Master of Yoda Conditional
|
|
|
|
|
|
I want to improve my website speed
|
|
|
|
|
Not a question.
ALL of us want to improve our web site speed.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Get rid of all the frameworks, images, and ads.
Director of Transmogrification Services
Shinobi of Query Language
Master of Yoda Conditional
|
|
|
|
|
1) Enable compression.
2) Minify CSS, JavaScript, and HTML.
3) Reduce redirects.
4) Remove render-blocking JavaScript.
5) Leverage browser caching.
6) Improve server response time.
7) Use a content distribution network.
8) Optimize images.
|
|
|
|
|
I want to improve my website speed it takes too much time to open
|
|
|
|
|
Improve server response time
To improve your server response time, look for performance bottlenecks like slow database questions, slow routing, or a lack of adequate memory and fix them.
|
|
|
|
|
I have some experience developing ASP.Net Web API's for use on a company network. But to expose it publicly, it needs to be secure. I'm guessing what I want is to control who has access to the api.
I found this article:
https://code.tutsplus.com/tutorials/securing-aspnet-web-api--cms-26012
Since I have no experience doing this, can someone smarter than me validate this article? is this the right way?
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
modified 4-Dec-19 15:18pm.
|
|
|
|
|
The article is not valid for dotnet Core, it does not explain the new service configuration DI.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
I'm using .Net Framework
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
I am trying to design a simple webpage for our customers to upload a sql database backup file. I have a basic form but not sure where to go from here. New to this. Here is my code so far.
<!DOCTYPE html>
<html>
<body>
<form action="" method="post" enctype="multipart/form-data">
<img src="fieldedge_logo.jpg" width="297" height="182" alt=""/> <br>
<h1 style="color:black;" >Customer File Upload Site</h1><br><br>
<h3 style="color:black" >Please enter your Customer Name:</h3><input type="text" name="CustName"/><br><br>
<input type="file"
name="file"
accpt=".bak"/>
<br>
<input type="submit" value="Upload"/>
</form>
</body>
</html>"
|
|
|
|
|
Member 14675590 wrote: <form action="place your page name here, or api name" method="post" enctype="multipart/form-data">
You need an action to send it to.
An action would be server side code in which you post directly to a page, or API.
This page or API would have to accept a HTTP POST event.
Since you only posted HTML and didn't indicate your technology like PHP, ASP, I'm not able to assist any further.
But you can choose to post it back to the same page.
If it ain't broke don't fix it
Discover my world at jkirkerx.com
|
|
|
|
|
I have Created new Window Service.This Service Gets the Logs From BioMetric device.But the Service gets the last records and inserted in every time.So What Can I do?
|
|
|
|
|
You can do it differently.
"Five fruits and vegetables a day? What a joke!
Personally, after the third watermelon, I'm full."
|
|
|
|
|
Member 14583542 wrote: So What Can I do? You could start by providing a proper detailed explanation of the problem. We cannot see your screen or read your hard drive.
|
|
|
|
|
I recently ran a test on the below website:
https://www.seniority.in/daily-living-aids/adult-diapers-clp[^]
and got the below results for the website as:
PageSpeed Insights[^]
The test results told me to remove unused CSS so as to decrease the page loading time for the URL.
I was wondering if anyone would suggest me to remove the unused CSS and whether or not it would do any good to decrease the page loading time.
Any help in this regards would be greatly appreciated as I am trying to build an E-Commerce website with many such URLs and would implement that method if it's successful.
|
|
|
|
|
Member 14668727 wrote: I was wondering if anyone would suggest me to remove the unused CSS and whether or not it would do any good to decrease the page loading time. According to the analysis, saves more than a second. That makes sense, if you don't have to load stuff you don't use, you save time.
The thing that annoys me is that they can identify it, but don't offer a zip-file containing the proposed versions.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Hey thanks Ed for sharing your thoughts on this. Will have to take up with technical experts to figure this out
|
|
|
|