WordPress.org

Forums

Images in WP (8 posts)

  1. OrchidRed
    Member
    Posted 10 years ago #

    I really should know the answer to this, I should, but I dont.

    Im trying to set up a photoblog on my art site, here: http://www.amadai.com/

    For some reason though, there is space between the image and the top & bottom of the content section. The white frames should be hugging the borders of the image. It works in Dreamweaver, so I think it must be something in the css, but I dont know what.

    Any help would be very much appreciated. Thanks for your time!

  2. vkaryl
    Member
    Posted 10 years ago #

    Could be something with the spacer.gifs and nested tables that DW provided. Check to make sure you've got padding set at 0 (didn't check it in IE, just in FF1.0.3).

  3. OrchidRed
    Member
    Posted 10 years ago #

    well in Dreamweaver there is a space on the bottom of the image unless I have the image and td tags all on the same line. Could that be it? If yes, gosh, I have no idea how to fix that. Maybe if I dont use includes?

  4. vkaryl
    Member
    Posted 10 years ago #

    WP uses includes a lot in its basic setup; I don't know that you can NOT use includes without a bunch of major tweaking.

    Just out of idle curiosity, on your index page for instance, why are you having nested tables anyway?

  5. OrchidRed
    Member
    Posted 10 years ago #

    because I don't know how to make a layout that runs soley off css, lol.

    I know, its sad. I really should learn.

    I tried just putting everything into one big file w/o using includes and that didnt fix it anyways. Blah.

  6. vkaryl
    Member
    Posted 10 years ago #

    Well, while tables aren't "deprecated" or anything like that, they're not particularly good for layout unless it's for data which needs a tablature structure.

    Try looking at the Codex info on CSS - you may find something to help you simplify your index page at least. On pages where you have photos in grids (if you use that sort of layout) a table is logical; one bordered photo on an otherwise pristine page doesn't really need a table structure.

    If you need more help post back and I'll see if I can take your index page apart tomorrow and tweak it so you can see what I mean. It's late here though - off to bed shortly, but I will check tomorrow, or you can just email me....

  7. OrchidRed
    Member
    Posted 10 years ago #

    Omg vkaryl, you fixed it! That codex link had the information I needed.

    Thank you, thank you, thank you. And also, thanks for offering to look through my coding tomorrow, that was really awesome of you.

    Now if I can just get these comments to work I'll be all set. :)

  8. vkaryl
    Member
    Posted 10 years ago #

    Lookin' good, girl! I really like what you're doing with your sites. Let me know if you need anything....

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.