FC Jamison 31 Posting Pro in Training Team Colleague

I'm assuming this is an assignment in a beginning programming course. As such, I would look at this problem as a series if nested if statements.

Pseudocode is kind of like writing down programming logic without worrying about syntax. So for this exercise you don't have to know how to write an if...else if...else block of code in whatever language you are learning, you just have to recognize what it is and write it out in a sort of english-coding hybrid sort of way.

For this, what is your top level of items? It is age. So you start out

`if age < 55
        do stuff

    else if age >= 55 and age < 80
        do different stuff

    else
        do other stuff`

Then you look at what the next level of the first if statement is using. Here, it is gender. So now you want to add a second level of if statements.

if age < 55
        if gender=male
                do this
        else
                do that

    else if age >= 55 and age < 80
        do different stuff

    else
            do other stuff

Then look at the third level distinction. This is income level. So you add this step in like so

    if age < 55
            if gender=male
                    if annual income >= 10,000 and annual income <= 50,000
                            tax = 10%
                    else if annual income > 50,000 and annual income <= 100,000
                            tax = 20%
                    else if annual income > 100,000
                            tax = 30%
            else
                    do that

        else if age >= 55 …
FC Jamison 31 Posting Pro in Training Team Colleague

I was simply answering the question. I didn't look at the HTML header and I didn't go searching through old DaniWeb posts to see if the question was duplicated. I actually expect that questions will be duplicated as a matter of course, so it really doesn;t bother me. If I answer a question, it is to genually help someone learn. I actually despise people who think they are better than someone else because they have more knowlege and look specifically for ways to make the less knowlegable feel stupid or wrong for asking a question. Once upon a time ago I was a moderator here...you know, back in the days when people were helpful.

FC Jamison 31 Posting Pro in Training Team Colleague

If you have a Premium subscription to LinkedIn, the most comprehensive CSS turorial I have come across is CSS Core Concepts on Lynda.com. Courses on Lynda.com are free with the Premium LinkedIn subscription.

FC Jamison 31 Posting Pro in Training Team Colleague

add

position: absolute;
bottom: 0;

to your small_footer css

FC Jamison 31 Posting Pro in Training Team Colleague

I won't write your code, because like others have said, iy is not our place to do your homework for you.

I will, however, give you some psedocode to point you in the right direction. I believe that it is the goal of a forum such as this to provide help to people learning how to code. Psuedocode will tell you what to do, but not how to do it. That will require a little research on your part.

I will start with the assumption that you have an array of integers, and that they are pre-sorted.

    Find the length of the array

    If the length of the array / 2 leaves a remainder of 1
        get the contents of index [(length + 1) / 2]

    else
        get the contents of index [length / 2]
        get the contents of index [(length / 2) + 1]
        add the two numbers together
        divide the result by 2 using floating point division

    Display the result

You need to research how to find the length of an array in Java
You need to research how to do floating point division vs. integer division
You need to research the best type of variable to store your answer in
You need to research how to display data using one of Java's print methods

JamesCherrill commented: Good judgement on how much help to give +15
FC Jamison 31 Posting Pro in Training Team Colleague

I am unclear on what specific type of input you want to take in.

You say letters. Do you mean chars that are specifically A-Z and a-z? Do you mean a string of characters without spaces? Or do you want a string of characters with spaces?

Each one requires a slightly different scanner implementation.

FC Jamison 31 Posting Pro in Training Team Colleague

That code isn't working with my code.

Can you check it?

Edit: Now it's working.

Question: The getInstance function call is Rectangle* Rectangle::getInstance(int l, int w) but it's returning a reference instead of a pointer. How does that work?

FC Jamison 31 Posting Pro in Training Team Colleague

OK. I found a singleton code and modified it for my assignment. Here is my code...

// Rectangle.h

#ifndef RECTANGLE_H_INCLUDED
#define RECTANGLE_H_INCLUDED

