The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Having trouble getting two different images into a custom CSS declaration. I have the following:
Code:
/* ***** ERC styling for art headings ***** */ .ercarthead { background: #333333 url(images/gradients/erc_bighead_gradient.gif) repeat-x top left; color: #FFFFFF; font: bold 32px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; text-transform: uppercase; padding: 0px 0px 1px 4px; } Code:
/* ***** ERC styling for art headings ***** */ .ercarthead { background: #333333 url(images/gradients/erc_bighead_gradient.gif) repeat-x top left, url(images/gradients/erc_subhead_o.gif) no-repeat top right; color: #FFFFFF; font: bold 32px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; text-transform: uppercase; padding: 0px 0px 1px 4px; } ![]() |
#2
|
||||
|
||||
![]()
You can't do that.
What exactly was it you were trying to do? I may be able to help you. |
#3
|
||||
|
||||
![]()
I am trying to get the second image to display above the repeating first image. Each image works correctly on it's own, but when trying to use both at same time, onle 1 works, the other does not.
|
#4
|
||||
|
||||
![]()
as stated, you can't do that...
you could nest divs (if you are using divs) or add a background image to <tr> and another to <td> if you are using tables |
#5
|
||||
|
||||
![]()
Figured out how to do it- had to keep the repeating gradient within the .ercarthead css, then within the html, I used "float" on the image i wanted to have on the right:
HTML Code:
<td class="ercarthead" width="489"> <div style="float:right;"><img src="$vboptions[bburl]/images/gradients/erc_subhead_o.gif" border="0" /></div> $content </td> |
#6
|
||||
|
||||
![]() Quote:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|