Skip to content

u/stalecache

In this archive from Jul 2011 to Mar 2012

0
posts
5
comments
0
media
35
score

Top comments

This is awesome... I bought it and immediately created a bookmarklet to change all text on a current page to Gilldyslexic (you have to buy and install the TTF first):

Normal Gilldyslexic:

javascript:var%20s=document.createElement('style');s.type='text/css';s.innerHTML='*{font-family:Gilldyslexic%20!important;}';document.getElementsByTagName('body')[0].appendChild(s);void(s);  

Gilldyslexic and larger font size:

javascript:var%20s=document.createElement('style');s.type='text/css';s.innerHTML='*{font-family:Gilldyslexic%20!important;font-size:22px%20!important;}';document.getElementsByTagName('body')[0].appendChild(s);void(s);
28 points

The problem is when you have a touch only device where there is no mouseover (you either tap it to see what it does, or not). With a large application with a lot of buttons and widgets, you prob don't want to include plus signs and indicators all of the place. Maybe i'm still dreaming of the "build once and done" fantasy. I would really like to see a touch device have different levels of tapping (soft touch, hard touch).

1 points

I was an all TABLEs kind of guy... then I was an all DIVs kind of guy... now i'm a "use semantic elements and only use non semantic elements like TABLESs when necessary" ...

Some problems using TABLEs for layout:

  • Some programs/robots (e.g., screen readers, search engine crawlers, browser plugins, facebookexternalhit robot, etc) reading the HTML may be confused on how to interpret the content... It may think that the content in two <tr>s are logically seperate in subject matter, but in fact they logically belong in the same subject (e.g., company location)... since TABLEs represent tabular data semantically, programs should treat the contents as tabular data.
  • More markup causing more DOM elements... causing more memory usage... causing slow page rending... especially if you need to nest TABLEs within TABLEs.

Some advantages using TABLEs for layout:

  • Easy vertically aligning dynamic height content... yes there is display:table-cell; in CSS, but this doesn't work in IE6 or IE7... and yes there are cross browser CSS solutions for this, but require lots of CSS and browser specific CSS
  • Fixes this problem in all browsers: http://stackoverflow.com/questions/485827/css-100-height-with-padding-margin (also fixes the 100% width with padding/margin)

If you are not supporting IE6 and IE7, there is no good reason to use TABLEs for layout.

I've been using TABLEs when I need to make a cross browser flexible form that has text fields nicely arranged, and where the width of the form may vary, and changing dimensions of elements inside of the form doesn't break the nicely arranged fields (or need extra width/height adjustments)... love to see somebody prove to me that this can be done in CSS.

Edit: formatting

1 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.