class Rectangle
{
public:
    /** Checks if this is the first instance of a Rectangle and either creates or returns a pointer to the first instance of the object
     *
     * \param l int the length of the rectangle
     * \param w int the width of the rectangle
     * \return Rectangle* a pointer to the first instance of a Rectangle object
     *
     */
    static Rectangle* getInstance(int l, int w);

    /** Returns the area of the rectangle
     *
     * \return int the area of the rectangle
     *
     */
    int getArea() const;

    /** The default destructor
     */
    ~Rectangle();

private:
    /** The default constructor
     */
    Rectangle();

    /** A constructor for a Rectangle object with length and width parameters
     *
     * \param l int the length of the rectangle
     * \param w int the width of the rectangle
     *
     */
    Rectangle(int l, int w);

    /**< Static indicator set to true if a previous instance of a Rectangle object has been created */
    static bool instanceFlag;

    /**< A static pointer to a the first instance of a Rectangle object */
    static Rectangle* firstInstance;

    /**< The length of the Rectangle */
    int length;

    /**< The width of the Rectangle */
    int width;
};


#endif // RECTANGLE_H_INCLUDED

Next file

// Rectangle.cpp

#include "rectangle.h"

#include <cstddef>

/** Checks if this is the first instance of a Rectangle and either creates or returns a …
FC Jamison 31 Posting Pro in Training Team Colleague

How would I write a C++ class of which only one can be created ever be instantiated in any program.

I know that

ClassName* objectName = new ClassName();

instantiates an object, but how would I make it so when you try to instantiate it more than once you still end up with a reference to the first instance?

Even if you could point me to a reference where I can read how this might be done I would greatly appreciate it.

FC Jamison 31 Posting Pro in Training Team Colleague

So use the following?

Delete from phpbb_config where config_name = 'allow_birthdays_ahead' LIMIT 1
FC Jamison 31 Posting Pro in Training Team Colleague

I accidentally added the following line to my SQL database twice:

INSERT INTO phpbb_config (config_name, config_value) VALUES ('allow_birthdays_ahead', '7');

How do I remove one of them?

FC Jamison 31 Posting Pro in Training Team Colleague

I included my dropdown menu with the following javascript:

<div id="menubar">
		<div id="menu"><script type="text/javascript" src="resources/javascripts/menu.js"></script></div>
		</div>

then the menu.js file was

menu();
	
	/* Begin Menu Items */
	
	tmenu[1]='Home';
	tlink[1]="http://www.frankjamison.com";
	tdesc[1]="Return to my homepage";
	ttype[1]="static";
	tiden[1]="";
	
	tmenu[2]='R&eacute;sum&eacute;';
	tlink[2]="http://www.frankjamison.com/resume/";
	tdesc[2]="View my r&eacute;sum&eacute;";
	ttype[2]="static";
	tiden[2]="";
	
	tmenu[3]='Portfolio';
	tlink[3]="http://www.frankjamison.com/portfolio/";
	tdesc[3]="View my portfolio";
	ttype[3]="static";
	tiden[3]="";
	
	tmenu[4]='Photo Gallery';
	tlink[4]="http://www.frankjamison.com/gallery/";
	tdesc[4]="Visit my photo gallery";
	ttype[4]="static";
	tiden[4]="";
	
	tmenu[5]='Poetry';
	tlink[5]="http://www.frankjamison.com/poetry/";
	tdesc[5]="Read my poetry";
	ttype[5]="static";
	tiden[5]="";
	
	tmenu[6]='Blog';
	tlink[6]="http://www.frankjamison.com/blog/";
	tdesc[6]="View my blog";
	ttype[6]="static";
	tiden[6]="";
	
	tmenu[7]='Contact';
	tlink[7]="http://www.frankjamison.com/contact/";
	tdesc[7]="Contact me";
	ttype[7]="static";
	tiden[7]="lastMenu";
	
	/* Thank you to Suckerfish & Patrick Griffiths for this code snippet */
	showMenu = function() {
		var subMenuItems = document.getElementById("topMenu").getElementsByTagName("li");
		for (var i=0; i<subMenuItems.length; i++) {
			subMenuItems[i].onmouseover=function() {
				this.className+=" showMenu";
			}
			subMenuItems[i].onmouseout=function() {
				this.className=this.className.replace(new RegExp(" showMenu\\b"), "");
			}
		}
	}
	
	if (window.attachEvent) window.attachEvent("onload", showMenu);
	
	/* Create Menu Arrays */
	function menu() {
		tmenu = new Array();
		tlink = new Array();
		tdesc = new Array();
		ttype = new Array();
		tiden = new Array();
	}

	/* Create Dynamic Menu Length Variable */
	var MENU = tmenu.length;

	document.write('<div id="menu">');
	document.write('	<ul id="topMenu">');
	for (i=1; i < MENU; i++){
		if (ttype[i] == "dropdown") {
			document.write('<li class="topMenuLink"><a href="'+tlink[i]+'" class="'+ttype[i]+'" id="'+tiden[i]+'" title="'+tdesc[i]+'">'+tmenu[i][0]+'</a>');
			if (tiden[i] == "lastMenu") {
				document.write('<ul class="subMenu" id="last">');
			}
			else {
				document.write('<ul class="subMenu">');
			}
			for(j=1; j<tmenu[i].length; j++) {
				document.write('<li class="subMenuLink">'+tmenu[i][j]+'</li>');
			}
			document.write('</ul></li>');
		}
		else {
			document.write('		<li class="topMenuLink">');
			document.write('			<a href="'+tlink[i]+'" class="'+ttype[i]+'" id="'+tiden[i]+'" title="'+tdesc[i]+'">'+tmenu[i]+'</a>');
			document.write('		</li>');
		}
	}
	document.write('	</ul>');
	document.write('</div>');

