WordPress.org

Support

Images in WP

  • 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!

Viewing 7 replies - 1 through 7 (of 7 total)
  • 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).

    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?

    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?

    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.

    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….

    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. 🙂

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Images in WP’ is closed to new replies.
Skip to toolbar