1 reply [Last post]
MadDogMike
MadDogMike's picture
Offline
newbie
Last seen: 7 years 45 weeks ago
Timezone: GMT-5
Joined: 2011-01-18
Posts: 2
Points: 4

I'm trying to do something like what is described here: http://wordpress.org/support/topic/how-can-i-make-this-please-look-inside-at-the-image?replies=9

(I'm not doing it for Twitter, but same concept.)

I've tried this, but no matter where I place the div, I can't get the button to go where I want it, and the CSS seems to be ignored.

Here's the HTML I'm using:

<div id=”login-register”> <a href=/search/#ShowLogin><img src=/wp-content/uploads/2011/01/Login-Register.png alt=”Login or Register” /></a> </div>

And the CSS:

#login-register {
	position: absolute;
	top: 200px;
	right:0;
}

Here's my test installation: http://intownelite.com/openhousetest/

The button labeled "Login / Register" is the one I'm working on. Placing the div in different spots in my header.php puts the button in different spots, but never does it align to the side of the browser as directed by the CSS. Seems like maybe it's stuck inside another div, but I can't seem to overcome this no matter where I place it.

Any suggestions?

thanks,
Mike

Deuce
Deuce's picture
Offline
Guru
Somewhere, USA
Last seen: 2 years 20 weeks ago
Somewhere, USA
Timezone: GMT-5
Joined: 2005-11-20
Posts: 4424
Points: 1843

Validate your

all » http://dictionary.reference.com/browse/all

Google isn't a bunch of guys reading and grading web sites, it's more like a bunch of monkeys sniffing food and putting the good bananas at the top. -Triumph