Brian Rosenthal's Weblog

4/10/2005

Adding a drop shadow to a web page that is centered

Filed under: — brian @ 2:46 pm

Adding a background that includes a drop shadow to a web page is tricky because the drop shadow must stay around the content.

Here is the effect:
Click here to view the page below


<html>
<head>
<base href="http://www.robocommerce.com/" />
<title>Centering Test<title>
<style type="text/css">
<!--
body {
    margin: 0px;
    background-image: url(/test/aaron/images/bg.jpg);
    background-position: center top;
}
div#main {
    margin: 56px 0px 0px 10px;
    width: 739;
    height: 647;
    background-image: url(/test/aaron/images/bg2.gif);
    background-position: top;
    color: white;
}
// -->
</style>
</head>
<body>
<center>
<div id="main">Body text</div>
</center>
</body>
</html>

Building a VB 6 Installer

Filed under: — brian @ 11:33 am

1. Download and install “Microsoft Windows Installer 1.1″
2. Compile ("make") the output of your VB project, and close VB 6.
3. Run the installer program (Visual Studio 6 -> Enterprise Tools)
4. Create a new project ("VB Installer Project")
5. In the “File System” section, create a folder in the “User’s Start Menu” called “Programs", another inside with your company name, then move the existing shortcut in there.
6. Set the target for where the MSI file will be created (Project -> Properties -> Output)
7. Select Build -> Build configuration -> Release
8. Build the project

Powered by WordPress