Results 1 to 2 of 2

Thread: Dynamic Ajax Content

  1. #1
    Join Date
    Jan 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Dynamic Ajax Content

    1) Script Title: Dynamic Ajax Content

    2) Script URL (on DD):http://www.dynamicdrive.com/dynamici...jaxcontent.htm

    3) Describe problem: Looks great on Safari on a mac and windows...great on firefox on everything....
    IE...any flavor...the text is centered???? On all the other browsers it is left justified.

    Any Ideas out there???

    Here is a test site: http://learnsignlanguage.info

    I live on Yahoo Im as joemart1951 if anyone wants to help me out.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    In your style section:

    Code:
    #leftcolumn a{
    padding: 3px 1px;
    display: block;
    width: 100%;
    text-align:left;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid gray;
    }
    But that's really just a quick fix. If you were to move the center tag (red):

    Code:
    <center>
    <table width="630" bordercolor="#800000">
    	<tr>
    		<td>
    
    <div id="leftcolumn">
    
    <a href="javascript:ajaxpa . . .
    to the end of the table:

    Code:
     . . . olumn"><h3><font color="#ffffff">Choose a page to load.</font></h3></div>
    <div style="clear: left; margin-bottom: 1em"></div>
    </td>
    	</tr>
    </table>
    <center>
    <font size="-1" color="#000000">(c) Copyright 2007 All Rights Reserved- Learn Sign Language.info</font>
    </center>
    <script type="text/javas . . .
    You could then make the table align center or style it margin:0 auto; - examples:

    Code:
    <table align="center" width="630" bordercolor="#800000">
    	<tr>
    		<td>
    
    <div id="leftcolumn">
    
    <a href="javascrip . . .
    or:

    Code:
    <table style="margin:0 auto;" width="630" bordercolor="#800000">
    	<tr>
    		<td>
    
    <div id="leftcolumn">
    
    <a href="javascript:ajaxp . . .
    This would fix the problem, as well as fix the alignment of text in the right column.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •