HTML template shows different when put as is in framework

1 view
Skip to first unread message

Marco van den Oever

unread,
Nov 23, 2009, 6:20:26 PM11/23/09
to farcry-dev
I have a HTML template, when i view the original one it's all OK in
Internet Explorer, when i put it in my displayPage1col.cfm page (copy
paste from original that shows OK) the divs in the middle are not in
place anymore.

My question is, what is influencing this, it's exactly the same code
but now put into displayPage1col.cfm, so between the
displayHeaderStandard and displayFooterStandaard pages.

I only use a css style that belongs to the original HTML template.
Updated app, removed the javascript stuff just to check.... What else
could it be?

Anyone any insights?

Thanks.

Tomek Kott

unread,
Nov 23, 2009, 6:30:38 PM11/23/09
to farcr...@googlegroups.com
it's almost definitely css. Use a tool like firebug on firefox, developers tools on safari, or F12 (I forget the name) on IE8. Look at what the div's are inhereting, they're probably inhereting some odd behavior from base styles.

I would always develop style in situ

Tomek


--
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcr...@googlegroups.com
To unsubscribe, email: farcry-dev+...@googlegroups.com
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry

Marco van den Oever

unread,
Nov 23, 2009, 6:30:43 PM11/23/09
to farcry-dev
Funny how putting a question sometimes can lead to your own
answer.....

I replaced Molio HTML tag with:

<!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">

Now it works.....

On Nov 24, 12:20 am, Marco van den Oever <marcovandenoe...@gmail.com>
wrote:

Marco van den Oever

unread,
Nov 23, 2009, 6:31:25 PM11/23/09
to farcry-dev
Thanks Tomek, our answers crossed :)

On Nov 24, 12:30 am, Marco van den Oever <marcovandenoe...@gmail.com>
wrote:

Chris Kent

unread,
Nov 23, 2009, 6:33:53 PM11/23/09
to farcry-dev
Marco,

Most webskins use <cfsetting enablecfoutputonly="true" />

Wrap your html in cfoutput tags.

Chris.

On Nov 23, 11:20 pm, Marco van den Oever <marcovandenoe...@gmail.com>
wrote:

Tomek Kott

unread,
Nov 23, 2009, 6:57:52 PM11/23/09
to farcr...@googlegroups.com
also, I would suggest keeping the doctype, since I've found it actually makes programming for IE easier... I guess maybe the xmlns statement does the same thing, but I was having lots of problems between firefox & IE until I provided the doctype I needed....

just 2 cents

Marco van den Oever

unread,
Nov 23, 2009, 7:26:22 PM11/23/09
to farcry-dev
It was indeed just the doctype, just checked it, so just the doctype
works....
This is really great and i guess most of my previous problems with ie
were due to this....

Thanks.

On Nov 24, 12:57 am, Tomek Kott <tkott.s...@gmail.com> wrote:
> also, I would suggest keeping the doctype, since I've found it actually
> makes programming for IE easier... I guess maybe the xmlns statement does
> the same thing, but I was having lots of problems between firefox & IE until
> I provided the doctype I needed....
>
> just 2 cents
>
> On Mon, Nov 23, 2009 at 6:33 PM, Chris Kent <mxdes...@gmail.com> wrote:
> > Marco,
>
> > Most webskins use <cfsetting enablecfoutputonly="true" />
>
> > Wrap your html in cfoutput tags.
>
> > Chris.
>
> > On Nov 23, 11:20 pm, Marco van den Oever <marcovandenoe...@gmail.com>
> > wrote:
> > > I have a HTML template, when i view the original one it's all OK in
> > > Internet Explorer, when i put it in my displayPage1col.cfm page (copy
> > > paste from original that shows OK) the divs in the middle are not in
> > > place anymore.
>
> > > My question is, what is influencing this, it's exactly the same code
> > > but now put into displayPage1col.cfm, so between the
> > > displayHeaderStandard and displayFooterStandaard pages.
>
> > > I only use a css style that belongs to the original HTML template.
> > > Updated app, removed the javascript stuff just to check.... What else
> > > could it be?
>
> > > Anyone any insights?
>
> > > Thanks.
>
> > --
> > You received this message cos you are subscribed to "farcry-dev" Google
> > group.
> > To post, email: farcr...@googlegroups.com
> > To unsubscribe, email: farcry-dev+...@googlegroups.com<farcry-dev%2Bunsu...@googlegroups.com>
Reply all
Reply to author
Forward
0 new messages