I also included a footer using …

FC Jamison 31 Posting Pro in Training Team Colleague

Here are some sites I found...

http://www.lulu.com/content/617463

http://www.thesitewizard.com/faqs/membership-password-protected-site.shtml

http://www.wildapricot.com/membership-subscription-website.aspx

But the gist of the info is that you will need a content management software package.

FC Jamison 31 Posting Pro in Training Team Colleague

I don't believe that's possible using straight html and css.

I could be wrong, though.

Are you sure you mean when you click on the hyperlink image and not when you roll over the image?

FC Jamison 31 Posting Pro in Training Team Colleague

OK...that worked on my server when I named the original document index.shtml. The shtml extention was required so that I could add the SSI (server side include) directives to the existing page.

FC Jamison 31 Posting Pro in Training Team Colleague

So should the code look something like this?

<html>
<head>
<title>EngineeringNotes.net</title>
<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>


<!--#include file="header.html" -->

<div class="page"><!-- start page -->

	<!--#include file="sidebar.html" -->

	
	<div class="content"><!-- start content -->
		<h2>About this Site</h2>
		<p>
		This site is inteded to provide a "crash course" in many subject areas
		related to electrical engineering. The primers are not at all designed
		to
		be a replacement for a formal course in these topics. The target
		audience is a serious student who feels that it is worth their time
		outside of class to make sure they are getting the "big picture" and
		seeing the value of the subject rather than simply learning the mechanics of "doing problems". 


	</div><!-- end content -->
	
</div><!-- end page -->

</body></html>

With the header.html file as...

<div class="header">
	<div id="logo">
		<h1>EngineeringNotes.net</h1>
	</div>
	<div class="menu">
		<ul>
			<li><a href="mailto:daviddoria@gmail.com">Contact Me</a></li>
			<li><a href="phpBB3">Forums</a></li>
			<li><a href="Ideology.html">Ideology</a></li>
		</ul>
	</div><!-- end menu -->
</div><!-- end header -->

...and the sidebar.html file being...

