. For example - I want to change the whole background of header or body or footer..How??????\
Renoir Boulanger
Wed, 07 Aug 2013 06:47:49 -0700
Hello sadhin
This is not a Twitter Bootstrap issue, it is a basic CSS understanding
issue.
There is a css property that you can use for this «background».
Let's say you have a div you want to have with a background that has the
following markup:
<div class="hello">
</div>
You would have to find the proper CSS selector to get to it.
.hello {
background-image: url(http://placekitten.com/g/200/300);
}
But you have to be aware of some details, such as:
- Is the .hello div is float?
- Is the hello div has block elements inside? (e.g. display:block)
Because if the .hello is floating, it gets a height:0;. And all the better
should be that you do not set a height, but have blocks making it get it's
own height value.
I started a site on how to do this on http://htmlcsstherightway.org/ and I
linked there a few other good resources on how to learn by yourself.
Hope it was helpful
Regards,
*Renoir Boulanger * | Developer operations engineer
W3C* * | Web Platform Project <http://www.webplatform.org/>
http://w3.org/people/#renoirb ✪
https://renoirboulanger.com/<https://renoirboulanger.com/#is>
✪ @renoirb <https://github.com/renoirb>
~
--
You received this message because you are subscribed to the Google Groups
"twitter-bootstrap" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.