Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mozilla display different. help

Status
Not open for further replies.

111101101

Programmer
Oct 16, 2003
39
US
ok... i made a row and color it....

<tr>
<td bgcolor=&quot;#ff0000&quot; height=&quot;1&quot;></td>
</tr>

in IE... it looks fine, like a very thin red line,
but in mozilla, its a fat ugly red line. why is it?
how to fix it?

Thanks,
755
 
Not sure why it does that, but here's a workaround. You can use paint and MS Photo Editor if you don't have anything else. Create an image of a red box, make the height you want it and then use the img tag and reference the image and in the tag state how wide you want the image. It should create a red line for you.

Hope this helps,

TwoOdd
--------------
Good judgment comes from experience, and experience comes from bad judgment.
-- Barry LePatner
 
Try this:

<table cellspacing='0' cellpadding='0' border='0'>
<tr>
<td width='50' style='height:1px;background-color:red'></td>
</tr>
</table>

The table has to be 0 on both cellpadding and cellspacing. In addition I used styles, but I think it will work without styles also if you &quot;reset&quot; the table
 
Let me correct, only cellpadding has to be 0.
 
k i'll try those.

hey.. another question....

i think someone screwed up my computer...
now i cant even do a &quot;view source&quot; on my IE browser...
when i do a view source. nothing happens.

how can i fix it?
 
In IE, try deleting your temporary internet files: Tools, Internet Options - Delete files under temporary internet files section.

Hope this helps,

TwoOdd
--------------
Good judgment comes from experience, and experience comes from bad judgment.
-- Barry LePatner
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top