divavirtual
Oct 28 2009, 11:15 PM
Well this class is giving me a lot of problems, can somebody help me out?
pandy
Oct 28 2009, 11:48 PM
We skipped that class. But maybe if you have a concrete question...?
divavirtual
Oct 28 2009, 11:58 PM
Ok here it goes lol
-->when a mouse pointer hovers over a link, change the background to yellowand the font color to black.
--> Display each li element whiting the #hole_list selector as an inline element with a margin of 0px, a padding space of 0px above and below the element, and padding space of 5px to the left and right.
I am worry for this class, cuz the books is not good at the explanations =(
pandy
Oct 29 2009, 12:24 AM
I meant if there is something you don't understand. I'm not going to to your homework for you.
The second quostion more or less spells the it out for you. You are looking for the following CSS properties: display, margin and padding. For the first assignment you want :hover.
http://www.w3.org/TR/CSS2/selector.html#dy...-pseudo-classeshttp://www.w3.org/TR/CSS2/visuren.html#propdef-displayhttp://www.w3.org/TR/CSS2/box.html#margin-propertieshttp://www.w3.org/TR/CSS2/box.html#padding-properties
divavirtual
Oct 29 2009, 10:27 AM
I know u wont do my homework, that is not what I meant, i just wanted to know how to set up things
pandy
Oct 29 2009, 12:32 PM
How far have you got? Show us.
Do you know what selectors are and how to work with them? If not, read here.
http://htmlhelp.com/reference/css/structure.html