Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Align text and images between two divs
Old 06-24-2009, 06:07 AM Align text and images between two divs
Junior Talker

Posts: 4
Trades: 0
http://www.mwrgermany.com/fMWR_Happe...happenings.htm

I want the thumbnail graphics on the right-hand column to align with the community tabs on the center content column. Although they appear to be aligned in Dreamweaver, thumbnails appear further down or up on different monitors and browsers. I am spacing them with line breaks. Suggestions?
dopaminefiend is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-24-2009, 09:31 AM Re: Align text and images between two divs
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
The problem is all those empty paragraphs for spacing. If you want the thumbnails on the right to line up with the sections on the left, you're going to have to use a slightly different approach - and lose the tables for layout while you're at it.

In order to keep the sections lined up, you will probably need to put a "wrapper" div around BOTH sections, then have a left and right column within that wrapper. This way you can keep the sections together and keep the spacing between sections consistent using margins and padding instead of tables and empty paragraphs.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-24-2009, 12:20 PM Re: Align text and images between two divs
EricReese's Avatar
Super Talker

Posts: 137
Name: Eric Reese
Location: Maryland, USA
Trades: 0
Not to mention you are in quirksmode now. Add a HTML 4.01 Strict doctype to the VERY top of your page. Also, what are you doing with all these CC's. Surely you don't need them all?

Code:
<!--[if IE]>
<link href="MOLIELeftContent.css" rel="stylesheet" type="text/css" />
<![endif]--> 
<!--<link href="MOLIE_GT6.css" rel="stylesheet" type="text/css" />--> 
<!--[if gt IE 6]>
 
<![endif]--> 
<!--[if IE 7]>
 
<![endif]--> 
<!--[if IE 6]>
 
<![endif]--> 
<!--[if IE 5]>
 
<![endif]--> 
<!--[if IE 5.0]>
 
<![endif]--> 
<!--[if IE 5.5]>
 
<![endif]--> 
<!--[if gte IE 5]>
 
<![endif]--> 
<!--[if lt IE 6]>
 
<![endif]--> 
<!--[if lte IE 5.5]>
And uh..yea...do what LadynRed said

Cheers
__________________
I am 17 years old.Looking for Web Design Job(s). If interested use my
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Funny Line- "I'll Twitter your Yahoo! until I Google all over your FaceBook :D
EricReese is offline
Reply With Quote
View Public Profile Visit EricReese's homepage!
 
Reply     « Reply to Align text and images between two divs
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.83178 seconds with 12 queries