Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Rendereng Problem
kvarnerexpress
post Jan 19 2006, 06:30 PM
Post #1


Super Member
*********

Group: Members
Posts: 407
Joined: 13-December 04
Member No.: 2,696



Hi,

I stambled into strange rendereng problem in firefox 1.0.7(on windows xp) when using border-collapse:collapse and direction:rtl css styles.

here is a little test-case html file (see how firefox renders table in first case):

Code:

CODE

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>border-collapse and rtl</title>
<style type="text/css">

body{padding:50px;}

table td{
padding:5px;
border-width:1px;border-color:#ccc;border-style:solid;
}

#tblrtl{border-collapse:collapse; direction:rtl;}

#tbl{border-collapse:collapse;}

#tblnospcing{direction:rtl;}

</style>
</head>
<body>
<div><b>case 1:</b> with rtl and with border-spacing</div>
<table id="tblrtl" cellspacing="0">
<tr><td>תא 1</td><td>כאן יש הרבה יותר טקסט</td><td>קצר ולעיניין</td></tr>
</table>

<br><br>
<div><b>case 2:</b> without rtl and border-spacing</div>
<table id="tbl" cellspacing="0">
<tr><td>תא 1</td><td>כאן יש הרבה יותר טקסט</td><td>קצר ולעיניין</td></tr>
</table>

<br><br>
<div><b>case 3:</b> with rtl but without border-spacing</div>
<table id="tblnospcing" cellspacing="0">
<tr><td>תא 1</td><td>כאן יש הרבה יותר טקסט</td><td>קצר ולעיניין</td></tr>
</table>
</body>
</html
>

notice that in case 3 when ommiting border-collapse firefox renders table fine.

by the way opera renders exactly like firefox does...

do you understand why ff renders it like that?
thanks

Go to the top of the page
 
+Quote Post
jlhaslip
post Jan 19 2006, 07:34 PM
Post #2


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 3,993
Joined: 24-July 05
From: In Trouble Again... still?
Member No.: 9,787
Spam Patrol



Check this link out: http://www.westciv.com/style_master/academ...ement_type.html
I notice that border-collapse is not very well supported in almost any Browser. And they list no support at all for direction.

Why the need for rtl direction? Can it be avoided?
Go to the top of the page
 
+Quote Post
Tyssen
post Jan 19 2006, 10:02 PM
Post #3



***********

Group: Members
Posts: 1,161
Joined: 9-May 05
From: Brisbane, QLD
Member No.: 6,818



Border-collapse is supported by IE5+, N7+ and Opera so we're talking about at least 99% of users. And direction is right to left cos it's in a non-Roman script.
It looks like it could be a bug in FF 1.0.7, but it's probably not worth worrying about cos it's been fixed for FF 1.5 (I checked in both).
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. 60 Seconds Countdown That Shutdown The Pc(13)
  2. Problem Installing Sims 2 Nightlife(26)
  3. I Have A Girl Problem Here(27)
  4. Problem With Page Redirect(8)
  5. Php Header Problem(11)
  6. Dvd Drive Problem(10)
  7. Remote Assistance Problem(8)
  8. Laptop Keyboard Problem(7)
  9. Skype / Xampp Port Conflict(5)
  10. Two Lan Ports Problem(3)
  11. Rpg Maker 2003 Music Problem(3)
  12. I'm Having A Strange Problem With My Ping In Cs:s(28)
  13. I Have A Big Problem With Cs 1.6.(4)
  14. Need Help: Problem Seeing My Site(4)
  15. Postage Costs Problem For My Website(7)
  1. Forum Problem? Topic Disappeared Immediately [resolved](2)
  2. Hosting Problem [resolved](22)
  3. Problem Aligning In Firefox(9)
  4. It Went Well For A While(5)
  5. Itunes Problem!(1)
  6. How Many More Times Will I Have To Post About This?(11)
  7. Problem Getting Text To Align With Different Resolutions(4)
  8. Youtube People That Do Not Respect Other Opinions(7)
  9. A Problem With Ftp Clients(9)
  10. Domain Problem : This Is Important..(0)
  11. Browser Compatibility Problem With Firefox - Javascript + Css(3)
  12. Terminating Hosting Problem(1)
  13. Problem With My Girlfriend Family, Need Suggestions For Action(2)


 



- Lo-Fi Version Time is now: 5th September 2008 - 11:12 PM