<div class="sidebar"><!-- start sidebar -->
		<h2>EE Topics</h2> 
		<ul>
			<li><a href="Notes/EE/PatternRecognition.pdf">Pattern Recognition</a> </li>
			<li><a href="Notes/EE/ImageProcessing.pdf">Image Processing</a> </li>
			<li><a href="Notes/EE/ComputerVision.pdf">Computer Vision</a> </li>
			<li><a href="Notes/EE/ComputerGraphics.pdf">Computer Graphics (stub)</a> </li>
			<li><a href="Notes/EE/SignalsAndSystems.pdf">Signals and Systems</a> </li>
			<li><a href="Notes/EE/Communications.pdf">Communications</a> </li>
		</ul>
		

	</div><!-- end sidebar -->
FC Jamison 31 Posting Pro in Training Team Colleague

I found this article on embedding fonts in a web page http://www.sean.co.uk/a/webdesign/embedding_fonts_in_webpages.shtm

It only works in IE though.

FC Jamison 31 Posting Pro in Training Team Colleague

The noframes element displays text for browsers that do not handle frames. The noframes element goes inside the frameset element.

If a browser handles frames, it will not display the text in the noframes element.

Important: If you add a <noframes> tag to a frameset, you will have to enclose the text in <body></body> tags!

Example:

<frameset cols = "25%, 25%,*">
  <noframes>
    <body>Your browser does not handle frames!</body>
  </noframes>
  <frame src ="venus.htm" />
  <frame src ="sun.htm" />
  <frame src ="mercur.htm" /> 
</frameset>
FC Jamison 31 Posting Pro in Training Team Colleague

I don't believe that is possible.

FC Jamison 31 Posting Pro in Training Team Colleague

If you are simply adding your own content, you could try a scrollable div.

<div style="width:300px; height:100px; overflow:auto">
        <p>Test</p>
        <p>Test</p>
        <p>Test</p>
        <p>Test</p>
        <p>Test</p>
        <p>Test</p>
        <p>Test</p>
        <p>Test</p>
      </div>
FC Jamison 31 Posting Pro in Training Team Colleague

To center an image (or other block object) you would use something like:

.centered {
    display: block;
    margin-left: auto;
    margin-right: auto 
}
<IMG class="centered" src="..." alt="..." />
FC Jamison 31 Posting Pro in Training Team Colleague

Try this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<TITLE>| ::Gears Of War :: | </TITLE>
<style>

body{
background-color:black};
text-align:center;
}

.container{
width:660px;
height:100px;
margin-left: auto;
margin-right:auto;
border:1px solid #AD9482;
background-position: center;
text-align: center;
margin-top: 10px;
margin-right: 10px;
margin-bottom: 10px;
margin-left: 10px;
padding-top: 10px;
padding-right: 10px;
padding-bottom: 10px;
padding-left: 10px;
}

.title{
height:10;
width:650;
font-family: verdana;
color: #000000;
font-size: 10px;
}

.head{
height:100;
width:650;
font-family: verdana;
color: #000000;
font-size: 10px;
}

.links{
height:15;
width:650;
background-color:#a0a0a0;
font-family: verdana;
color: #000000;
font-size: 10px;
}

.c1{
width:70;
height:500;
float:left;
background-color:#e0e0e0;
font-family: verdana;
color: #000000;
font-size: 10px;
}

.c2{
width:255;
height:500;
float:left;
background-color:#d0d0d0;
font-family: verdana;
color: #000000;
font-size: 10px;
}

.c3{
width:255;
height:500;
float:left;
background-color:#c0c0c0;
font-family: verdana;
color: #000000;
font-size: 10px;
}

.c4{
width:70;
height:500;
float:left;
background-color:#b0b0b0;
font-family: verdana;
color: #000000;
font-size: 10px;
}

.foot{
clear:both;
height:15;
width:650;
background-color:#a0a0a0;
font-family: verdana;
color: #000000;
font-size: 10px;
}

body,td,th {
color: #55A0FF;
}
a:link {
color: #FFFFFF;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #FFFFFF;
}
a:hover {
text-decoration: none;
color: #750000;
}
a:active {
text-decoration: none;
color: #FFFFFF;
}
</style>

<BODY>
<center>
<div class="container">

<div class="title">
:<a href="index.html">home</a>:
:<a href="news.html">news</a>:
:<a href="forum.html">community</a>:
:<a href="about.html">about us</a>:
:<a href="contact.html">contact</a>:
</div>



