Skip navigation
David Burkhart
Currently Being Moderated

CS5: Error with single-column single-row frameset

Aug 3, 2010 12:16 PM

I've tried everything I can think of to get Dreamweaver to accept a framset consisting of one column and one row. Though valid, Dreamweaver does not seem to accept this, displaying an error message and adding a second row (without asking). The error message is "Frameset contains no ROWS or COLS values. Defaulting to 2 rows."

 

Here is an example:

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

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Untitled Document</title>

</head>

<frameset rows="100%" frameborder="no" border="0" framespacing="0">

<frame src="http://sites.google.com/site/test1" name="mainFrame" id="mainFrame" title="mainFrame" />

</frameset>

<noframes><body>

</body></noframes>

</html>

 

Since someone will undoubtedly ask why I am doing this, I'll go ahead and give the answer. The short answer is that the site is a Google Sites site using a custom domain. More specifically, I am using a frameset for the following reasons:

  1. Domain Frame Redirect
    • Using a frameset is a common technique for redirecting a browser to a different domain while still displaying the original domain in the address bar. This little deception is necessary to avoid visitors being confused by the domain changing to something other than what they expect to see.
  2. Complete Analytic Data
    • All analytic data concerning where visitors come from would be lost without a frame redirect. Visitors would always appear to be coming from the custom domain. But, since the frameset is hosted under the custom domain and not the Google Sites domain, the tracking code can span both domains.
  3. Unique Landing Page
    • A frame redirect allows use of a unique landing page. Google Sites inherently requires every page to use the same overall layout. However, a frame redirect can point to a custom landing page hosted with the frameset where it is not restricted at all by Google Sites. The custom landing page will then have each link pointing to a page on the Google Sites site

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points