Adobe Dreamweaver Forums



Last 10 THreads :         compilation error (Last Post : Murray *ACE* - Replies : 2 - Views : 3 )           »          Give a checkbox a variable name. (Last Post : NedWebs - Replies : 2 - Views : 3 )           »          Is there an easier or neater way to code this... (Last Post : twistedpancreas - Replies : 0 - Views : 1 )           »          A New Joke Website (Last Post : nightwolf666 - Replies : 6 - Views : 7 )           »          Flash Player 10, problem with emdended fonts andattachment (Last Post : plasmaflex - Replies : 2 - Views : 3 )           »          DWCS4 Effects>Appear on DIV background image? (Last Post : Murray *ACE* - Replies : 4 - Views : 5 )           »          flash and wide-gamut monitors (Last Post : tonton66 - Replies : 1 - Views : 3 )           »          creating links between Fireworks images (Last Post : Murray *ACE* - Replies : 4 - Views : 5 )           »          CS4 Div Tags Help Needed (Last Post : Murray *ACE* - Replies : 6 - Views : 7 )           »          absolute images (Last Post : Murray *ACE* - Replies : 1 - Views : 2 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Dreamweaver: Main > Dreamweaver General
 
Tags: ,



Reply
  #1 (permalink)  
Old 07-23-2008, 10:12 AM
Ads901
 
Posts: n/a
Diggs:
Default Layout Query

Morning All

I have a Firefox layout problem, which is proving very diffiicult to solve,
and any help would be much appreciated!

If you look at this page http://www.market-monitor.co.uk/ in Firefox and then
in IE7 you will see that the black footer is appearing different, with the text
positioned correctly in IE, but in Firefox it is moving the text away from the
black background.

Can someone please help to find out how i can solve it!

Thanks



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-23-2008, 11:11 AM
Malcolm _
 
Posts: n/a
Diggs:
Default Re: Layout Query

On Wed, 23 Jul 2008 09:04:31 +0000 (UTC), "Ads901"
<webforumsuser@macromedia.com> wrote:

>Morning All
>
> I have a Firefox layout problem, which is proving very diffiicult to solve,
>and any help would be much appreciated!
>
> If you look at this page http://www.market-monitor.co.uk/ in Firefox and then
>in IE7 you will see that the black footer is appearing different, with the text
>positioned correctly in IE, but in Firefox it is moving the text away from the
>black background.
>
> Can someone please help to find out how i can solve it!
>
> Thanks



You still have a validation issue

http://validator.w3.org/check?uri=ht...up=0&verbose=1


<link rel="shortcut icon" href="favicon.ico"/>

?

The sequence <FOO /> can be interpreted in at least two different
ways, depending on the DOCTYPE of the document. For HMTL 4.01 Strict,
the '/' terminates the tag <FOO (with an implied '>'). However, since
many browsers don't interpret it this way, even in the presence of an
HMTL 4.01 Strict DOCTYPE, it is best to avoid it completely in pure
HTML documents and reserve its use solely for those written in XHTML.

remove the backslash.
revalidate and most of the following apparent errors may have
disappeared.

or just change the code to xhtml with Dw's File | Convert :-)) - but
don't let Micha see it :-))
--

~Malcolm~*...
~*
Reply With Quote
  #3 (permalink)  
Old 07-23-2008, 12:27 PM
Malcolm _
 
Posts: n/a
Diggs:
Default Re: Layout Query

On Wed, 23 Jul 2008 09:04:31 +0000 (UTC), "Ads901"
<webforumsuser@macromedia.com> wrote:

>Morning All
>
> I have a Firefox layout problem, which is proving very diffiicult to solve,
>and any help would be much appreciated!
>
> If you look at this page http://www.market-monitor.co.uk/ in Firefox and then
>in IE7 you will see that the black footer is appearing different, with the text
>positioned correctly in IE, but in Firefox it is moving the text away from the
>black background.
>
> Can someone please help to find out how i can solve it!
>
> Thanks


Oh and also - the problem when viewed with IE6 is still there.

the main content is still below both left and right divs, probably
caused by the vertical line of right if the "left" div being about
15px further right than in IE7 and FF etc.

--

~Malcolm~*...
~*
Reply With Quote


  #4 (permalink)  
Old 07-23-2008, 12:27 PM
Ads901
 
Posts: n/a
Diggs:
Default Re: Layout Query

Yeah i have tried to reduce the sizing in the main content area - but obviously it still isnt working!

Will the validation error sort out the problem in Firefox then?
Reply With Quote
  #5 (permalink)  
Old 07-23-2008, 12:27 PM
Malcolm _
 
Posts: n/a
Diggs:
Default Re: Layout Query

On Wed, 23 Jul 2008 10:35:17 +0000 (UTC), "Ads901"
<webforumsuser@macromedia.com> wrote:

>Yeah i have tried to reduce the sizing in the main content area - but obviously it still isnt working!
>
>Will the validation error sort out the problem in Firefox then?


well - FF is stricter than IE, ( good thing in my view as it makes you
get the code right :-)

why not just try it ?

The way I do it - is check validation, and work my way down the list
one at a time ( unless I see an obvious problem ) reload to server and
revalidate. The W3C validation tool isn't perfect and if theres a
problem at top of file, it often can't sort out valid code further
down.

I'll look at box with phone number again
--

~Malcolm~*...
~*
Reply With Quote
  #6 (permalink)  
Old 07-23-2008, 12:27 PM
Ads901
 
Posts: n/a
Diggs:
Default Re: Layout Query

Thanks Malcolm I really appreciate your help.

The isue I have with the validation is that it is saying that it is saying
that the 'LINK' and 'STYLE' elements are not supported - and that the closing
'>' is the problem. If I remove the arrow then the code doesnt work - so the
way i see it is that the only option i have is to change the Doc Type to XHTML
- would you agree?

Reply With Quote


  #7 (permalink)  
Old 07-23-2008, 01:16 PM
Murray *ACE*
 
Posts: n/a
Diggs:
Default Re: Layout Query

> The sequence <FOO /> can be interpreted in at least two different
> ways, depending on the DOCTYPE of the document. For HMTL 4.01 Strict,
> the '/' terminates the tag <FOO (with an implied '>').


<FOO /> is strictly XHTML tag syntax. It does not belong, and will not
validate in a page with an HTML doctype.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"Malcolm _" <malcom@mon.org> wrote in message
news:uuvd84pigm8lbstc5v1f28h3tgnmdn2lef@4ax.com...
> On Wed, 23 Jul 2008 09:04:31 +0000 (UTC), "Ads901"
> <webforumsuser@macromedia.com> wrote:
>
>>Morning All
>>
>> I have a Firefox layout problem, which is proving very diffiicult to
>> solve,
>>and any help would be much appreciated!
>>
>> If you look at this page http://www.market-monitor.co.uk/ in Firefox and
>> then
>>in IE7 you will see that the black footer is appearing different, with the
>>text
>>positioned correctly in IE, but in Firefox it is moving the text away from
>>the
>>black background.
>>
>> Can someone please help to find out how i can solve it!
>>
>> Thanks

>
>
> You still have a validation issue
>
> http://validator.w3.org/check?uri=ht...up=0&verbose=1
>
>
> <link rel="shortcut icon" href="favicon.ico"/>
>
> ?
>
> The sequence <FOO /> can be interpreted in at least two different
> ways, depending on the DOCTYPE of the document. For HMTL 4.01 Strict,
> the '/' terminates the tag <FOO (with an implied '>'). However, since
> many browsers don't interpret it this way, even in the presence of an
> HMTL 4.01 Strict DOCTYPE, it is best to avoid it completely in pure
> HTML documents and reserve its use solely for those written in XHTML.
>
> remove the backslash.
> revalidate and most of the following apparent errors may have
> disappeared.
>
> or just change the code to xhtml with Dw's File | Convert :-)) - but
> don't let Micha see it :-))
> --
>
> ~Malcolm~*...
> ~*


Reply With Quote
  #8 (permalink)  
Old 07-23-2008, 01:16 PM
Michael Fesser
 
Posts: n/a
Diggs:
Default Re: Layout Query

.oO(Murray *ACE*)

>> The sequence <FOO /> can be interpreted in at least two different
>> ways, depending on the DOCTYPE of the document. For HMTL 4.01 Strict,
>> the '/' terminates the tag <FOO (with an implied '>').

>
><FOO /> is strictly XHTML tag syntax. It does not belong, and will not
>validate in a page with an HTML doctype.


Depends on where it's used. In HTML <FOO /> is equivalent to <FOO>> - a
tag followed by a literal ">"! Almost no browser interprets it that way,
but so are the SGML rules.

If you use such a tag in the head of an HTML document, the validator
will complain, because the 'head' element doesn't allow character data.
But if you use it somewhere in the body, the validator will accept it
(with the warning posted by Malcom).

Micha
Reply With Quote
  #9 (permalink)  
Old 07-23-2008, 01:16 PM
Michael Fesser
 
Posts: n/a
Diggs:
Default Re: Layout Query

.oO(Ads901)

>Thanks Malcolm I really appreciate your help.
>
> The isue I have with the validation is that it is saying that it is saying
>that the 'LINK' and 'STYLE' elements are not supported - and that the closing
>'>' is the problem. If I remove the arrow then the code doesnt work - so the
>way i see it is that the only option i have is to change the Doc Type to XHTML
>- would you agree?


No. Just remove the trailing slash from the first link tag as already
suggested and most of the errors will vanish. The error messages might
be confusing, but from the parser's point of view they're correct.

In HTML the "/" terminates the link tag, the following ">" is seen as
character data, which is not allowed in the document head. This causes
the 'head' element to be closed implicitly, so all following 'link' and
'style' elements are already seen as part of the body. That's why you
get such weird looking error messages, even though they're accurate.

Micha
Reply With Quote


  #10 (permalink)  
Old 07-23-2008, 01:43 PM
Malcolm _
 
Posts: n/a
Diggs:
Default Re: Layout Query

On Wed, 23 Jul 2008 07:14:21 -0400, "Murray *ACE*"
<forums@HAHAgreat-web-sights.com> wrote:

>> The sequence <FOO /> can be interpreted in at least two different
>> ways, depending on the DOCTYPE of the document. For HMTL 4.01 Strict,
>> the '/' terminates the tag <FOO (with an implied '>').

>
><FOO /> is strictly XHTML tag syntax. It does not belong, and will not
>validate in a page with an HTML doctype.


I was quoting the exact words of the validator - sorry I missed the
quotation marks.

But I'm glad I got it correct as you and Micha have confirmed :-)
--

~Malcolm~*...
~*
Reply With Quote
Reply


Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 01:44 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk