navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Thick rows in IE6

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Microsoft FrontPage Help >> Thick rows in IE6
Page: [1]
 
fp_in_pa

 

Posts: 7
Joined: 4/1/2003
Status: offline

 
Thick rows in IE6 - 4/1/2003 12:20:42   
I' m trying to use a tastefully thin (5 pixel) line to separate elements of a web site. I' ve read the FAQs and tutorials, and added a row with a background color, no height, and an embedded 5 pixel high clear gif. To wit:

<td width=" 640" bgcolor=" #000080" valign=" top" align=" left" colspan=" 3" >
<img border=" 0" src=" cleardot.gif" width=" 1" height=" 5" >
</td>

It looks just as I wanted in FP " preview" , Konqueror 3, and Opera 7. It looks almost right in Netscape 6. It looks lousy in IE 6 - the row appears to be about 25 pixels high.

I' ve set up a demo page at: http://www.covenantfrazer.org/linetest.htm

I' d love suggestions on how to make it look right in IE 6.

I ended up with unsightly vertical gaps between elements when I simply tried to place a graphic image as a separator - so this is as close as I' ve gotten to the desired effect.

Thank you!
Justjay

 

Posts: 697
From: Montreal, QC Canada
Status: offline

 
RE: Thick rows in IE6 - 4/1/2003 13:32:09   
How " tall" is your table? Do all the cells add up in height?

_____________________________

JustJay
thejehm.net Web Solutions
SAH Link Exchange
Serious About Hosting

(in reply to fp_in_pa)
fp_in_pa

 

Posts: 7
Joined: 4/1/2003
Status: offline

 
RE: Thick rows in IE6 - 4/1/2003 13:52:13   
The table doesn' t specify a height; it' s as tall as the rows stack up. Even with no specified row heights or table heights, I still get thick rows.

Note that I get a thick row even in the terribly simple one row table on the demo page.

(in reply to Justjay)
Justjay

 

Posts: 697
From: Montreal, QC Canada
Status: offline

 
RE: Thick rows in IE6 - 4/1/2003 14:01:55   
When you look at the code is there the code for a space in there? If so, take it out and see what happens.

_____________________________

JustJay
thejehm.net Web Solutions
SAH Link Exchange
Serious About Hosting

(in reply to fp_in_pa)
fp_in_pa

 

Posts: 7
Joined: 4/1/2003
Status: offline

 
RE: Thick rows in IE6 - 4/1/2003 14:15:07   
Simplifying it even more than the example in the original posting:

<html><head></head><body>
<table width=" 640" >
<tr>
<td bgcolor=" #000080" >
<img src=" cleardot.gif" width=" 1" height=" 5" >
</td>
</tr>
</table>
</html>

There really is nothing in the cell to thicken it. The same thing happens when I reduce the height on the gif to " 1" .

(in reply to fp_in_pa)
Gil

 

Posts: 7533
From: North Carolina, USA
Status: offline

 
RE: Thick rows in IE6 - 4/1/2003 14:21:22   
Cleaning up the table code like so:
<table border=" 0" cellpadding=" 0" cellspacing=" 0" width=" 640" >
<tr>
<td bgcolor=" #000080" ><img border=" 0" src=" cleardot.gif" width=" 1" height=" 5" >
</td>
</tr>
</table>


and adding the missing </body> tag didn' t do it -

What is the size of cleardot.gif? is it 1 X 1 ? Is cleardot.gif in the same root directory? Are you sure it' s not in /images ?

< Message edited by Gil -- 4/1/2003 2:24 PM >


_____________________________

Gil Harvey, 1947-2004

(in reply to fp_in_pa)
fp_in_pa

 

Posts: 7
Joined: 4/1/2003
Status: offline

 
RE: Thick rows in IE6 - 4/1/2003 14:39:22   
cleardot.gif is in the same root directory along with the other images for the site. MS Photo Editor reports that it is 1x1 - which is consistent with the appearance of the page in the browsers other than IE.

BTW, I don' t have access to earlier IE versions, so I have not tested with, say, IE 5.

Bit of a puzzle, isn' t it?

(in reply to fp_in_pa)
bobby

 

Posts: 11394
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
RE: Thick rows in IE6 - 4/1/2003 14:45:56   
Have you tried specifying a height for the table row? Or for the cell for that matter...

It may not be " valid" html, but it works in IE... the other browsers should ignore it, but I' d double check just to make sure... it' s worth a shot anyway.

I' m surprised that cellpadding=" 0" didn' t fix it...? :)

Yes, puzzle indeed...

<afterthought>
I don' t ever recall having been told that something worked fine in every browser except IE :)

< Message edited by bobby -- 4/1/2003 11:48 AM >


_____________________________

If con is the opposite of pro, is Congress the opposite of progress?


:)

(in reply to fp_in_pa)
fp_in_pa

 

