Jump to content


Photo

cant get logo to stay inline with site title


  • Please log in to reply
3 replies to this topic

#1 AnthonyJ

AnthonyJ

    Advanced Member

  • Member
  • PipPipPipPip
  • 105 posts
  • LocationSaint Paul, MN

Posted 05 December 2011 - 07:18 PM

Hi all,

I can't get my logo to stay put. If I move the logo within the logical div it moves my title down. It sounds like a float problem but it escapes me. Would you have a look?

<body>
<section class="container">
<section>
<h2>ARJ Communications & Technologies</h2>
<h3>Bringing art and science together</h3>
</section>
<header id="logo">
<img src="asset/arjcommunications.com 2011-12-3 10-56-19.png" alt="ARJ Communications" width="83" height="129" longdesc= "asset/arjcommunications.com 2011-12-3 10-56-19.png">

</header>

Thanks,
  • 0
Anthony R. Jackson

#2 benjaminmorgan

benjaminmorgan

    Advanced Member

  • Member
  • PipPipPipPip
  • 237 posts

Posted 05 December 2011 - 07:52 PM

Hopefully you have <section class="container"> closed.
.container {
width: /* total width */
}
.contaner section {
width: /* part width */
float: left;
}
#logo {
float: left;
width: /*other part of width */
I'm pretty sure that should work.
  • 0
Things should be made as simple as possible, but not any simpler. -Albert Einstein

#3 Andrea

Andrea

    Advanced Member

  • Moderators
  • 5,718 posts
  • Facebook:https://www.facebook.com/aandbwebdesignAB
  • LocationSan Antonio, TX

Posted 06 December 2011 - 06:15 AM

Aside from any positioning issues - if Benjamin's solution doesn't work, post a link - we really need to see ALL the code (HTML and CSS), not just what's in the area - I noticed the file name you are using for the image:
arjcommunications.com 2011-12-3 10-56-19.png
This is the wrong way to name files and you're only asking for problems. There should only be ONE period in a file name, and that's the one just before the file extension, in this case, the 'png'. Also, spaces in file names can cause problems. so you might consider renaming all your images following basic file naming conventions.
  • 0

#4 adkls5555

adkls5555

    New member

  • New Members
  • 1 posts

Posted 09 December 2011 - 01:51 AM

Hello Nice to meet you

_______________________________________________________
[Link Deleted]
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users