Unstoppable Domains โ€” Expired Auctions

Gradient Effect (???)

SpaceshipSpaceship
Watch

mark4man

Established Member
Impact
0
Hello...

Can someone take a look at this site:

http://www.historum.com/

& explain how they (the designer) accomplished the gradient effect in the horizontal header bars ['World History' (& 'Forum', below it), etc.] The combination of colors & gradients on this page...I love it.

Thanks very much,


mark4man
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
A background image.
 
0
•••
They would of made the gradient in perhaps firefox or photoshop.
Then they would export it to a sensible file type, e.g. .gif, .jpeg or .png
Then they would put the following in the <head></head> of the page:
Code:
<style>
tr {
   background-image: url(image.png);
}
If they only wanted it to do that on a tr with a specific id then they would put in the <head></head> of the page:
Code:
<style>
td#idname {
   background-image: url(image.png);
}
 
0
•••
View source on that page and it'll show you how to do it. Here's the relevant CSS style for the table headers:

Code:
.thead
{
	background: #102330 url(images/545/gradients/gradient_thead.gif) repeat-x top left;
	color: #727F89;
	font: 8pt tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}

And then...

Code:
<tbody>
	<tr>
		<td class="tcat" colspan="5">
			<a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_6')"><img id="collapseimg_forumbit_6" src="images/545/buttons/collapse_tcat.gif" alt="" border="0" /></a>

			<a href="forumdisplay.php?amp;f=6">World History</a>
			
			
		</td>
	</tr>
</tbody>

Find the word "tcat" in the second bit of code.

-Ollie
 
0
•••
Dynadot โ€” .com TransferDynadot โ€” .com Transfer
Appraise.net
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back