<div class="head"><img src="banner.JPG"></div>

<div class="links">



</div>
<div style="margin-left:auto; margin-right:auto; width: 300px;">

<div class="c1";>
<div align="center">Column One</div>
</div>

<div class="c2">
<div align="center">Column Two</div>
</div>

<div class="c3">
<div align="center">Column Three</div>
</div>

<div class="c4">
<div align="center">Column Four</div>
</div>
</div>

<div class="foot">
<div align="center">footer</div>
</div>

</div>
</center></body>
</html>
FC Jamison 31 Posting Pro in Training Team Colleague

The difference is that an ID references a unique element on the page...i.e. there is only one element on the whole page with the ID.

A class can be used to name several different elements on the page.

In other words, you can have one div with a specific ID, but multiple divs with a specified class.

In your case, you would probably want to use a class.

FC Jamison 31 Posting Pro in Training Team Colleague

OK, I am viewing in IE 6.0
It is possible to put code in it to let know IE 6.0 what to do?

Yes, it is possible...but it will take someone with more knowledge than I have to correct this issue in IE 6.

I am sorry I cannot help you here.

FC Jamison 31 Posting Pro in Training Team Colleague

After all that, I am unable to duplicate the problem in IE 7. I do not see anything disappearing when I click on a link.

FC Jamison 31 Posting Pro in Training Team Colleague

The zip file was not attached.

FC Jamison 31 Posting Pro in Training Team Colleague

Try

#menu.current_page {
  color:#FFFFFF;
}

or just

.current_page {
  color:#FFFFFF;
}
FC Jamison 31 Posting Pro in Training Team Colleague

umm...What does "SEF" stand for?

FC Jamison 31 Posting Pro in Training Team Colleague

ugh!

Do you have this uploaded to a site so we can see the css and images as well?

It might even be better it you zipped the files and uploaded them here.

FC Jamison 31 Posting Pro in Training Team Colleague

How about a link to the site itself so we can see it in action.

FC Jamison 31 Posting Pro in Training Team Colleague

I am not seeing a problem at all in IE7.

FC Jamison 31 Posting Pro in Training Team Colleague

Use the background-color property for Firefox.

hr {
  background-color:#CC00CC;
  color: #CC00CC;
  width: 25%;
}
FC Jamison 31 Posting Pro in Training Team Colleague

There is actually an entire section of this site dedicated to website reviews.

You will find people there to assist you.

FC Jamison 31 Posting Pro in Training Team Colleague

You're going to have to be a bit more descriptive with your problem.

After opening a text file from where? What does ftp have to do with the text file?

What exactly are you trying to do?

FC Jamison 31 Posting Pro in Training Team Colleague

I found this googling around:

max-height

* html div#division { 
   height: expression( this.scrollHeight > 332 ? "333px" : "auto" ); /* sets max-height for IE */
   max-height: 333px; /* sets max-height value for all standards-compliant browsers */
}

min-height

* html div#division { 
   height: expression( this.scrollHeight < 334 ? "333px" : "auto" ); /* sets min-height for IE */
   min-height: 333px; /* sets min-height value for all standards-compliant browsers */
}
FC Jamison 31 Posting Pro in Training Team Colleague

You could try something like this:

CSS

#button1 {
  width: 50px;
  height : 25px;
  overflow : hidden;
  background-image: url('/images/image.jpg');
}

#button1:hover {
  background-image: url('/images/imageon.jpg');
}

HTML

<div id='button1'>
 &#160;
</div>
FC Jamison 31 Posting Pro in Training Team Colleague

The hyphen is the correct notation when splitting a word...even when the word itself is hyphenated.

FC Jamison 31 Posting Pro in Training Team Colleague

Without digging through almost 400 lines of partially unformatted html coding, I would say you should put your data in a scrollable div.

<div style="height:100px;overflow:auto;">
    <p>Text</p>
    <p>Text</p>
    <p>Text</p>
    <p>Text</p>
    <p>Text</p>
  </div>
