Reply
inner border problem
Old 04-23-2007, 05:32 AM inner border problem
Junior Talker

Posts: 3
I have this basic layout.
for some reason in FIREFOX i see a little black border between the cells. why is that? in IE i don't see it.



Code:
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>

<!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 runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table border="0" style="width: 800px; height: 600px; background-color: gray;" rules="all" align="center">
            <tr>
                <td style="height: 100px; background-color: teal;" colspan="3" valign="bottom">
                    &nbsp;HELLO</td>
            </tr>
            <tr>
                <td style="width: 138px; height: 500px;" valign="top">
                    <asp:LinkButton ID="LinkButton2" runat="server" PostBackUrl="~/Default.aspx">Click </asp:LinkButton><br />
                    <br />
                    <asp:LinkButton ID="LinkButton3" runat="server" PostBackUrl="~/Default2.aspx">Click 2</asp:LinkButton><br />
                    <br />
                    <asp:LinkButton ID="LinkButton4" runat="server" PostBackUrl="~/Default3.aspx">LinkButton</asp:LinkButton><br />
                    <br />
                    </td>
                <td colspan="2" style="height: 500px" valign="top">
                <div id="divContent" style="HEIGHT: 500px; OVERFLOW: auto;">
        
      
        <asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
        </asp:contentplaceholder>
        </div>
                </td>
            </tr>
        </table>
        &nbsp;&nbsp;<br />
        &nbsp; &nbsp;&nbsp;
    </div>
    </form>
</body>
</html>
asmon is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 04-23-2007, 01:16 PM Re: inner border problem
Silent77's Avatar
Ultra Talker

Posts: 255
Name: Silent
Location: Ohio
It appears the border on the content place holder is setting a border on the left. Use the CSS left border attribute and set it to zero, that may work.
__________________
Firefox
rediscover the web
Get Firefox today it's free! Down with internet explorer!
Silent77 is offline
Reply With Quote
View Public Profile Visit Silent77's homepage!
 
Old 04-23-2007, 02:57 PM Re: inner border problem
Junior Talker

Posts: 3
Thx but it was the rules="all" which caused the border..

I guess it's a good thing I've started checking my webs also with FireFox.... IE has too many bugs.
asmon is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to inner border problem
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12305 seconds with 12 queries