3 replies [Last post]
loudsox04
Offline
Regular
Boston, MA
Last seen: 18 years 21 weeks ago
Boston, MA
Timezone: GMT-4
Joined: 2004-07-06
Posts: 33
Points: 0

I know this may not be the best place for me to ask questions about frontpage, but I'll give it a shot. Here's my problem: I designed a webpage for my company's internal site using many floats contained by divs. I didn't even realise this was a problem because I used javascript to hide all the other container divs when one was showing. But! In the frontpage editor they disable the javascript (and rightly so) so that all the container divs are visible at the same time. Because this page will be frequently updated by people who've never even heard of HTML, the page needs to be frontpage friendly. But, because the container divs won't stretch to include their floats, the container divs all flowing together creates a horizontal mess (I'd show you a pic if it wasn't internal company info) instead of a nice vertical listing of container div after container div.
So I took out the javascript that hid the other container divs to preview it in internet explorer. It was the exact same problem.
I spent a long time searching on the internet (and this forum!) for workarounds to this float container problem. Just setting height: 1px to the container fixed the problem completely in IE and firefox (and it previewed correctly in Frontpage). Clear: both worked too, but seemed unneccessary because the height thing worked.
But of course the only place where this (and every other workaround I tried) did not work was in Front Page. Until now all of my css has been interpreted in front page the same as it was in IE. I'm dangerously close to assaulting my computer. Any suggestions or insight into how frontpage reads, interprets, and displays HTML? I figured it was the same as IE... Should I email front page tech support (I'm sure they'd be thrilled to help)? Oh and if it makes any difference, I'm using frontpage 2000. Thanks in advance to anyone who can give me even the smallest bit of advice! - Jen

Tags:
drhowarddrfine
Offline
Leader
Last seen: 12 years 52 weeks ago
Timezone: GMT-6
Joined: 2005-05-21
Posts: 764
Points: 0

About to pull my hair out - frontpage and nested floats

Quote:
Any suggestions or insight into how frontpage reads, interprets, and displays HTML?

Microsoft can't figure it out either. Wink

You may be fighting a problem with, what is to some extent, automated code generation. Since all this combined is in such a state of flux and misinterpretation, (read: IE), I don't know what kind of luck you would having doing this with frontpage.

IE7 is 10 years behind the standards or wrong.
But it works in IE!
IE is a cancer on the web -- Paul Thurott

Lorraine
Lorraine's picture
Offline
Elder
UK
Last seen: 16 years 14 weeks ago
UK
Timezone: GMT+1
Joined: 2005-01-04
Posts: 1001
Points: 0

About to pull my hair out - frontpage and nested floats

Hi Jen
It seems to me you've worked hard to get this page off the ground and have included some complicated constructs. What sort of update are you going to allow a non-html or FrontPage person to perform directly on the page? As you know FrontPage is not for the timid - you have to control it, not vice versa.

If the update is to the structure then it should be performed by someone who knows what they are doing. If you are talking about updates to the text/content, then there are ways to "include" an additional file in an already structured page, so that the company staff can update a very simple file that will be uploaded into the correct area of the page by the server. No need for them to preview in anything as you will already have covered how it will render and you will have tested, tested, tested before unleashing it.

If you know all about this technique - stop now Smile

Otherwise, check with your network people what features the relevant server has - ASP, SSI, PHP. This link will give you brief explanation of ASP and SSI:
http://searchwin2000.techtarget.com/sDefinition/0,,sid1_gci213787,00.html
and a Google for PHP should cover this third one.

On the assumption you are a Microsoft house, ASP is the most likely and this link will introduce you to the technique and provide some standard scripts.
http://www.asptutorial.info/

HTH
Lorraine

loudsox04
Offline
Regular
Boston, MA
Last seen: 18 years 21 weeks ago
Boston, MA
Timezone: GMT-4
Joined: 2004-07-06
Posts: 33
Points: 0

About to pull my hair out - frontpage and nested floats

Thanks a lot Lorraine - I think that's the route I'm gonna have to take. Also that way people won't accidently screw up the structure of the page. I'll look into it. Smile