FC Jamison 31 Posting Pro in Training Team Colleague

The page looks good when I view it in Firefox.

FC Jamison 31 Posting Pro in Training Team Colleague

I didn't recreate your site, I was simply advising you on how to preload your menu images.

I would apply the method I described to any image that is called when you hover over a tab.

Glancing at the css again, I would apply the hiddenPic class to the images referenced here:

#menuItemHome:hover {position: static; background-image:url(../images/navigation/active_home.gif);}
#menuItemServices:hover {position: static; background-image:url(../images/navigation/active_services.gif);}
#menuItemWhy:hover {position: static; background-image:url(../images/navigation/active_why.gif);}
#menuItemSupport:hover {position: static; background-image:url(../images/navigation/active_support.gif);}
#menuItemabout:hover {position: static; background-image:url(../images/navigation/active_about.gif);}
#menuItemOrder:hover {position: static; background-image:url(../images/navigation/active_order.gif);}
FC Jamison 31 Posting Pro in Training Team Colleague

Web site visitors hate to wait, so many Web designers preload images to speed up page display. Although JavaScript is the most common way to preload images, it isn't your only option. Consider using the CSS DISPLAY property instead. It may be more reliable and it requires less complex code.

First, let's create a class with display set to none and add it to the HEAD section of the page:

<style type="text/css">
.hiddenPic {display:none;}
</style>

Next, we'll add image tags for our images. Always place them at the bottom of the page! If the visitor is at the home page, you certainly want it to display as quickly as possible.

<img src="image1.jpg" 
  alt="image1" title="image1" 
    height="350" width="350" class="hiddenPic">

<img src="image2.jpg" 
  alt="image2" title="image2" 
    height="350" width="350" class="hiddenPic">

<img src="image3.jpg" 
  alt="image3" title="image3" 
    height="350" width="350" class="hiddenPic">

Note that we used the "hidden" class name for each image. Again, the browser will request the image files and save them locally, but will not display them on the page as long as the DISPLAY property is set to none. Don't use that class for every image on your page or none will display!

FC Jamison 31 Posting Pro in Training Team Colleague

What does "change the interface" mean?

FC Jamison 31 Posting Pro in Training Team Colleague

It looks good to me as well.

What browser, resolution, and operating system is your client running?

FC Jamison 31 Posting Pro in Training Team Colleague

Your initial problem should be able to be resolved by preloading the rollover images.

FC Jamison 31 Posting Pro in Training Team Colleague

Try this...

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>The Labyrinth</title>
  </head>
  
  <body>
    
    <a name="top"><h1>The Labyrinth: Old Books/New Readers</h1></a>
    
    <blockquote>
      &quot;Reading is so fun&quot;<br />
      - Tom Wolfe, <cite>Books in NYC</cite>
    </blockquote>
    
    <p>
      The Labyrinth<br />
      151 Varick St.<br />
      Manhattan, NY 10013<br />
      (212) 555-1234
    </p>
    
    <a name="contents"><h2>Contents</h2></a>
    
    <ul>
      <li><a href="#about"><h2>About The Labyrinth</h2></a></li>
      <li><a href="#recent"><h2>Recent Titles</h2></a></li>
      <li><a href="#upcoming"><h2>Upcoming Events</h2></a></li>
    </ul>
    
    <hr />
    
    <a name="about"><h2>About The Labyrinth</h2></a>
    
    <p>
      The Labyrinth is not the typical bookstore offering customers a maze with fantastic reads all the way through.
      The Labyrinth offers:
    </p>
    
    <ul>
      <li>Dungeon walls and maze for the adventurous</li>
      <li>Courteous and helpful staff</li>
      <li>New releases and updated New York Times Best Seller section</li>
    </ul>
    
    <p>Our hours are <strong>10am to 12pm</strong> weekdays,<strong>noon to 10pm</strong> on weekends.</p>
    <p><a href="#contents">Back To Contents</a> | <a href="#top">Back to Top</a></p>
    
    <hr />
    
    <a name="recent"><h2>Recent Titles (as of 17-Nov-2007)</h2></a>
    
    <ul>
      <li>Ian Ayers, <a href="supercrunchers.html"><cite>Supercrunchers</cite></a></li>
      <li>John Perkins, <a href="confessions of an economic hitman.html"><cite>Confessions of an Economic Hitman</cite></a></li>
    </ul>
    
    <p><a href="#contents">Back To Contents</a> | <a href="#top">Back to Top</a></p>
    
    <hr />
    
    <a name="upcoming"><h2>Upcoming Events</h2></a>
    
    <ul>
      <li><b>Coffee and Liquer</b> Show up between 5pm and 7pm on Wednesday and receive complimentary coffees and drinks(adults only).</li>
      <li><b>Monday Madness</b> Monday Sale; buy any two books receive the third one for free.</li>
    </ul>
    
    <p><a href="#contents">Back To Contents</a> | <a href="#top">Back to Top</a></p>
    
    <hr />
    
    <address>
      Last Updated: 17-Nov-2007<br />
      Webmaster: Michael Westfield <a href="mailto:michael@thelabyrinth.com">michael@thelabyrinth.com</a><br />
      &copy; copyright 2007 the Labyrinth<br />
    </address> …
