Thread: CSS positioning
View Single Post
Old 04-21-2008   #1 (permalink)
bluemermaid
Registered User
 
Join Date: Apr 2008
Posts: 8

CSS positioning

HELP! I am trying to figure out how to keep my logo which is in a div inside the header div from moving when the browser window is resized. I've been reading about percentages and fixed positions, and maybe just working on it too long ~ not making sense to me!!

Spanish Flowers Mexican Restaurant - About Us

My CSS code:

#logo {
position: absolute;
left: 150px;
top:0
}

and html

<div id="header"><div id="logo"><img src="images/SFlogo2.gif" alt="Spanish Flowers Mexican Restaurant" /></div><div id="animat"><img src="images/topheaderanim.gif" alt="Voted Houston's Best" /></div></div>

Thanks in advance if anyone can help me!
Blue Mermaid
bluemermaid is offline   Reply With Quote