PDA

View Full Version : Simple list question



sandor
17 Oct 2010, 1:10 PM
Hey Guys,

sorry for the newbie question - but how on earth can i control the height of a row in a list? Are there any other attributes that can be controlled from the JS without using extensive CSS declarations?

Thanks,

Sandor

israelidanny
17 Oct 2010, 1:24 PM
Why extensive? Just set a class for each item, and style that class with a height property in CSS.

sandor
18 Oct 2010, 12:12 AM
Yeah, thanks Danny. That's what i am doing right now - atm. i am styling the CONTENT of the rows (some DIV stuff containing a thumbnail, a headline and a little description). But since there are some options accessible from JS (like body margin, padding etc.) i was curious if the rows itself can be also accessed from there...