Dear Support,
Is there is someone who got some time to explain why i cant center my logo in dreamweaver. Ive selected the DIV and put everything on center but the logo keeps on the left side of the Div.
Please help me.
You can find the site on
www.dorff.nl
its the logo called be smart instituut.
another question is....is it possible to make the white corners of the logo transparant. Its a jpf and in photoshop there are no corners. So its strange that the appear on my screen when i place it in the site.
Regards Brian
Use CSS (shown inline here for expediency).
HTML:
<div id="header">
<div class="container">
<div id="logo" style="text-align:center">
<img src="images/logo.jpg" alt="Be Smart Instituut" height="100" width="301">
<!--end logo--></div>
<!--end container--></div>
Centering Pages, Images and other elements with CSS
http://cookbooks.adobe.com/post_Centering_web_pages_and_other_elements _with_CSS-16640.html
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
In http://www.dorff.nl/stylesheets/common.css
Change
#logo{
height: 200;
position: relative;
}
to
#logo{
width: 301px;
margin: 0 auto;
}
another question is....is it possible to make the white corners of the logo transparant. Its a jpf and in photoshop there are no corners. So its strange that the appear on my screen when i place it in the site.
The .jpg file format does not support transparency - even if the original is set to transparent in Photoshop, when exported to JPG, the transparent areas will turn white.
The image should not be a JPG anyway. JPG is for photos and gradients.
Solid colors with hard edges (e.g. where edge of text meets background color) should be PNG or GIF. I prefer PNG.
Go back to Photshop and re-export as a PNG with transparency. Then re-link to the PNG file in the stylesheet.
How come i cant see the css tab?
Verstuurd vanaf mijn iPhone
Op 19 mrt. 2012 om 22:20 heeft "Nancy O." <forums@adobe.com> het volgende geschreven:
Re: Help needed with to center my logo.
created by Nancy O. in Dreamweaver - View the full discussion
Use CSS (shown inline here for expediency).
HTML:
<div id="header">
<div class="container">
<div id="logo" style="text-align:center">
<!
end logo></div>
<!
end container></div>
Centering Pages, Images and other elements with CSS
http://cookbooks.adobe.com/post_Centering_web_pages_and_other_elements withCSS-16640.html
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Re: Help needed with to center my logo.
To unsubscribe from this thread, please visit the message page at Re: Help needed with to center my logo.. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Dreamweaver by email or at Adobe Forums
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.
Great Help thank you both!!!
![]()
Date: Mon, 19 Mar 2012 15:21:58 -0600
From: forums@adobe.com
To: braico@live.nl
Subject: Re: Help needed with to center my logo. Help needed with to center my logo.
Re: Help needed with to center my logo.
created by John Waller in Dreamweaver - View the full discussion
In http://www.dorff.nl/stylesheets/common.css Change #logo to #logo another question is....is it possible to make the white corners of the logo transparant. Its a jpf and in photoshop there are no corners. So its strange that the appear on my screen when i place it in the site. The .jpg file formast does not support transparency - even if it's to transparent in Photoshop, when exported to JPG, the transparent will turn white. The image should not be a JPG anyway. JPG is for photos and gradients. Go back to Photshop and re-export as a PNG with transparency. Then re-link to the PNG file in the stylesheet.
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Re: Help needed with to center my logo.
To unsubscribe from this thread, please visit the message page at Re: Help needed with to center my logo.. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Dreamweaver by email or at Adobe Forums
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.
Thanks for the comments. Still got a litlle problem. Now ive center the logo, the illustration of the books in the right corner, crosses over the logo when i change the size of the window. What is the best way to make this look good.
And if you click on the next page you will see that the red words... "Meer dan alleen bijles" is not centered under the logo. Somehow on the page in dreamweaver i see that the div.container#main> on that page is a lot widther than the index page. How can i adjust the width, i cant find it. Hope you can help me again.. Almost ready..
Regards
site name
www.dorff.nl
North America
Europe, Middle East and Africa
Asia Pacific