CSS help

Discussion in 'Web Design and Development' started by Albone, Nov 6, 2006.

  1. Albone macrumors regular

    Joined:
    Jul 22, 2003
    #1
    I am putting together a web comic. The website is based on a Wordpress theme, Comicpress. I have edited the code with CSS so that the post is on the right side of the comic. My problem is that the right side-posts doesn't stay fixed next to the comic. it will float when the browser is too wide and jump down when the browser is too narrow. I want it to stay put.

    Can anyone tell me what I'm doing wrong? Should I be doing something with the php files instead of the CSS?

    http://www.workshedstudio.com/test-blog/

    (FYI: The picture files on the site are only fpo's and the page is still a work in progress.)
     
  2. Albone thread starter macrumors regular

    Joined:
    Jul 22, 2003
    #2
    Okay, an update....

    I fixed the post-page problem. It turns out that auto-margins=auto for both left and right were the problem. Once I delted that, that part is behaving. whew, no lie, that took about 16 hours of screwing around, yes I'm dense.

    Now, my footer is behaving, but my sidebar and comments are not. I would like the comments to be centered under the page-post. The sidebar is weird, I'm not sure how, but I would also like to center that under the page-post.

    Any ideas?



    http://www.workshedstudio.com/test-blog/
     
  3. Albone thread starter macrumors regular

    Joined:
    Jul 22, 2003
    #3
    Crap.

    I was looking at my test site http://www.workshedstudio.com/test-blog/ and feeling pretty good about it. I decided to be daring and look at the site in IE and wouldn't you know it? It's not behaving correctly.

    Safari, Firefox and Opera read the site right, but not IE. Anyone got any ideas on what IE is objecting to?

    By the way, is it possible to enclose the sidebar in a table? For instance, going into the sidebar and placing the sidebar items in a 2 column table, to help keep the items seperate?

    Thanks!
     
  4. Albone thread starter macrumors regular

    Joined:
    Jul 22, 2003
    #4
    It turns out that I had the math wrong in my DIV tags. Firefox can handle it, but IE cannot.
     
  5. LtRammstein macrumors 6502a

    LtRammstein

    Joined:
    Jun 20, 2006
    Location:
    Denver, CO
    #5
    You can do it that way. I don't recommend it because it makes debugging and looking at the code pretty bad. If you have a program like Dreamweaver, I recommend using <div> and manually placing them there.
     

Share This Page