Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSS problem with firefox...

Status
Not open for further replies.

Qrosity

Technical User
Jan 9, 2008
14
ES
I have a nice rounded div in IE with the following code:
Code:
<div id="adress">
<p><img src="images/tl.gif" width="15" height="15" class="imageleft" /><img src="images/tr.gif" width="15" height="15" class="imageright" /><br />
  <span class="Style2">
SOME TEXT	
</span>
    <img src="images/bl.gif" width="15" height="15" class="imageleft" /><img src="images/br.gif" width="15" height="15" class="imageright" /></p>
</div>
The CSS:
Code:
img.imageleft{
	float:left;
}
img.imageright{
	float:right;
}
#adress {
	position:absolute;
	left:411px;
	top:310px;
	width:160px;
	z-index:3;
	background-color: #808080;
}
.Style2 {
	margin-left:10px;
	line-height: 1.5em; 
	font-size: .9em;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px; 
	color: #FFFFFF;
	text-align:justify;
	width:160px;
	float: left;
}
But in Firefox, the two upper gifs don't stay at the top, so there's still a background coloured gap over them...
Any hints?
I wouldn't like to use the firefox moz-border-radius, it's still unstable.
 
haven't seen it, where can I find it? It is a little complicate to find the forums in this site...
 
Try forum215

___________________________________________________________
If you want the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
Steam Engine Prints
 
haven't seen it, where can I find it? It is a little complicate to find the forums in this site...
At the top of this page there is a search box with a red button next to it called "Search" (you'll notice that the drop down list underneath it is defaulted to "Find a forum"). Enter the forum you need to find into the search box, click the button and you will be presented with a list of matching forums.


-------------------------------------------------------

Mark,
[URL unfurl="true"]http://aspnetlibrary.com[/url]
[URL unfurl="true"]http://mdssolutions.co.uk[/url] - Delivering professional ASP.NET solutions
[URL unfurl="true"]http://weblogs.asp.net/marksmith[/url]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top