Page 1 of 1

Code for color background behind text

PostPosted: Mon Dec 29, 2003 5:44 am
by polara
What is the CSS code to control the size of a color background behind header text so that it spans ONLY as high and wide as the text itself, NOT the entire width of the page?

PostPosted: Mon Dec 29, 2003 6:12 am
by oochappan
Where in ur site, under wich title or wich h1,2,3 ......

PostPosted: Mon Dec 29, 2003 6:27 am
by polara
I meant this as a general question, but how about behind the camera info in any gallery? Or behind the h2 title? Most people just seem to use a bg that spans across the entire screen even if their title is only 1 or 2 words.