Layout & Frames



 DEVELOP > Dreamweaver > Layout & Frames

LINK TO THIS PAGE  


rating :  0   |  0


  Page 1 of 1

1

 
Topic: DEVELOP > Dreamweaver
User: "tasetliff"
Date: 18 Dec 2006 10:31:05 PM
Object: Layout & Frames
I'm doing some web pages in DW. I've used frames in one page that had a
graphic. I have two columns in the first row and one column in the second
row.. The layout in DW is perfect. The first row has text in the first column
and a 320 X 240 graphic. I've set the text frame to a height of 240 and the
height of the graphic frame to 240. I've set the width to 480 on the text
frame and the width of the graphic frame to 320. I'm trying to get the online
to look like the layout.
It didn't work - the text pushed the frame down so that the graphic was
centered - there was about an inch of space above the graphic and about an inch
below the graphic. Nothing I do corrects the problem.
I downloaded a trial of GoLive - opened the same page in GL, saved it,
uploaded and it was almost perfect.
I've purchased DW, so I don't want to buy GL. Do any of you know how to get
DW to be precise?
Thanks and Merry Christmas to all.
Tim
.

User: "tasetliff"

Title: Re: Layout & Frames 19 Dec 2006 06:57:06 AM
CODE
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Eric &amp; Papa Adventures</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
BODY
{scrollbar-face-color: #780000;
scrollbar-shadow-color: #000000;
scrollbar-highlight-color: #d8d4d8;
scrollbar-track-color: #d8d4d8;
scrollbar-arrow-color: #000000;}
-->
</style>
</head>
<body>
<h4>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
rsion=6,0,29,0" width="800" height="50">
<param name="movie" value="banner.swf">
<param name="quality" value="high">
<embed src="banner.swf" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="800" height="50"></embed>
</object>
</h4>
<table width="800" border="0">
<tr>
<td width="460"><h4><font color="#780000" face="Arial, Helvetica,
sans-serif">Adventures of Eric and Papa!!</font></h4>
<p align="justify"><font face="Arial, Helvetica, sans-serif"><font
size="2">There is nothing like a grandfather and grandson fishing. It is a time
to bond, relax and fish. My grandson Eric is 12 years old and is for sure my
little fishing buddy. When I was a child, neither my father nor grandfathers
ever did much of anything with me. When my daughter and her family moved to
Florida two years ago, I made a promise that I would not be an absentee
grandfather. <br>
<br>
</font><font size="2" face="Arial, Helvetica, sans-serif">Eric and I went
bass fishing at a small lake near where we live. Before long, Eric had snagged
a bread bag full of water. At that very moment, I noticed a slight movement in
the water. I yelled, 'Eric, back up.' Before he could move, the bag fell off
his hook and hit the water. A big gator jumped to get the bag. Eric dropped his
rod and ran as hard as he could run. When he got to the road, he just kept
right on running</font>.<font size="2"> <br>
</font></font></p></td>
<td width="330" align="center" valign="middle" nowrap><table width="330"
border="0">
<tr>
<td><img src="../graphics/eric.jpg" width="320" height="240"></td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="2"><p align="justify"><font size="2" face="Arial, Helvetica,
sans-serif">We gathered the gear and went home. That was all the fishing he
wanted to do for that day. My daughter, Jennifer, Eric's mother threw a fit.
'You took my son to a lake with gators?' I replied, 'you are in Florida, lakes
have gators and oceans have sharks.' We were grounded from fishing until Eric's
parents realized that I was watching him carefully and that he wasn't in real
danger, as I was close enough to pull him from any harm.</font></p>
<p align="justify"><font size="2" face="Arial, Helvetica,
sans-serif">Two days later, I went back to the lake. The gator was in the
middle of the lake. As soon as he saw me, he swam right up to where I was
standing. Someone had fed the gator. I called Florida Wildlife Commission, the
gator had to be removed because he had lost his fear of humans. Its a shame
that people won't follow common sense rules.</font></p>
<p align="justify"><font size="2" face="Arial, Helvetica,
sans-serif">One day, we went to the Skyway Bridge to fish. It was cold and
rainy. The fish were not biting. We fished for two hours without one nibble. It
started to rain so I asked him if he was ready to go. He asked me if we could
stay and wait out the rain. It took an hour for the rain to stop. We fished for
two more hours and never got one bite. On the way home, I said, 'I wish we
could have caught some fish.' Eric replied, 'Papa, its the sport that counts.'
That might be good enough for him but I want some fish. </font></p>
<p align="justify"><font size="2" face="Arial, Helvetica,
sans-serif">Recently, we went wade fishing near the Gandy Bridge. The fishing
was good if you like to catch catfish. The water was chilly for a June day. I
caught Eric when he wasn't looking and splashed cold water all over his little
bare back. He screamed and laughed hard. A few minutes later, he had a bucket
of water ready to dump on Papa's back. He wasn't fast enough. </font></p>
<p align="justify"><font size="2" face="Arial, Helvetica,
sans-serif">The special part of that day came later. I looked over at that
little guy and the look on his face was amazing. His face showed pure
contentment. He appeared to be the happiest boy on earth. There is nothing like
spending time with a child fishing. </font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">If you have a son,
daughter, or grandchild - take 'em fishing! You will never regret the time you
spend.</font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">Papa (Tim A.
Setliff)</font></p></td>
</tr>
</table>
<h4>&nbsp;</h4>
</body>
</html>
.
User: "Murray *ACE*"

