sealift Posted April 9, 2013 Share Posted April 9, 2013 (edited) I have a logo that I would like to appear on my page header. I deleted the background so that the header would show through but a border still appears around the logo. Is there a way I can get rid of this? The image is not located on the stylesheet, but instead on each webpage. I know that this is not correct, but it was causing me trouble so for now i'm leaving it as is. Here is the section of code from the page that contains the image. <body><input name="title" type="hidden" value="Home" /><div class="container"> <div class="top"> <p class="logo">Australian Barge Hire</p> <img src="images/photos/sealift1/logo no background.png" width="150" height="78.61" class="float-right" border="0" /> </a> <p class="slogan">Jack-up (self elevating platform) and<br />Construction Barges Australia Wide</p> </div> I'm sure that I haven't given enough information, so please let me know what else I should be providing. Thanks in advance for any assistance you can give. Edited to add: when I delete the class="float-right" section the border does not appear (yay!) But the image is also then in the middle of the header, not where I want it to the right hand side. Edited April 9, 2013 by sealift Link to comment Share on other sites More sharing options...
Guest Keytone Posted April 9, 2013 Share Posted April 9, 2013 http://www.w3schools.com/cssref/pr_border-style.asp good luck! Link to comment Share on other sites More sharing options...
sealift Posted April 9, 2013 Author Share Posted April 9, 2013 Thanks, Keytone. I'm just wondering if you can assist one step further... I have been trying out different variations of placement for this code, but no luck so far! Either nothing happens at all, or the actual code appears on the page. Any suggestions of where exactly it should go? This is the without border code I was trying to incorporate:div{border-width:5px;border-style:none;} Thanks so much for the link! I must not have searched the correct terminology since that never appeared in my searches. Link to comment Share on other sites More sharing options...
dsonesuk Posted April 9, 2013 Share Posted April 9, 2013 It should go in external stylesheet with extension *.css (preferable), or in the head of the page between <head></head> with <style type="text/css"> div{border-width:5px;border-style:none;}</style> http://w3schools.com/css/css_howto.asp Link to comment Share on other sites More sharing options...
sealift Posted April 15, 2013 Author Share Posted April 15, 2013 Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now