Center Banner Logo
Moderator: Thorsten
Center Banner Logo
What do I need to change (in style.css ?) to center the banner logo on my site: http://www.dptips.com/tips/ Thanks. -Ivan
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi Ivan,
does <img align="center" /> work?
bye
Thorsten
does <img align="center" /> work?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
No luck. Here is the header code currently on website:
Code: Select all
<!-- start headers -->
<div class="header" id="header">
<img src="http://www.dptips.com/tips/images/dptips.jpg">
<ul>
<li>{msgContact}</li>
<li>{msgHelp}</li>
<li>{msgOpenQuestions}</li>
<li>{msgQuestion}</li>
<li>{msgAddContent}</li>
<li>{msgSearch}</li>
</ul>
</div>
<!-- end headers -->
Hi,
this centers the image:
bye
Thorsten
this centers the image:
Code: Select all
<!-- start headers -->
<div class="header" id="header">
<div style="text-align: center;"><img src="http://www.dptips.com/tips/images/dptips.jpg" alt="" /></div>
<ul>
<li>{msgContact}</li>
<li>{msgHelp}</li>
<li>{msgOpenQuestions}</li>
<li>{msgQuestion}</li>
<li>{msgAddContent}</li>
<li>{msgSearch}</li>
</ul>
</div>
<!-- end headers -->
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
ah, okay!
I'll take a look at it this evening!
bye
Thorsten
ah, okay!

I'll take a look at it this evening!
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
that's easy. You just have to play with the height in the #header section in CSS file template/style.css:
bye
Thorsten
that's easy. You just have to play with the height in the #header section in CSS file template/style.css:
Code: Select all
/**
* Header definitions
*/
#header {
position: relative;
min-height: 39px;
height: 5em;
padding: 0;
margin: 0;
margin-bottom: 1em;
height: 3em;
padding: 15px 0;
}
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist