As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am currently building a Website that uses a blackletter font. I try to make it as authentic as possible, but I want to keep the code clean. So I got a few questions
Is it possible, to replace every semikolon (or any other letter, e.g. to autmoatically fill in the medieval sz-letter) with a dot (via css)?
Is it bad program style to use <br /> to correct the justification? If yes, how would you do it?
Does anyone know an opentype blackletter-font, that is using CSS3's hist-feature?
Is it possible, to replace every semikolon (or any other letter, e.g. to autmoatically fill in the medieval sz-letter) with a dot (via css)?
the answer to that is no. You'll need JavaScript or server-side programming to do it.
Alternatively, you could of course edit the font you're using and do the substitutions there - but that's really hard. The font's license must allow it; you need to have the right tools, and you need to beprepared to deal with the possible kerning issues that simply replacing one character with another will bring.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I have to design some HTML emails for my work. It seem obvious that everybody use tables and inline CSS for this. I would use plain text if I would have the choice, but it's not possible in this case.
As a front end developer who know a bit about web standards I'm pretty scary and horrified when I look at some HTML emails: table presentations and inline CSS are enough to demonstrate that this will be a horrible headache to design and maintain.
Do you have experiences with this? What arguments could be valuable to advocate plain text? What are the risks of using standard-maintainable-pretty HTML and CSS and not the horrible-common-way?
Some useful links for better understanding
http://kb.mailchimp.com/article/how-to-code-html-emails/
http://blog.mailchimp.com/background-images-and-css-in-html-email/
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Sorry if this is a dumb question, but I just got a job developing a site in French. Is there anything I should do or do differently that I wouldn't do if I were coding an English site?
There are a few typographic specialties in French that a well-designed HTML page should handle somehow, such as special spacing rules around punctuation characters. They are somewhat tricky to handle with just HTML and CSS. See my page HTML authoring in French.
I don't think you have anything to worry about with regards design / look n feel.
You'll have a lot to worry about with regards content though.
Date formatting
Currency formats
Thousand separator and other stuff
I'm assuming you aren't saddled with the task of working on the content as well.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I've seen widget used like a rather technical term, and the W3C has specifications for it. But Wikipedia says that a widget is just a piece of code that can be re-used in different ways. SE's definition for the widget tag doesn't fit either of those descriptions. What's a widget then?
I guess it depends on the context. On Android, a widget is an application that can be interacted with from the home screen. At my job, you can add widgets to your personalized intranet home page. But there's also the software application aspect, usually said to give a measure of the size of the application. So it has multiple meanings: a generally small GUI element devoted to a single purpose/application, or a small application as a whole.
Haha, and if you mouse-over the "widget" tag, it says something similar. Perhaps someone should expand the tag description.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am working in rails, and a looking for some resources to design visually pleasing HTML forms. I can write the CSS, so even examples would be great.
Any recommendations?
There are many resources out there, you can just google for well looking forms or something like this.
There are also javascript libraries which makes customized selects/checkboxes etc -for example a project called uniform - check it out, you might like it. It provides you tools to customize it.
You can try Gravity Forms for WordPress then you never need to hand code the html and it inserts unique id's and matching classes in the HTML. This means the sky is the limit when it comes to styling your form.
If you are not using WordPress, here is a nice tutorial for designing form layouts.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 12 years ago.
I used to be a tab freak -- I would always use tabs to indent my source code, and if I saw any spaces, I would instantly do a regex search/replace to replace all leading spaces with tabs.
...until I realized that I hadn't noticed the presence of a lot of the spaces in some files, such that they opened up inconsistently in different editors (e.g. Notepad++ vs. Emacs vs. Visual Studio).
What are good reasons for why one is better than the other in general? Is either one generally known as better practice?
With good text editors, it does not really matter. It is just a technical background detail. The UI behavior will be just the same.
The only important thing here is that everyone in a project makes the decision what to use, and that everyone sticks to that. Because, as you discovered, there will be problems if both tabs and spaces are used for indentation inside a file.
UPDATE: When I mean that everyone in a project makes the decision what to use, I of course mean that everyone should agree on the same decision. :D (This can be the tricky part.)