Log In · Register

 
It's always a browser problem, isn't it?
ChasingLife87
post Jun 7 2005, 04:05 PM
Post #1


ich heisse Meli.
*****

Group: Member
Posts: 909
Joined: Apr 2005
Member No: 122,016



Okay. I'm working on touching up my subdomain right now, and I had the neatest idea. Everyone's seen those "make poverty history" banners in the upper right corner of most subdomains. Well, I wanted to do something like that for a link back to createblog. The transparent gif is no issue, the image mapping is no issue... it's just the darn alignment!

I'm using this code:
CODE
#cblink {
position: absolute;
padding-right: 0px;
vertical-align: top;
float: right;
margin-right: 0px;
margin-top: 0px;
z-index: 2;
}


In IE, it's mostly aligned (it pushes it slightly to the right, though, and then you have to scroll over a teensy bit.

In Firefox (which is what I use almost exclusively, and more and more people do as well), it's randomly down by my frames, under my header and all.

Is there another way to align it?

Or if not, is there SOME advanced script where I could only have it display if it is being viewed on IE?

Thanks again, guys.
 
 
Start new topic
Replies
Heathasm
post Jun 7 2005, 07:31 PM
Post #2


creepy heather
*******

Group: Official Member
Posts: 4,208
Joined: Aug 2004
Member No: 41,580



<!--[if gte IE 6]>
<link rel="stylesheet" type="text/css" href="iespecific.css" />
<![endif]-->

this is a useful ie hack. make two stylesheets exactly the same, except in one use the code for the banner you want to use (which will be the one you use for ie) and link it in the code above while linking the stylesheet you want to show up on all other browsers normally in your html
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: