Can I have hover effect on change of image by inline style? - hover

Can I have hover effect on change of image by inline style?
(I cannot use css and javascript) inline style ONLY!

Related

SVG is rendered as an inline element or inline-block?

A span element does not accept bottom and top margin being an inline element but an SVG does. How it is possible? Are they rendered as inline-block elements by browsers?

Have Pseudo Element Inherit Parents Background Color

I have several pseudo elements that are related to varying different parent divs. All these divs have different background colors and I would like to before and after pseudo elements to inherit the background color of the parent div. I also want to do this without using JS and only CSS. I tried setting the background of the before and after elements to inherit, but they just show up transparent.
You can use background: inherit on the pseudo-elements:
#mydiv:after {
background: inherit;
}
jsFiddle Demo

How to apply an effect of white lines crossed to a div with css

How to apply an effect of white lines crossed to a div with css as shown in the following image link:
http://s2.subirimagenes.com/otros/previo/thump_9266640efecto.jpg

Change the size of an <a> element to fit parent <span>

I'm currently working on a site that requires slideshows, and I'm using the bxSlider script. The way it works right now is the code finds a span id="next_1" and span id="prev_1' and inserts a <a href=''>+</a>. I've got it setup so the span elements are white boxes, and when hovered will go black. The only clickable element is the + inside the span. I'm wondering how to resize the <a> element to fit the entire span element.
Here's my code.
In the CSS you can select the <a> tag and add display: block and padding: 8px and remove those properties from the .button class. Hope it helps you. Thanks.

Why isn't the background of a margin same color as the page/element background?

I had to add a 20px margin and the color of that margin is white. This has never happened to me and I'm wondering why it isn't the same color as the page/element background.
Here is what it looks like:
Here is the page it's on:
http://www.bolistylus.com/
the <div id="page"> element has a background set to White (style.css line 325)
The element in question #site-generator has no parent background specified, so it uses the grand-parent element #page.
You can either change that styling on #page or add a background color to the footer element
Try using PADDING instead of MARGIN.
Padding - defines space between border and element content.
Margin - defines space between border and other outer elements.
To learn more regarding the differences, please refer here.