Forums

Page HTML alignment problem (8 posts)

  1. cooljoe289
    Member
    Posted 1 year ago #

    I used photoshop to slice an image and export HTML for article content on my homepage. After I entered the HTML (and using the RAW HTML plugin) and placed the images on my server, everything shows up correctly, except that the table of images is aligned left. I would like it to be centered.

    After messing with the stylesheet, the html code, viewer alignment settings, and everything else I can think of (including inspecting the elements in Google Chrome) I still can't get the images to align center.

    Does anyone have an idea of hoe to fix it? You can see the preview here.

  2. alchymyth
    The Sweeper
    Posted 1 year ago #

    previews don't work outside of your admin area;

    you probably need to publish the problem page and post a link to it here.

  3. cooljoe289
    Member
    Posted 1 year ago #

    Sorry about that. Here is a permanent link.

  4. alchymyth
    The Sweeper
    Posted 1 year ago #

    you seem to have copied this code together with your table:

    <html>
    <body bgcolor="#FFFFFF" class= "alignleft" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <!-- ImageReady Slices (dwel del homepage.psd) -->

    try and remove it (you can leave the html comments)

    also remove the corresponding closing elements after the table:

    </table>
    <!-- End ImageReady Slices -->
    </body>
    </html>
  5. cooljoe289
    Member
    Posted 1 year ago #

    I tried it and it doesn't seem to have made any change to the alignment. Any ideas of how to get it to align center?

  6. alchymyth
    The Sweeper
    Posted 1 year ago #

    maybe i was not absolutely clear what you were supposed to remove;

    you seem to have deleted the <table> html tags as well; try to add them back.

  7. cooljoe289
    Member
    Posted 1 year ago #

    I put the table code back in and tried to add align="center" code, but didn't work. I think it is being over ridden by css, but can't find where.

    Sorry for the late response. Long weekend.

  8. cooljoe289
    Member
    Posted 1 year ago #

    Update: After placing the tablealign="center" code into the table html, I noticed that the table is centering properly in IE 7, but not in either Chrome or Firefox.

    This leads me to think that the problem really is in the Style.css

    Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic