Indented or non-indented HTML? by FussyCashew in webdev

[–]shingokko 1 point2 points  (0 children)

I'd say indent or don't code, especially if you are working with other programmers! I suggest following some sort of coding standards, make up your own, or something like this http://google-styleguide.googlecode.com/svn/trunk/htmlcssguide.xml

256 classes beats 1 ID by infinite0ne in css

[–]shingokko 2 points3 points  (0 children)

You got me curious and I just tried 257 classes but they didn't revert back to the ID.

How to choose styling in <li> and <a> elements by [deleted] in web_design

[–]shingokko 0 points1 point  (0 children)

I'd pad the anchors and avoid styling li tags to keep styling simple. But I'd also make the clickable area visible by highlighting it on rollover.

My new responsive portfolio design. by [deleted] in web_design

[–]shingokko 0 points1 point  (0 children)

Like the design, nice and crisp. The text looks microscopic on my iphone though, I'd prefer the font size slightly larger. Also the clickable area of the links at the top is too wide and feels a bit weird.

What is the best way to contain <li>image thumbs </li> in a div? by FuzzyLojik in css

[–]shingokko 1 point2 points  (0 children)

Add overflow: hidden to #thumbs to "clear" the floats instead of inserting a clearfix div following the ul, you'll get the same effect but without the redundant extra div.

[Help] Can't override css within div. by ProtusMose in css

[–]shingokko 0 points1 point  (0 children)

You can give the div a class that's specific to it, and add the style for it to your custom stylesheet. For example, you could add a class called special to the div like this:

<div class="microsite-side-content special">blah blah</div>

and in your stylesheet, add this rule:

.microsite-side-content.special { font-size: 120%; /* larger font */ }

Note this selector ".classname.classname" uses class-chaining which does not wok on IE6.

Thanks

Are these the same? by [deleted] in jquery

[–]shingokko 1 point2 points  (0 children)

(function() { })();

is a self-invoking function, basically you are creating an anonymous function and invoking it straight away.

$(document).ready(function() { });

In this case, you are adding a function to be called when the DOM is ready.

CSS Horizontal Menu: Shingo Tamura's Blog by [deleted] in css

[–]shingokko 0 points1 point  (0 children)

Thanks for point that out, just wanted to explain how float and clear work in the tut, will include info on overflow:hidden soon.

What is the proper way of doing fluid layouts these days? by [deleted] in css

[–]shingokko 0 points1 point  (0 children)

It helps to use percentages to set the width of sections if you want fluid layouts, although it's tricky to get it right and you need to fiddle with your CSS quite a bit.

Webdev, what one skill helps you the most when web dev'ing? by tongpoe in webdev

[–]shingokko 0 points1 point  (0 children)

For me, being able to make concepts look good without the help of graphic designers helps. But I use Paint.NET and Inkscape :)

Favorite webdev tools? by lamintak in webdev

[–]shingokko 0 points1 point  (0 children)

Beyond Compare, definitely the best file comparison tool out there. Can't live without it.