Posts: 7
Joined: 4/1/2003
Status: offline

 
RE: Thick rows in IE6 - 4/1/2003 15:02:17   
... again, no dice, variously setting the height for the cell, row, and table, or all three.

BTW, I have had the cellpadding=" 0" in there all along, except when I took it (and the </body>, oops) out to set up the simplest test I could imagine.

Guess I' ll try the ol' MS knowledgebase for rendering bugs.

(in reply to fp_in_pa)
SerenityNet

 

Posts: 1362
Joined: 6/12/2001
From: Allen, TX, USA
Status: offline

 
RE: Thick rows in IE6 - 4/1/2003 15:32:13   
Oops! Ignore my last posts, that I deleted. I was looking at the wrong line of code. Duh!

< Message edited by SerenityNet -- 4/1/2003 3:36 PM >


_____________________________

</Chaos, panic, & disorder - my work here is done.>

(in reply to fp_in_pa)
SerenityNet

 

Posts: 1362
Joined: 6/12/2001
From: Allen, TX, USA
Status: offline

 
RE: Thick rows in IE6 - 4/1/2003 15:41:23   
Victory! I think.

Curious though. As soon as I moved all the table data to one row and without any spaces, it changed to 5 px high. (Still, I' m wondering if it has something to do with the browser font assumptions.)


<table border=" 0"  cellpadding=" 0"  cellspacing=" 0"  width=" 640" >
  <tr>
    <td bgcolor=" #000080"  valign=" top"  align=" left" ><img border=" 0"  src=" cleardot.gif"  width=" 1"  height=" 5" ></td>
  </tr>
</table>


< Message edited by SerenityNet -- 4/1/2003 3:43 PM >


_____________________________

</Chaos, panic, & disorder - my work here is done.>

(in reply to fp_in_pa)
fp_in_pa

 

Posts: 7
Joined: 4/1/2003
Status: offline

 
RE: Thick rows in IE6 - 4/1/2003 15:45:05   
Your jpg shows the same problem I' m having. That thick line at the top should be 5 pixels high, just like the second line. Example:
:)

It does display correctly in IE when I manually take all content out of the cell. But, the tutorials suggest that that raises display problems outside of IE. Also, Front Page 2000 insists on stuffing & nbsp into empty cells so it gets a bit tedious to manage.

(in reply to fp_in_pa)
Mike54

 

Posts: 4782
Joined: 3/26/2001
From: Way Up Over
Status: offline

 
RE: Thick rows in IE6 - 4/1/2003 15:47:16   
The original code
<tr>
<td bgcolor=" #000080" valign=" top" align=" left" >
<img border=" 0" src=" cleardot.gif" width=" 1" height=" 5" > </td>
</tr>
</table>

yields :)

When I replace it with this
<tr>
<td bgcolor=" #000080" valign=" top" align=" left" >
<img border=" 0" src=" cleardot.gif" width=" 1" height=" 5" ></td>
</tr>
</table>

I get :)

The only difference is the gap here height=" 5" > </td> vs. height=" 5" ></td>

_____________________________

Who was the first guy that looked at a cow and said, "I think that I'll drink whatever comes out of those things when I squeeze them"?

New photogalleries, stop by sometime.

(in reply to fp_in_pa)
fp_in_pa

 

Posts: 7
Joined: 4/1/2003
Status: offline

 
RE: Thick rows in IE6 - 4/1/2003 15:55:39   
Superb!
Thank you. I would never, in a Million years, have thought to take that space out.
...and because that code is cleverly stashed in an include file, it' s even easy to fix.

(in reply to fp_in_pa)
bobby

 

Posts: 11394
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
RE: Thick rows in IE6 - 4/1/2003 16:03:37   
Nice Mike!

:)

_____________________________

If con is the opposite of pro, is Congress the opposite of progress?


:)

(in reply to fp_in_pa)
Mike54

 

Posts: 4782
Joined: 3/26/2001
From: Way Up Over
Status: offline

 
RE: Thick rows in IE6 - 4/1/2003 16:08:19   
Sometimes my simplistic system of opening the page in FP and playing with it until it works actually works.:):) Of course if asked to explain why it worked I' d have to admit I just don' t know:). Someone who knows what they' re doing would have to ' splain that.:)

_____________________________

Who was the first guy that looked at a cow and said, "I think that I'll drink whatever comes out of those things when I squeeze them"?

New photogalleries, stop by sometime.

(in reply to fp_in_pa)
bobby

 

Posts: 11394
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
RE: Thick rows in IE6 - 4/1/2003 16:16:18   
I usually refer to that method as " Trial and Dammit"

[:p]

_____________________________

If con is the opposite of pro, is Congress the opposite of progress?


:)

(in reply to fp_in_pa)
SerenityNet

 

