Solved

Vertical align floated divs (tables don't work) on fluid width header.

Posted on 2013-01-25
3
262 Views
Last Modified: 2013-05-08
The page here shows the title and share icons floated left and right, but I need them vertically aligned so that when the text is on two lines, the share icons are vertically aligned and not too high up.

The problem is the fluid width, where I can't specify the heights for the tables if I try that instead.

Does anyone know how/if this can be achieved? Thanks.
0
Comment
Question by:UName10
  • 2
3 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
Comment Utility
The validator shows 16 errors.  Some of them are structural (invalid tagging) and need to be corrected before you try to fine tune your layout.

Cd&
0
 

Author Comment

by:UName10
Comment Utility
Hi there,

Thanks for the reply.

Yeah most of them are empty alt tags which I can fix, but the banner is paid for and came from the client. It has no bearing on this though.

Whats I am concerned about however, is the validator is picking up an unclosed body tag:

Line 366, Column 7: end tag for "div" omitted, but OMITTAG NO was specified
</body>

It's closed, so I;m not sure what that could be? Any ideas would be great, as well as the floats of course.

Many thanks again.
0
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 500 total points
Comment Utility
On the element id="share" try adding margin-top:25%

The unclosed div appears to be footer-wrapper.

Cd&
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now