FC Jamison 31 Posting Pro in Training Team Colleague

Can you share the solution for other people to see?

FC Jamison 31 Posting Pro in Training Team Colleague

I like writing my own code in Dreamweaver and then previewing the pages in the different browsers I have installed.

I rarely, if ever, let Dreamweaver write code for me.

FC Jamison 31 Posting Pro in Training Team Colleague

Here is a sample page with the stripped down code for fixed divs.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

  <head>
    <title>Making Internet Explorer use position: fixed;</title>
    <style type="text/css">
      #fixme { position: absolute; left: 10px; top: 10px; }
      #fixmetoo { position: absolute; right: 100px; bottom: 100px; }
      div > div#fixme { position: fixed; }
      div > div#fixmetoo { position: fixed; }
    </style>
    <!--[if gte IE 5.5]>
      <![if lt IE 7]>
        <style type="text/css">
          div#fixme { 
            left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
            top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
          }
					
          div#fixmetoo {
            right: auto; bottom: auto;
            left: expression( ( 0 - fixmetoo.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
            top: expression( ( 0 - fixmetoo.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
          }
        </style>
      <![endif]>
    <![endif]-->

  </head>
  <body>
	
    <div id="content">
		
      <p>Test</p>
      <p>Test</p>
      <p>Test</p>
      <p>Test</p>
      <p>Test</p>
      <p>Test</p>
      <p>Test</p>
      <p>Test</p>
      <p>Test</p>
      <p>Test</p>
      <p>Test</p>
      <p>Test</p>
      <p>Test</p>
      <p>Test</p>
      <p>Test</p>
      <p>Test</p>
      <p>Test</p>
      <p>Test</p>
      <p>Test</p>
      <p>Test</p>
      <p>Test</p>
      <p>Test</p>
      <p>Test</p>
      <p>Test</p>
      <p>Test</p>
      <p>Test</p>
      <p>Test</p>
      <p>Test</p>
			
      <div id="fixme" style="border:2px solid #000;background-color:#fff;text-align:center;padding:10px;">
        F<br>
        i<br>
        x<br>
        &nbsp;<br>
        M<br>
        e
      </div>
			
      <div id="fixmetoo" style="border:2px solid #000;background-color:#fff;text-align:center;padding:10px;">
        F<br>
        i<br>
        x<br>
        &nbsp;<br>
        M<br>
        e<br>
        &nbsp;<br>
        T<br>
        o<br>
        o
      </div>
			
    </div>
	
  </body>
</html>
FC Jamison 31 Posting Pro in Training Team Colleague

That sounds like something that is going to require javascript.

Edit:
I did find something that might help you here.

FC Jamison 31 Posting Pro in Training Team Colleague

I was unable to duplicate the error using IE7. Have you experienced this problem yourself?