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
Trouble with Vertical Alignment
Old 09-28-2006, 01:59 PM Trouble with Vertical Alignment
Super Talker

Posts: 133
Name: Jess Weiss
Location: Massachusetts
Trades: 0
Hi there gang - the site in question is at http://www.beaconhillupdate.com/

If you look at the "opinion" section, you will see that the "more headline" link is way below the "opinion" link. I'm trying to get them to more or less line up, or at least to both align at the top.

I've tried a bunch of different things, none of which seem to work in both IE and in Firefox. The only one that came close was inlcluding "position: absolute; top;" - worked in IE, but in Firefox, it hovered in the middle of the bottom line.

Any thoughts? TIA!
__________________
"If you worried about falling off the bike, you'd never get on it" - Lance Armstrong

"The problem with people who have no vices is that generally you can be pretty sure they're going to have some pretty annoying virtues." - Elizabeth Taylor
lynnema is offline
Reply With Quote
View Public Profile Visit lynnema's homepage!
 
 
Register now for full access!
Old 09-28-2006, 03:40 PM Re: Trouble with Vertical Alignment
Webmaster Talker

Posts: 626
Trades: 0
In #more-center take out the following:

margin-left:200px;

Insert into the same rule the following:

float:right;
margin:-15px;

This solves the problem in both IE and FF.
jim.thornton is offline
Reply With Quote
View Public Profile
 
Old 09-29-2006, 08:07 AM Re: Trouble with Vertical Alignment
Novice Talker

Posts: 5
Name: chris
Location: Leicester, UK
Trades: 0
I can also see that your content is overlapping your header in mozilla firefox 1.5
simpleurl is offline
Reply With Quote
View Public Profile Visit simpleurl's homepage!
 
Old 10-02-2006, 10:10 PM Re: Trouble with Vertical Alignment
Junior Talker

Posts: 3
Trades: 0
Alright...let's see.

"position:absolute;" just means that you can position your div at certain positions in relation to the 0,0 location on the page. You misread the code as something that would position the text at the top - "top:0; left:0;" would position the entire div at 0,0 on the page.

To vertically align any text in a table, CSS isn't an option. You can use the HTML attribute/value of valign="top".
For example,
<td valign="top">

Hope that helps.
smokescreen is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Trouble with Vertical Alignment
 

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.16891 seconds with 12 queries