Help - Search - Members - Calendar
Full Version: somebody taking HTML and XHTML 5th comprehensive by patrick carey
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
divavirtual
Well this class is giving me a lot of problems, can somebody help me out?
pandy
We skipped that class. But maybe if you have a concrete question...?
divavirtual
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
I meant if there is something you don't understand. I'm not going to to your homework for you. rolleyes.gif

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-classes
http://www.w3.org/TR/CSS2/visuren.html#propdef-display
http://www.w3.org/TR/CSS2/box.html#margin-properties
http://www.w3.org/TR/CSS2/box.html#padding-properties



divavirtual
I know u wont do my homework, that is not what I meant, i just wanted to know how to set up things
pandy
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
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.