Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Dec 2005
    Posts
    2
    Member #
    12144

    Current Rating

    Visual Appeal:
    0.0 out of 5

    Accessibility:
    0.0 out of 5

    Website Speed:
    0.0 out of 5

    Compatibility:
    0.0 out of 5

    Overall Rating:
    0.0 out of 5

    Rate This Site


    Advertisement (login to hide this!)


    You must be logged in to view this site

    Hi i'm new here and also new to web design. This is my first site and want you to check it..I have one problem. 'home' and 'contact'is positioned all the way to the left side on some computers but centered in mine. How does that happen? : Could you let me know if you see those pages centered or off centered? Thanks for taking the time to take a look.
    http://www.dirtybookart.com/

  2.  

  3. #2
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    The links are centered on my browser (FF 1.5).

    What browser did this happen in?

    In most browsers, having an elements margin set to 0px auto; is suffice.

    IE is a pain though, but this code will provide you better results.

    HTML Code:
    <div style="text-align: center; width: 100%;"> <! for IE -->
       <div style="margin: 0px auto; width: 100%;">
            lorem ipsum
       </div>
    </div>
    So in your HTML, it would now read
    HTML Code:
    <TD COLSPAN=12>
         <div style="text-align: center;">
              <div style="margin: 0px auto;">
    	      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="42" height="16">
                <param name="movie" value="home_ro.swf">
    
                <param name=quality value=high><param name="BGCOLOR" value="#000000">
                <embed src="home_ro.swf" width="42" height="16" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#000000"></embed>
              </object>
    	      -
              <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="44" height="16">
                <param name="movie" value="about.swf">
                <param name=quality value=high><param name="BGCOLOR" value="#000000">
                <embed src="about.swf" width="44" height="16" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#000000"></embed>
              </object>
    
              -
              <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="94" height="16">
                <param name="movie" value="mer.swf">
                <param name=quality value=high>
                <param name="BGCOLOR" value="#000000">
                <embed src="mer.swf" width="94" height="16" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#000000"></embed>
              </object>
              -
              <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="50" height="16">
                <param name="movie" value="events.swf">
    
                <param name=quality value=high><param name="BGCOLOR" value="#000000">
                <embed src="events.swf" width="50" height="16" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#000000"></embed>
              </object>
              -
              <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="36" height="16">
                <param name="movie" value="links.swf">
                <param name=quality value=high><param name="BGCOLOR" value="#000000">
                <embed src="links.swf" width="36" height="16" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#000000"></embed>
              </object>
    
              -
              <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="56" height="16">
                <param name="movie" value="contact.swf">
                <param name=quality value=high><param name="BGCOLOR" value="#000000">
                <embed src="contact.swf" width="56" height="16" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#000000"></embed>
              </object>
    	    </div></TD>
    I would not mix tables and divs but that should sort you out.

  4. #3
    Junior Member
    Join Date
    Dec 2005
    Posts
    2
    Member #
    12144
    thank you! i'll try that now!


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:07 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com