Title: Re: Layout & Frames 19 Dec 2006 07:04:38 AM
See why one should always post code? There is no use of frames here.
First, some general comments -
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
This looks like it was inserted by DMX (6.x) - right? That doctype will
place IE5x/IE6x into quirks mode, when is not a good thing. Try changing it
to this -
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
which will allow IE to render your page in Standards mode instead.

<style type="text/css">
<!--
BODY

When you make that change, you'll have to also make this change -
<style type="text/css">
<!--
html, BODY
which will allow you to continue seeing this IE/PC only styling of the
scrollbar.
Now, for your alignment problem, change this -
<td><img src="../graphics/eric.jpg" width="320" height="240"></td>
to this -
<td valign="top"><img src="../graphics/eric.jpg" width="320"
height="240"></td>
and see what happens.
By the way, you may enjoy reading this -
http://apptools.com/rants/spans.php
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"tasetliff" <webforumsuser@macromedia.com> wrote in message
news:em8nj2$goq$1@forums.macromedia.com...

CODE

.


User: "*mista*"

Title: Re: Layout & Frames 18 Dec 2006 10:48:36 PM
For the cell containing the graphic image try this
<td valign="top"><img src="PATH_TO_GRAPHIC" align="top"></td>
The text is re-sizeable depending on the viewer's choice. If I set the
text-size to a large size, since the cell has a defined width of 480px, the
text expands the cell in height. When this happens the other cell in the row (
the one containing the grapic) also expands. You cannot really stop this from
happening.
.

User: "Murray *ACE*"

Title: Re: Layout & Frames 19 Dec 2006 06:02:08 AM
This is a code problem not an authoring system problem. Show us your code,
and someone will tell you how to fix it. Otherwise, you'll only get
guesses....
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"tasetliff" <webforumsuser@macromedia.com> wrote in message
news:em7pu9$egg$1@forums.macromedia.com...

I'm doing some web pages in DW. I've used frames in one page that had a
graphic. I have two columns in the first row and one column in the second
row.. The layout in DW is perfect. The first row has text in the first
column
and a 320 X 240 graphic. I've set the text frame to a height of 240 and
the
height of the graphic frame to 240. I've set the width to 480 on the text
frame and the width of the graphic frame to 320. I'm trying to get the
online
to look like the layout.

It didn't work - the text pushed the frame down so that the graphic was
centered - there was about an inch of space above the graphic and about an
inch
below the graphic. Nothing I do corrects the problem.

I downloaded a trial of GoLive - opened the same page in GL, saved it,
uploaded and it was almost perfect.

I've purchased DW, so I don't want to buy GL. Do any of you know how to
get
DW to be precise?

Thanks and Merry Christmas to all.
Tim


.


  Page 1 of 1

1

 


Related Articles
 

NEWER

pg.4672     pg.3585     pg.2749     pg.2106     pg.1612     pg.1232     pg.940     pg.716     pg.544     pg.412     pg.311     pg.234     pg.175     pg.130     pg.96     pg.70     pg.50     pg.35     pg.24     pg.16     pg.10     pg.6     pg.3     pg.1

OLDER