PC Review Forums Newsgroups Microsoft Word Microsoft Frontpage FP Generated DIV height display cross browsers

Reply

FP Generated DIV height display cross browsers

 
Thread Tools Rate Thread
Old 06-11-2003, 05:23 AM   #1
just me
Guest
 
Posts: n/a
Default FP Generated DIV height display cross browsers


Greetings,
Using FP to build pages, things appear fine in the preview window and in IE.
However Netscape and Opera displays page layouts all over the place. I have
tracked this to the DIV tags which FP inserts with incorrect settings - the
height setting is too small. I can manually adjust this - or remove it -
page at a time, but this isn't really satisfactory.
Can anyone advise a permanent solution?


  Reply With Quote
Old 06-11-2003, 08:40 AM   #2
Stefan B Rusynko
Guest
 
Posts: n/a
Default Re: FP Generated DIV height display cross browsers

Don't use absolute positioning
- caused by dragging things around your pages
(unless you understand how to make it cross browser compatible)

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"just me" <spam@nothanks.com> wrote in message news:EMlqb.4991$lm1.30942@wards.force9.net...
| Greetings,
| Using FP to build pages, things appear fine in the preview window and in IE.
| However Netscape and Opera displays page layouts all over the place. I have
| tracked this to the DIV tags which FP inserts with incorrect settings - the
| height setting is too small. I can manually adjust this - or remove it -
| page at a time, but this isn't really satisfactory.
| Can anyone advise a permanent solution?
|
|


  Reply With Quote
Old 06-11-2003, 10:57 AM   #3
jon spivey
Guest
 
Posts: n/a
Default Re: FP Generated DIV height display cross browsers

Hi,

you should never insert a height setting for a positioned div - the only
exception would be if you're defining a clip rectangle. I know this is not
ideal but you should delete the height setting each time you use insert
layer. Or as an alternative define your divs in your stylesheet, eg
<style type="text/css">
#myDiv{
position:absolute;
top:10px;
left:10px;
width:100px;
}
</style>
and then
<div id="myDiv">
....stuff.....
</div>
This is particularly good if you're using the same div on multiple pages, eg
for a menu etc. A div will always expand vertically to hold whatever content
you put in.

--
Jon
Microsoft MVP - FP

"just me" <spam@nothanks.com> wrote in message
news:EMlqb.4991$lm1.30942@wards.force9.net...
> Greetings,
> Using FP to build pages, things appear fine in the preview window and in

IE.
> However Netscape and Opera displays page layouts all over the place. I

have
> tracked this to the DIV tags which FP inserts with incorrect settings -

the
> height setting is too small. I can manually adjust this - or remove it -
> page at a time, but this isn't really satisfactory.
> Can anyone advise a permanent solution?
>
>



  Reply With Quote
Old 06-11-2003, 06:31 PM   #4
just me
Guest
 
Posts: n/a
Default Re: FP Generated DIV height display cross browsers

Hi,
I didn't insert the tag - FP did!
Just out of interest, why is a DIV tag with an inaccurate height setting
inserted at all?
And how come IE renders these inaccurate settings as if they were correctly
set, whilst other browsers render them as written?


"jon spivey" <jon@roksteady.net> wrote in message
news:#Tl$20FpDHA.2528@TK2MSFTNGP10.phx.gbl...
> Hi,
>
> you should never insert a height setting for a positioned div - the only
> exception would be if you're defining a clip rectangle. I know this is not
> ideal but you should delete the height setting each time you use insert
> layer. Or as an alternative define your divs in your stylesheet, eg
> <style type="text/css">
> #myDiv{
> position:absolute;
> top:10px;
> left:10px;
> width:100px;
> }
> </style>
> and then
> <div id="myDiv">
> ...stuff.....
> </div>
> This is particularly good if you're using the same div on multiple pages,

eg
> for a menu etc. A div will always expand vertically to hold whatever

content
> you put in.
>
> --
> Jon
> Microsoft MVP - FP
>
> "just me" <spam@nothanks.com> wrote in message
> news:EMlqb.4991$lm1.30942@wards.force9.net...
> > Greetings,
> > Using FP to build pages, things appear fine in the preview window and in

> IE.
> > However Netscape and Opera displays page layouts all over the place. I

> have
> > tracked this to the DIV tags which FP inserts with incorrect settings -

> the
> > height setting is too small. I can manually adjust this - or remove it -
> > page at a time, but this isn't really satisfactory.
> > Can anyone advise a permanent solution?
> >
> >

>
>




  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off