Hi,
I have tried to use CSS to create a top menu bar and have run into a problem with vertically centering and had to resort to tables. In essence support for vertical centering seems very patchy and using absolute or relative alignment then leads to it looking different in Firefox and IE.
Can anyone show me some some code to reproduce the top gray bar in pure CSS that works in both IE6/7 and Firefox ? see http://www.uiqreview.com. The code I want to use should look something like:
<div id="container">
<div id="header">
<div id="pathbar">...</div>
<div id="syndicatebar">...</div>
</div>
<div class="grayline"></div>
...
</div>
.. but leads to the RSS icon or the pathway not aligning vertically properly - the contents of the pathbar and syndicatebar are programatically generated (joomla) and can not be easily modified.
Thanks for any help !
.header
{
background:#efefef;
margin: 0;
border: 0;
padding: 0;
height: 15px;
line-height: 15px;
vertical-align: middle;
}
#pathbar
{
float:left;
margin: 0;
border: 0;
padding: 0px;
}
#syndicatebar
{
float:right;
margin: 0;
border: 0;
padding: 0;
}
Thanks,
/Tom