HighDots Forums  

Spacing Problem in Explorer

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss Spacing Problem in Explorer in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
WPW07
 
Posts: n/a

Default Spacing Problem in Explorer - 02-06-2008 , 07:49 AM






Hello,

I have several pages that contain the code below. All the pages all
look great in Firefox. But in IE6 and IE7, there is a problem--white
space vanishes and the text is too close to the objects above it.
Specifically, The <h3>Page Title</h3>appears too close underneath the
logo at the top of the page <td width="96%"><img src="../images/
mainnav_logo.jpg" /></td>. It's fine in Firefox, however.

Any ideas and help is greatly appreciated.

Thank you,


======================
Here's the code.

<style type="text/css">
<!--
body {
background-color: #878737;
}
-->
</style></head>
<body text="#333333" vlink="#333333" alink="#333333" leftmargin="0"
topmargin="0" marginwidth="0" marginheight="0">
<TABLE width="800" border=0 align="center" cellpadding=0 cellspacing=0
bgcolor="#FFFFFF">
<TBODY>
<tr>
<td width="2%">&nbsp;</td>
<td width="96%"><img src="../images/mainnav_logo.jpg" /></td>
<td width="2%">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<h3>Page Title</h3>


Reply With Quote
  #2  
Old   
Andy Dingley
 
Posts: n/a

Default Re: Spacing Problem in Explorer - 02-06-2008 , 08:07 AM






On 6 Feb, 13:49, WPW07 <wwisnie... (AT) gmail (DOT) com> wrote:

Quote:
I have several pages that contain the code below.
Post a URL not the page code, and certainly not a fragment.

Quote:
All the pages all look great in Firefox. But in IE6 and IE7, there is a problem--white
space vanishes and the text is too close to the objects above it.
Which doctype declaration are you using and are you rendering with
strict or quirks mode? This is quite possible to be your problem, but
we can't tell because you didn't post a URL.

Additionally, your coding style is 10 years out of date. <table>
markup, 3.2 presentational attributes, no use of CSS. Few people will
work to fix such markup, it's better overall to start again and do it
clean. However you didn't post a URL to the whole page, so we can't
comment in any more detail.


Reply With Quote
  #3  
Old   
Andreas Prilop
 
Posts: n/a

Default Re: Spacing Problem in Explorer - 02-06-2008 , 08:20 AM



On Wed, 6 Feb 2008, WPW07 wrote:

Quote:
Here's the code.

style type="text/css"
!--
It is really nice that you care about readers with Netscape 2.
However, many already have Netscape 3. And Netscape 3 does not
need these pseudo-comment markers any more.

You should also try out Netscape 3!

--
In memoriam Alan J. Flavell
http://groups.google.com/groups/sear...Alan.J.Flavell


Reply With Quote
  #4  
Old   
Rik Wasmus
 
Posts: n/a

Default Re: Spacing Problem in Explorer - 02-06-2008 , 07:37 PM



On Wed, 06 Feb 2008 20:42:41 +0100, WPW07 <wwisnieski (AT) gmail (DOT) com> wrote:

Quote:
On Feb 6, 1:02 pm, Andy Dingley <ding... (AT) codesmiths (DOT) com> wrote:
On 6 Feb, 14:47, WPW07 <wwisnie... (AT) gmail (DOT) com> wrote:
Thanks Andy. I'll check out that book. And thankfully, I didn't have
to dole out the $$ for the dreamweaver, it's used at at work. I'm
curious though, why do I keep reading things like ...

"one of XHTML 's most important gifts is that its insistence on
standards makes it more likely to be properly and consistently
supported by current browsers, on all pataforms--which makes good
business sense." (HTML for the WWW -- Castro)

when in reality, not many developers are adopting it?.
There is/are some widely used UA('s) which don't adopt it well... Untill
then, no use for it. And certainly XHTML transitional is nonsense. Either
use XHTML strict or no XHTML (in which case HTML strict for new pages,
transitional for legacy documents you haven't got the time for to make
them compliant).

In short 'more likely' my ass... It would be nice, it isn't how the world
(& the www) works though.
--
Rik Wasmus


Reply With Quote
  #5  
Old   
Andy Dingley
 
Posts: n/a

Default Re: Spacing Problem in Explorer - 02-07-2008 , 09:50 AM



On 7 Feb, 01:37, "Rik Wasmus" <luiheidsgoe... (AT) hotmail (DOT) com> wrote:

Quote:
And certainly XHTML transitional is nonsense.
XHTML Transitional isn't "nonsense", just impossibly rare. It's the
intersection of one rare justification (Using Transitional for legacy
or target reasons) with another (Using XML for publishing). It's also
significant that the "legacy" and "XML" cases are largely disjoint
sets.

XHTML Transitional makes "sense", in that we can discuss exactly what
and why would excuse it. Finding examples that meet these criteria
though, that's the tricky part.


Reply With Quote
  #6  
Old   
Rik Wasmus
 
Posts: n/a

Default Re: Spacing Problem in Explorer - 02-07-2008 , 08:07 PM



On Thu, 07 Feb 2008 16:50:50 +0100, Andy Dingley <dingbat (AT) codesmiths (DOT) com>
wrote:

Quote:
On 7 Feb, 01:37, "Rik Wasmus" <luiheidsgoe... (AT) hotmail (DOT) com> wrote:

And certainly XHTML transitional is nonsense.

XHTML Transitional isn't "nonsense", just impossibly rare. It's the
intersection of one rare justification (Using Transitional for legacy
or target reasons) with another (Using XML for publishing). It's also
significant that the "legacy" and "XML" cases are largely disjoint
sets.

XHTML Transitional makes "sense", in that we can discuss exactly what
and why would excuse it. Finding examples that meet these criteria
though, that's the tricky part.
Fair enough, indeed the combination of being both transitional and XHTML
is that rare that I labeled it nonsense, allthough there might be some
early adaptors exceptions to this statement. Practically, as you stated,
there are close to none sites that would meet the criteria, hence the
'shortcut' of calling it nonsense, which is not entirely fair for all
cases, allthough for most.
--
Rik Wasmus


Reply With Quote
  #7  
Old   
Bergamot
 
Posts: n/a

Default Re: Spacing Problem in Explorer - 02-08-2008 , 12:25 PM



Andy Dingley wrote:
Quote:
XHTML Transitional isn't "nonsense", just impossibly rare.
It's the doctype of choice for most blogs and CMS's these days.

--
Berg


Reply With Quote
  #8  
Old   
Andy Dingley
 
Posts: n/a

Default Re: Spacing Problem in Explorer - 02-08-2008 , 01:08 PM



On 8 Feb, 18:25, Bergamot <berga... (AT) visi (DOT) com> wrote:
Quote:
Andy Dingley wrote:

XHTML Transitional isn't "nonsense", just impossibly rare.

It's the doctype of choice for most blogs and CMS's these days.
A billion flies and a billion bloggers...

I might use Transitional here (just to get <a target=... >), but
anything else is either lazy coding or ignorance.


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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.