The default CSS on the site uses "verdana,geneva,lucida,'lucida grande',arial,helvetica,sans-serif" as the font for td, th, p and li tags, which usually mean the whole post. The problem is, that according to the html specs the paragraph (p) tag cannot contain lists, and centering elements, so on some browsers (like Chrome), the first use of a list, or a centering will change the font to the default font, which is Arial, as in this case the paragraph (p) has ended, the container of the paragraph, the "div.post-message" doesn't have any font declarations. Adding the above mentioned font list (verdana,geneva,...) to the ".post-message" class in css would probably fix the issue, and would use Verdana as the font for the entire post on all browsers.
Not a big issue, but fixing it will definitely make posts wich are structured with lists a lot nicer
sztupy said:
The default CSS on the site uses "verdana,geneva,lucida,'lucida grande',arial,helvetica,sans-serif" as the font for td, th, p and li tags, which usually mean the whole post. The problem is, that according to the html specs the paragraph (p) tag cannot contain lists, and centering elements, so on some browsers (like Chrome), the first use of a list, or a centering will change the font to the default font, which is Arial, as in this case the paragraph (p) has ended, the container of the paragraph, the "div.post-message" doesn't have any font declarations. Adding the above mentioned font list (verdana,geneva,...) to the ".post-message" class in css would probably fix the issue, and would use Verdana as the font for the entire post on all browsers.
Not a big issue, but fixing it will definitely make posts wich are structured with lists a lot nicer
Click to expand...
Click to collapse
Thanks, I'll flag this to our server admin
I've noticed this for a while, but never could put the issue into words.
Looks like this is still a problem...
Take a look at my post here:
http://forum.xda-developers.com/showthread.php?p=24286171#post24286171
"Known Issues" is a different font than "Downloads". If I take away the code tag at the top of the post, it's fixed...
Edit: just modified my post, so not now
Related
Is it possible to add groups to your favorite people tab?
I dont think you can do this by just editing the registry or changing a setting. I believe its a little more tricky than that.
Would be nice if there was a cab to just add a group/category like resco's contact list does.
Hi all. Can someone who uses Notepad++ explain why you use this program over Notepad? I ask because of course, I already have Notepad and Notepad++ does not appear to be readily available. Does it offer any advantage to editing .xmls or something else?
I think you actually mean Notepad++, and here's a quick summary of its features according to Wikipedia:
Features
Some of its general features include:
Tabbed document interface
Drag-and-drop
Multiple Clipboard (plugin required)
Split screen editing and synchronized scrolling
Spell checker (requires Aspell) (Spell checker does not distinguish between text and code)
Supports text encoding formats such as Unicode, for international writing systems
Find and replace over multiple documents
File comparison
Zooming
Programming languages
Running under Mac OS X using the Wine compatibility layer.
It also includes features for source code editing:
Auto-completion
Bookmarks
Syntax highlighting and syntax folding
Brace and indent highlighting
Regular expression find and replace
Speech synthesis
FTP Browser (plug-in included in standard installation)
Macro recording and execution.
Various tools such as line sorting, text encoding conversion, text folding
File status auto-detection
Plugins for multiline regular expression search and replace
Notepad++ supports syntax highlighting and syntax folding for 48 programming, scripting, and markup languages. It attempts to automatically detect the language that a given file uses, using a modifiable list of file extension bindings. Users may also manually set the current language, overriding the extension's default language. The program also supports autocompletion for a subset of the API of some programming languages.
Users can also define their own language (for syntax highlighting) and its respective API (for autocompletion) by using the built-in User Language Define System. Users may configure the syntax highlighting's font styles per element, per language, and the resulting formatted script may be printed in full-color (WYSIWYG). Additionally, Notepad++ displays indent guidelines when source code is indented with tab characters, and highlights closing braces, brackets and tags.
Plugins
Notepad++ has support for macros and plugins. Currently, there are 27 official plugins for Notepad++, 10 of which are included by default in the program. The first plugin to be included in the program was "TextFX", which includes features such as W3C validation for HTML and CSS, text sorting, character case alteration and quote handling.
Hopefully that answers your question!
Ha I did mean Notepad++!! That's probably why I couldn't find much info on Wordpad lol.
I use it cause it allows you to save stuff as unix/linux. When you write code with regular notepad it adds under
un-wanted characters messing **** up. Notepad ++ dont do this
Sent from my SPH-D700 using Tapatalk
Thanks. I need to download that notepad++ tonight
Sent from my SPH-D700 using XDA App
running_the_dream said:
Hi all. Can someone who uses Notepad++ explain why you use this program over Notepad? I ask because of course, I already have Notepad and Notepad++ does not appear to be readily available. Does it offer any advantage to editing .xmls or something else?
Click to expand...
Click to collapse
I use it because of all of the features. There is no comparison. The main features I use are the code formatting, comparison, advanced search and replace & spell checker just to name a few.
Sent from my SPH-D700
Sent from my SPH-D700 using XDA App
I've been having this issue where when I tap on a select tag on a webpage (or in WebView within an app), the entire webpage turns white. The other DOM elements, such as form elements, are still there, they're just completely white so you can't see them.
Before:
http://imgur.com/O2w5V,sjemD,7jrPX#1
When select tag is tapped:
http://imgur.com/O2w5V,sjemD,7jrPX#2
After:
http://imgur.com/O2w5V,sjemD,7jrPX#0
You can see how by just tapping the select tag, the whole page turns white.
This doesn't happen every time, in fact probably only 25% of the time. But I can say for sure this only occurs with Ice Cream Sandwich, all other versions (and other devices such as iPhone) show the webpage just fine, so I don't think it's CSS or JavaScript.
Anyone else observed this perplexing issue?
Thanks for the help
~~~~~~~~~~~~~~~~~~
Looks like I'm having trouble uploading the screenshots?
Please take a look at them on imgr
I think when select is focused its overrides css rules, you can make them !important and it works 100%, also you can check how select change DOM, and see dom modifications
.
I wrote a tutorial on using TrueType/OpenType font files to render text in OpenGL ES 1.0/2.0 which many people have found helpful. Seeing as this new forum is for app developers I thought I'd share it here too
It works by loading a font file (.ttf or .otf) and then generates a font bitmap, which is then used to render dynamic text very quickly. I created this to allow me to ship only a small font file with my projects, instead of multi-resolution generated font bitmaps for each required size. This means perfect quality text at any resolution and small size.
The tutorial includes full source code (in Java + Scala) which can be used in any project - the code is licensed under the CC0 1.0 public domain license so it is free and open for any use.
Link
Hello,
I can get regular fonts into zooper, however these other fonts i have downloaded i can't get to work because the keys aren't assigned like regular ttf fonts it seems. It comes with like css files and a bunch of other files where i think the icons in the font are assigned to different things, but i have no idea if this is even possible to get into zooper. The pictures i included are what is included with the font.
elementg12 said:
Hello,
I can get regular fonts into zooper, however these other fonts i have downloaded i can't get to work because the keys aren't assigned like regular ttf fonts it seems. It comes with like css files and a bunch of other files where i think the icons in the font are assigned to different things, but i have no idea if this is even possible to get into zooper. The pictures i included are what is included with the font.
Click to expand...
Click to collapse
You need to open the index.html file to check which character is assigned to which key. If its a-z keys you just use those letters in zooper to display corresponding character. If there are codes instead (like &#e001; etc) you could make an iconset to display your characters OR if you have the font svg files (in your screenshot) you can upload them to an iconfont generator site like Icomoon and assign your own keys, at least that's how I do it.
jimlahey said:
You need to open the index.html file to check which character is assigned to which key. If its a-z keys you just use those letters in zooper to display corresponding character. If there are codes instead (like &#e001; etc) you could make an iconset to display your characters OR if you have the font svg files (in your screenshot) you can upload them to an iconfont generator site like Icomoon and assign your own keys, at least that's how I do it.
Click to expand...
Click to collapse
Thanks man, i went to icomoon like you said and got to work.