|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Tables & Browsers
Hi Folks,
I'm having a problem aligning the tables to display correctly in Both IE and Mozilla. Sometimes, it looks good in IE, but not in Mozilla and so on.. Following is the table code: Code:
<center>
<table border="0" cellpadding="0" cellspacing="0" align="center" width="99%"><!--DWLayoutTable-->
<tr>
<td width="33%" height="112"><div class="description" style="width: 234; height: 112">
<p align="justify" style="line-height: 150%; margin-top: 0; margin-bottom: 0">
<strong>BlahBlah</strong>
<p align="justify" style="line-height: 150%; margin-top: 0; margin-bottom: 0">
blah blah blah blah blah blah blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
<hr noshade>
<p style="line-height: 150%; margin-top: 0; margin-bottom: 0"><a href="/advertiser.php" class="style10"><strong>Learn
More</strong></a> | <a href="/signup.php?advertiser" class="style10"><strong>Signup</strong></a></div></td>
<td> </td>
<td width="33%" height="112"><div class="description" style="width: 234; height: 112">
<p align="justify" style="line-height: 150%; margin-top: 0; margin-bottom: 0">
<strong>Partner</strong>
<p align="justify" style="line-height: 150%; margin-top: 0; margin-bottom: 0">
blah blah blah blah blah blah blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
<hr noshade>
<p style="line-height: 150%; margin-top: 0; margin-bottom: 0"><a href="/advertiser.php" class="style10"><strong>Learn
More</strong></a> | <a href="/signup.php?advertiser" class="style10"><strong>Signup</strong></a> </div></td>
<td> </td>
<td width="33%" height="112"><div class="description" style="width: 234; height: 112">
<p align="justify" style="line-height: 150%; margin-top: 0; margin-bottom: 0">
<strong>Help us Improve</strong>
<p align="justify" style="line-height: 150%; margin-top: 0; margin-bottom: 0">
blah blah blah blah blah blah blah blah blah blah blah blah blah blahblah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
<hr noshade>
<p style="line-height: 150%; margin-top: 0; margin-bottom: 0; font-family: Verdana;"><a href="/signup.php?advertiser"><strong>Feedback</strong></a> </div></td>
</tr>
</table>
</center>
Following is the css class used: Code:
.description , .articles{ font-family:"Microsoft San Serif", Tahoma, Verdana, sans-serif; font-size:11px; line-height:13px; padding:5px; border:solid 1px #999; background-color:#F7F7F7;}
.description{ margin-top:10px; background-color:#F7F7F7;}
I need to align these 3 tables in a way that they look EXACTLY the same in both ie and mozilla. For now, they are not aligned correctly, as I said earlier, if it looks good in mozilla, it goes out of the page in IE. Please help. Thanks. |
|
#2
|
|||
|
|||
|
Quote:
I experienced the exact same problem in the last website I built. I spent several days to trying to solve the problem, but to no avail. The problem is that IE and Mozilla read and draw tables differently. In my experience Mozilla was more accurate most of the time. But sometimes it wasn't wheras IE was. You will need to play around with your code and try to find the perfect balance between the two browsers. Sometimes you might get it exact, other times you may have to make a decision between the two. Good Luck!! |
|
#3
|
||||
|
||||
|
Quote:
|
|
#4
|
|||
|
|||
|
Quote:
Oh! But I'm not a CSS Veteran, can you please help me fix this, everything else on other pages seems to be coming good except this. Thanks. |
|
#5
|
||||
|
||||
|
Quote:
Code:
<!--DWLayoutTable--> try learning some basic HTMl instead of relying on a WYSIWYG. You are using old and / or obsolete code and bad mark-up. It is not suprising that it doesn't work in Mozilla correctly - IE is more forgiving ![]()
__________________
Cheers, Jamie # mdb4u | mobile movie database] | Please help to test and promote # skiFFie | Home of the 'accessibility module' for Drupal # Jamie Burns [me] Accessibility Module [drupal] # guidelines | search | wap resources | not getting help | fold to cure __________________ Let the might of your compassion arise to bring a quick end to the flowing stream of the blood and tears ..... Please hear my anguished words of truth. ![]() __________________ |
|
#6
|
|||
|
|||
|
Right. I know I'm not good (at all) at css or even HTML but everything else is coming up fine except this. Can you PLEASE help me fix this.
Thanks |
|
#7
|
||||
|
||||
|
Quote:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<style type="text/css">
div {float: left; max-width: 30%; margin-left: 5px}
</style>
</head>
<body>
<div>
<h3>BlahBlah</h3>
<p>blah blah blah blah blah blah blah blah blah blah blah blah blah blahblah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah</p>
<hr />
<p><a href="#">Lynx etc</a></p>
</div>
<div>
<h3>BlahBlah</h3>
<p>blah blah blah blah blah blah blah blah blah blah blah blah blah blahblah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah</p>
<hr />
<p><a href="#">Lynx etc</a></p>
</div>
<div>
<h3>BlahBlah</h3>
<p>blah blah blah blah blah blah blah blah blah blah blah blah blah blahblah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah</p>
<hr />
<p><a href="#">Lynx etc</a></p>
</div>
</body>
</html>
|
![]() |
| Viewing: Dev Shed Forums > Web Design > Web Design Help > Tables & Browsers |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|