|
| |
|
|
vashonmm
Posts: 26 Joined: 1/9/2006 Status: offline
|
Expression bumps my content down - 7/13/2008 15:26:02
If someone could double check this for me and tell where I'm screwing this up, I'd sure appreciate it. Or maybe there's just a funny thing about Expression...? I have a site that is two columns, left is menu, right is posts. In Expression, when I insert an image that seems sized mathmatically ok into the right column, it bumps it all down below the content of the left column, like it's too wide. When you preview it in IE or FF, it looks fine, everything is up at the top. Just in Expression it drops down. The elements are: content (main container); colone (left column); coltwo (right column); post (an info item). The math from the css, I think, is like this: 740 content - 40 padding (20+20) ------ 700 -210 colone ------ 490 left for coltwo, which is 490 -100 post padding (40+60) - 2 post border ------ 388 left for images - 15 padding right on images ------ 373 max image width *but*, the max width I can actually use for an image is 328. Somewhere, I'm losing 45 pixels. It's not a ton but these are supposed to be showing quality of work on antique cars and they're already pretty small. It's driving me nuts. The css looks like this, if I can shorthand it without screwing it up: body { margin: 0; padding: 0; } .post { padding: 20px 40px 20px 60px; border-right: 1px solid #000000; border-left: 1px solid #1F1F1F; } .post img { padding-right: 15px; } #topimage { width: 780px; height: 304px; margin: 20px auto 0 auto; } #logo { width: 780px; height: 116px; margin: 0 auto; } #topnav { width: 780px; height: 25px; margin: 0 auto; } #content { width: 740px; margin: 0 auto; padding: 20px; } #colone { float: left; width: 230px; } #coltwo { float: right; width: 490px; } #footer { clear: both; width: 580px; margin: 0 auto; padding-top: 20px; } I'd be happy to post the complete css if it would help, although it's pretty ugly (n00b). I should have it published later today if a link will help as well. Thanks so much.
|
|
|
|
vashonmm
Posts: 26 Joined: 1/9/2006 Status: offline
|
RE: Expression bumps my content down - 7/13/2008 16:27:48
Thanks for the reply. I think you're right and since I posted that, I've been fine tooth combing it and realize there's other n00b problems that need attention, so I'm going to try to work the kinks out of all of it and maybe this thing will sort itself out. Once I get something that's not too embarrassing, if it still exhibits this behavior in Expression, maybe I'll share a link and ask again. ;-)
|
|
|
|
vashonmm
Posts: 26 Joined: 1/9/2006 Status: offline
|
RE: Expression bumps my content down - 7/13/2008 16:30:45
btw, thanks much for the work on it, nice trick with the source. is that from some kind of css checker tool or did you do that by hand? appreciated.
|
|
|
|
TexasWebDevelopers
Posts: 202 Joined: 2/22/2002 From: Status: offline
|
RE: Expression bumps my content down - 7/13/2008 17:51:11
by hand--glad to help
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|