Posts: 1362
Joined: 6/12/2001
From: Allen, TX, USA
Status: offline

 
RE: Thick rows in IE6 - 4/1/2003 16:31:37   
I think we are fogetting fundamentals. Remember, the very first HTML standards were for browsers to recognize the first space character and ignore subsequent space characters. Therefore <td> </td> is the same as <td>& nbsp;</td> and IE is interpreting it correctly.

Anyway, I went to the Tools menu, Internet Options, Fonts. I changed the default font. As I changed it to a taller font, guess what, the pixel height of the line changed. Also, putting <font size=" 0" >& nbsp;</font> between the table data tags reduced the height of the row - just not all the way down to 5.

Also, to keep FP from automatically putting in & nbsp; where you don' t want them, put an image between the table data tags. I' ve done this a bunch and it works. For instance,
<td bgcolor=" #000080"  valign=" top"  align=" left" ><img border=" 0"  src=" cleardot.gif"  width=" 1"  height=" 5" >
<img border=" 0"  src=" cleardot.gif"  width=" 1"  height=" 1" >
</td>

And again, no space characters or the browser will see it and render it.


_____________________________

</Chaos, panic, & disorder - my work here is done.>

(in reply to fp_in_pa)
bobby

 

Posts: 11394
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
RE: Thick rows in IE6 - 4/1/2003 17:13:12   
I just thought of something else...

Why not a 5px tall <hr> ?



_____________________________

If con is the opposite of pro, is Congress the opposite of progress?


:)

(in reply to fp_in_pa)
SerenityNet

 

Posts: 1362
Joined: 6/12/2001
From: Allen, TX, USA
Status: offline

 
RE: Thick rows in IE6 - 4/1/2003 17:25:57   
Nope!

Things just get curiouser and curiouser...


:)

Attachment (1)

_____________________________

</Chaos, panic, & disorder - my work here is done.>

(in reply to bobby)
SerenityNet

 

Posts: 1362
Joined: 6/12/2001
From: Allen, TX, USA
Status: offline

 
RE: Thick rows in IE6 - 4/1/2003 17:28:58   
By the way Bobby, did you see this?

_____________________________

</Chaos, panic, & disorder - my work here is done.>

(in reply to SerenityNet)
bobby

 

Posts: 11394
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
RE: Thick rows in IE6 - 4/1/2003 17:39:39   
Ha!

I' m gonna steal that to use for my avatar on a Linux forum I recently started surfing...

Don' t worry, this is still my home... :)

A horizontal rule should work fine...

in a CSS:

hr {
width: 100%;
height: 5px;
color: #000080;
padding: 0px;
margin: 0px;
display: inline;
}

That should do it... I' ve used the same CSS to create a HR from 1 to 3 px tall, and you can adjust the width as well...

Just an idea... it looks like the other plan is working out well anyway...



_____________________________

If con is the opposite of pro, is Congress the opposite of progress?


:)

(in reply to fp_in_pa)
SerenityNet

 

Posts: 1362
Joined: 6/12/2001
From: Allen, TX, USA
Status: offline

 
RE: Thick rows in IE6 - 4/1/2003 18:14:22   
There is no order in the universe. But like you said, " ...it looks like the other plan is working out well anyway..." , so who cares? I give up trying to find any consistency. (But thanks for the style. I' ll use it.)

As for Spooky, it' s easy for him to say that. Have you ever seen impatient sheep?



With the code...
<style type=" text/css" >
hr { 
width: 100%; 
height: 5px; 
color: #000080; 
padding: 0px; 
margin: 0px; 
display: inline; 
}
</style>
</head>

<body>

This should be 5 pixels high, but it is not.<br>
<table border=" 0"  cellpadding=" 0"  cellspacing=" 0"  width=" 640"  >
	<tr>
		<td bgcolor=" #000080"  valign=" top"  align=" left" ><hr></td>
	</tr>
</table>
<br>
The following <HR> is from an inline style.
<hr>


...I got this...


:)

Attachment (1)

_____________________________

</Chaos, panic, & disorder - my work here is done.>

(in reply to fp_in_pa)
Mike54

 

Posts: 4782
Joined: 3/26/2001
From: Way Up Over
Status: offline

 
RE: Thick rows in IE6 - 4/1/2003 18:23:28   
quote:

Have you ever seen impatient sheep?

I thought all sheep were impatient? You know, " where' s the shepherd, where' s the shepherd? Isn' t that why they' re always hopping around and bleating as opposed to cows who just stand there chewing their cud?

(in reply to fp_in_pa)
SerenityNet

 

Posts: 1362
Joined: 6/12/2001
From: Allen, TX, USA
Status: offline

 
RE: Thick rows in IE6 - 4/1/2003 18:42:06   
I suppose you' re right. Content = Cow

_____________________________

</Chaos, panic, & disorder - my work here is done.>

(in reply to fp_in_pa)
Page:   [1]

All Forums >> Web Development >> Microsoft FrontPage Help >> Thick rows in IE6
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts