jamesbond110
12-16-2007, 05:57 AM
Well, I'm new to these forums because I have been looking for a good place to learn how to beat the valueless Internet Explorer! As mush as I wish (and probably most other web developers too) I could just shove Explorer onto the floor, too much of the world has been indoctrinated by Bill Gates. So I am stuck here with a question about the big brother browser that couldn't keep up with its siblings. :thumbsup:
http://tobysplayground.100webspace.net/Patollen%20Productions/index.php
There's my happy little website, all coded and ready for the compliant browsers we know as FF and Opera. Then IE rears its ugly butt in.
If you'll take a look at the news, there is a link for comments on the bottom. Click it. As you will see I've been doing some tests.
NOW if you're in FF, the background should be one piece - no breaks or spaces.
Open it in IE and voila, you see the terrorism.
Now I'm using something called Cutenews. There is a file called 'default.tpl' that defines the styling, so the code might look a little redundant/messy.
<div style="width:510px;">
<div class="lh"><strong>{title}</strong></div>
<div class="lm"><div style="padding-bottom:5px;">{short-story}</div><div style="margin-bottom:5px;">
<div style="float: right;">[com-link]{comments-num} Comments[/com-link]</div>
<div><em>Posted on {date} by {author}</em></div></div></div>
</div>
<div class="lm">
<div style="text-align:justify; width: 510px; padding-bottom:5px; padding-top:5px; padding-left:10px;">
<table width="90%" cellpadding="3">
<tr bgcolor="#2A9FAA">
<td width="60%"><font size="2">Posted by <strong>{author}</strong></font></td>
<td width="40%"> <font size="2"><i>{date}</i></font></td>
</tr>
<tr>
<td colspan="2" bgcolor="#C0DCC0">{comment}</td>
</tr>
</table>
</div></div>
<div class="lm">
<div style="padding-top:10px; padding-left:11px; padding-bottom:10px;">
<table border="0" width="455px" cellspacing="0" cellpadding="5" bgcolor="#C0DCC0">
<tr>
<td colspan="2" bgcolor="#2A9FAA"><strong>Post a Comment</strong></td>
</tr>
<tr>
<td width="60">Name:</td>
<td><input type="text" name="name2" /></td>
</tr>
<tr>
<td>E-mail:</td>
<td><input type="text" name="mail2" />
(optional)</td>
</tr>
<tr>
<td>Smilies:</td>
<td>{smilies}</td>
</tr>
<tr>
<td> </td>
<td><textarea cols="40" rows="2" id="comments" name="comments2"></textarea>
<br /></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="submit" value="Add My Comment" /></td>
</tr>
</table>
</div></div>
div.lh {
width:480px;
height:31px;
background:url(images/Layout/3.png);
padding-top:17px;
padding-left:30px;
font-size:18px;
}
div.lm {
width:489px;
background:url(images/Layout/5.png);
padding-left:15px;
padding-right:6px;
font-size:14px;
padding-bottom:2px;
}
Well, if you could make sense of any of that I hope you'll take the time to help! Thanks much in advance!
http://tobysplayground.100webspace.net/Patollen%20Productions/index.php
There's my happy little website, all coded and ready for the compliant browsers we know as FF and Opera. Then IE rears its ugly butt in.
If you'll take a look at the news, there is a link for comments on the bottom. Click it. As you will see I've been doing some tests.
NOW if you're in FF, the background should be one piece - no breaks or spaces.
Open it in IE and voila, you see the terrorism.
Now I'm using something called Cutenews. There is a file called 'default.tpl' that defines the styling, so the code might look a little redundant/messy.
<div style="width:510px;">
<div class="lh"><strong>{title}</strong></div>
<div class="lm"><div style="padding-bottom:5px;">{short-story}</div><div style="margin-bottom:5px;">
<div style="float: right;">[com-link]{comments-num} Comments[/com-link]</div>
<div><em>Posted on {date} by {author}</em></div></div></div>
</div>
<div class="lm">
<div style="text-align:justify; width: 510px; padding-bottom:5px; padding-top:5px; padding-left:10px;">
<table width="90%" cellpadding="3">
<tr bgcolor="#2A9FAA">
<td width="60%"><font size="2">Posted by <strong>{author}</strong></font></td>
<td width="40%"> <font size="2"><i>{date}</i></font></td>
</tr>
<tr>
<td colspan="2" bgcolor="#C0DCC0">{comment}</td>
</tr>
</table>
</div></div>
<div class="lm">
<div style="padding-top:10px; padding-left:11px; padding-bottom:10px;">
<table border="0" width="455px" cellspacing="0" cellpadding="5" bgcolor="#C0DCC0">
<tr>
<td colspan="2" bgcolor="#2A9FAA"><strong>Post a Comment</strong></td>
</tr>
<tr>
<td width="60">Name:</td>
<td><input type="text" name="name2" /></td>
</tr>
<tr>
<td>E-mail:</td>
<td><input type="text" name="mail2" />
(optional)</td>
</tr>
<tr>
<td>Smilies:</td>
<td>{smilies}</td>
</tr>
<tr>
<td> </td>
<td><textarea cols="40" rows="2" id="comments" name="comments2"></textarea>
<br /></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="submit" value="Add My Comment" /></td>
</tr>
</table>
</div></div>
div.lh {
width:480px;
height:31px;
background:url(images/Layout/3.png);
padding-top:17px;
padding-left:30px;
font-size:18px;
}
div.lm {
width:489px;
background:url(images/Layout/5.png);
padding-left:15px;
padding-right:6px;
font-size:14px;
padding-bottom:2px;
}
Well, if you could make sense of any of that I hope you'll take the time to help! Thanks much in advance!