Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Self adjusting background image
Old 08-28-2007, 04:03 PM Self adjusting background image
Average Talker

Posts: 20
Name: Sonny
Trades: 1
I am going to create a simple website in Photoshop CS3 and have a friend slice and code it using SiteGrinder2.

My question, How do I take the background image below (which contains a gradient and scan lines) and have it fit the entire screen?


-Sonny

sonny_c is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-28-2007, 05:28 PM Re: Self adjusting background image
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
I'm not a specialist on design, but I'd say you need 2 pics for that.

One, aligned on top, with the horizontal gradient and with a repeat-x to expand it through your page width.
And a second one as the body background, which will contain the stripes, with a repeat css statement to fill all your browser page.

But honestly, it will be easier to put it together with a text editor and CSS, rather than those crappy tools that will generate a ton of junk just for that:
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
  <head>
    <title>testing..</title>
  </head>
  <style type="text/css">
    #horGrad{
      width:100%;
      height:43px;
    }
    body{
      margin:0px;
      padding:0px;
      background: transparent url('/img/stripe.png') repeat top left;
    }
  </style>
  <body>
  <img id="horGrad"  src="/img/horiz.png" alt=""/>
  <p>
    blah blah blah
  </p>
  </body>
</html>
__________________
Only a biker knows why a dog sticks his head out the window.

Last edited by tripy; 08-28-2007 at 05:46 PM..
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Reply     « Reply to Self adjusting background image
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11465 seconds with 12 queries