Education is the most powerful weapon
which you can use to change the world.
-Nelson Mandela
 
Home   News   Courses   Tips   Templates   Forums   Help   Order   Contact   Logon  
 
NEW: Excel Expert 11 - Learn XLOOKUP    dismiss
Tips & Tricks

New Tips Added Weekly!
Click here to get on our Mailing List

   
 
HTA

Beginner - Level 4

Making the page look nice

We've made the page quite functional but I think we can agree it doesn't look that nice.

How about we add some imgs and style to it.

If we copy an image to the same folder as the hta we can use a relative path, no need for any folder.

	<img src="computer-learning-zone.gif" alt="Logo" />
	
Logo

You can set the height and width of an image by adding those attributes.

	<img src="computer-learning-zone.gif" alt="Logo" height="80" />
	
Logo

Another option is to add some colour to your page.

Filter
Doesn't work in IE 11.
	filter:progid:DXImageTransform.Microsoft.Gradient (GradientType=0, StartColorStr='#ddd7ff', EndColorStr='#7670ff')
	
Filter

You can use other CSS properties.

	body {
		background-color: #6495ed;
		background-image: url("computer-learning-zone.gif");
	}
	



Previous Lesson: Beginner Level 3 | Next Lesson: Tabs

 

Alex Hedley (Avatar) By: Alex Hedley


Click here to sign up for more FREE tips

 

 

Learn
 
Accessindex
Excelindex
Wordindex
Windowsindex
PowerPointindex
Photoshopindex
Visual Basicindex
ASPindex
Seminars
More...
Customers
 
Account Login
Online Theater
Downloads
Lost Password
Free Upgrades
Insider Circle
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Articles
Search The Site
Waiting List
Production Schedule
Collapse Menus
Help
 
Live Chat
Customer Support
WalkThru Tutorials
Troubleshooting
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Order
 
Video Tutorials
Handbooks
MYOLP Memberships
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Gift CDs
Contact
 
Live Chat
General Info
Support Policy
Contact Form
Email Richard
Mailing Address
Phone Number
Fax Number
Course Survey
Facebook    Twitter

YouTube Channel    LinkedIn

Blog RSS Feed