SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jul 2005
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need help with tables and stuff..

    Im a pretty decent html and xhtml coder, but this code has got me so puzzled im pulling my hair

    It works in every browser except Firefox.
    One here is a scrn shot of what is happening
    Here it is: http://www.infinitystyles.com/error.jpg

    Now here is the html im using and css.

    HTML Code:
    <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center" summary="Default%20UCP%20Table" id="ucptable">
    <tr align="center" valign="top">
    <td nowrap="nowrap" colspan="0" rowspan="0" align="center" valign="top" class="titletd">User Control Panel Menu</td>
    </tr>
    
    <!-- Personal Information Bar -->
    <tr align="center" valign="middle">
    <td nowrap="nowrap" colspan="0" rowspan="0" align="center" valign="middle" class="ucpbar"><a style="text-decoration:none" href="{$base_url}act=UserCP&amp;CODE=01">{ipb.lang['m_contact_info']}</a>&nbsp;&middot;&nbsp;<a style="text-decoration:none" href="{$base_url}act=UserCP&amp;CODE=22">{ipb.lang['m_sig_info']}</a>&nbsp;&middot;&nbsp;<a style="text-decoration:none" href="{$base_url}act=UserCP&amp;CODE=24">{ipb.lang['m_avatar_info']}</a>&nbsp;&middot;&nbsp;<a style="text-decoration:none" href="{$base_url}act=UserCP&amp;CODE=photo">{ipb.lang['m_change_photo']}</a></td>
    </tr>
    </table>
    CSS:
    Code:
    #ucptable{
            background: transparent;
            border: 1px solid #d3d3d3;
    	padding: 0; 
    	margin: 0; 
            line-height: 135%;
            width: 100%;
            text-align: center;
    }
    
    .titletd{
           background: #F1F1F3;
           color: #222;
           font-weight: bold;
           font-size: 14px;  
    }      
     
    .ucpbar{ 
    	background: transparent; 
            color: #222;
            font-size: 10px;
            font-weight: none;
    }
    Can someone clear this out for me?

  2. #2
    SitePoint Member
    Join Date
    Jul 2005
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've got it!
    It seems the rowspan in:
    HTML Code:
    <td nowrap="nowrap" colspan="0" rowspan="0" align="center" valign="top" class="titletd">User Control Panel Menu</td>
    was causing the issue.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •