background
Microsoft Office TrainingThe UK's Number 1 for Microsoft Office Training Sitemap add this page to your favourites/bookmarksBookmark page
 
view a printable version of this pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Dreamweaver Training and help » Background

Background

resolvedResolved · Low Priority · Version CS3

replyReplySun 26 Apr 2009, 18:21Delegate Nicholas said...

Background

Hi There

Hope you might be able to help me out with a couple of things:-

1. I can set my background image to be as a gradient (by creating an image with gradient in Photoshop), but I can't figure out how best to use this. The background looks great until you get a long page (ie. the image is not tall enough). In this case it either repeats or is blank from the point at which it ends onwards. I've dabbled with the CSS options with no luck (I'm still very much finding my way with all this!). Is there a way to ask my background image to stretch according to how long the page becomes?

2. How do I access my 'global' css file? I may well already be doing this without realizing!

3. I've setup a form on the "contact us" page of the site, but I cannot get the message to send to my email address. Is it because it is a yahoo address I'm trying to send it to? When the 'submit form' button is pressed, the screen & information remains in place (even though the settings are as "_blank") - it is as though nothing has happened? The website is www.luff2moveu.co.uk - can you have a look and advise please?

Thanks for your help in advance!

Nick

For upcoming training course dates see: Pricing & availability

replyReplyMon 27 Apr 2009, 11:32Trainer Rich said...

RE: Background

Hi again Nick,

ONE)

You have to stop the repeat of the background image (which is turned on by default in CSS).

http://www.w3schools.com/css/pr_background-repeat.asp

body
{
background-image: url(stars.gif);
background-repeat: repeat-x;
background-color: white;
}

So the code above repeats the image X axis (left to right) but not top to bottom. Just make sure the background colour you set (third declaration) matches the bottom row of pixels in your image. ie. if your gradient fades from black to white (top to bottom), them make the overall background colour white.

See also: http://www.w3schools.com/css/css_background.asp

See Microsoft's support site for a nice way of doing this:
http://support.microsoft.com/
They have the light blue as their background colour, then they have two lots of background gradients which they place at the top and bottom of the overall page.

TWO)

Check what your global css file is by looking at the LINK tag within your HEAD tags.

Eg. if the href is "/asset/css/global.css", then your file is in folder Asset and then in folder Css, and the file is called global.css. Just find the file in Dreamweaver Site panel, or Windows Explorer, and double click the file to open/edit it.

If you open it in Dreamweaver, you can use the CSS panel to edit the CSS styles using the Dreamweaver dialogue boxes. But I prefer to edit them in plain text because I learn more, and at the end of the day, it's quicker.

If you can't see a LINK tag in your HEAD tags, then you don't link to a global css file (you'd probably have loads of declarations within some STYLE tags instead - not as clean as a global file).

THREE)

You're using 'mailto' as your form action. The e-mail address (yahoo) hasn't nothing to do with it. Yes, technically you can use 'mailto' as your action, but this is very old school.

Using 'mailto' means the browser will use whichever mail program is set as the default in the Internet Settings. This is bad, because some of your visitors may not have anything set, or indeed use web mail (gmail, yahoo, hotmail), and thus have no Outlook account set up on their machine.

You should really make or get a proper e-mail form installed. Try http://bravenet.com/webtools/emailfwd/ which is free.

You should be able to use the fields you already have in your form with the Bravenet tool. Probably just have to add a few hidden fields and change the Action of the form.

Regards, Rich

replyReplyMon 4 May 2009, 16:08Delegate Nicholas said...

RE: Background

Thanks again Rich.

Sun 3 May 2009: Automatically marked as resolved.

 

 

Please browse our web site to find out more about
dreamweaver course uk and other Microsoft training courses.

Dreamweaver tip:

JumpMenu in new window

When inserting a jumpmenu to a page, the only option available for 'open in' is usually 'main window'. There would be other options available if the page was a frameset.

To change the jumpmenu to open in a new window, change the target parameter of the selectbox in your code to 'window.open()'.

eg.
<select name="menu1" onChange="MM_jumpMenu('window.open()',this,0)">


source:
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16166&sliceId=1

View all Dreamweaver hints and tips

forum postIf you vlookup from an external workbook, can this link to the external book be saved so as it will reference it even if that book is not open?

» Forum post: Vlookup


Rate this page:
2.2/5 (213 votes cast)
Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses
Microsoft Certified Partner
Security Seal verified by visa, mastercard securecard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Management training

Professional Skills courses
Project Management Course London
Project Management Courses London
Project Management Training London
Project Management Training
Project Seminar
Project Seminars
Time Management Course London
Time Management London
Time Management Courses London
Time Management Training London
Introduction to Finance course
Assertiveness Skills course
Effective Communications Skills training
Presentation Skills London

Training Formats

Public scheduled courses
On-site training
Closed company courses

Consultancy
Application Development

Blogs

Excel Training
MS Project Training
Microsoft Training Blog

Version differences

Office 2010 vs 2007
MS Project version differences

Training Information

London Computer Training
Computer Training London
Docklands Training Courses
Docklands Training London

Training venues London
Client list
FAQ
Pricing and availability
Course details / Syllabus

Training Articles
Training Information

Microsoft training

Microsoft Office training
& IT Applications

Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training
MS Project courses
MS Project training
Outlook courses
PowerPoint courses
PowerPoint training
VBA courses
Word courses
Microsoft.training
(more...)

Excel Training

Excel courses
Excel Training Courses Medway
Autonumber in Excel
Microsoft Excel training
Basic Excel Courses
Basic Excel Course
Basic Excel Training

Interested in MS Access training?

Access courses
Microsoft Access training
Microsoft access courses
Microsoft training access course
Microsoft+access+training
Access courses in london

Training provider

Training providers
IT training companies
IT training providers
Management Training providers
Management Training provider

Event history, feedback results
Events in 2012 · 2011 · 2010 · More

See also

Crystal Reports training


Please tell us/web development about this error (copy and paste into an e-mail):
MySQL error: Duplicate entry '5' for key 'PRIMARY'
Line: 76
Actual SQL Query: insert into best_activevisitors (activevisitors_ID, activevisitors_IP, activevisitors_Time, activevisitors_Url) values (5, "38.107.179.241", now(), "/cms/forum.php")
Reported by: function sqlQueryBest()
When viewing (PHP_SELF): /cms/forum.php
Query string from URL: fpost_id=22023