Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-09-2009, 07:10 PM   PM User | #1
DESI6N
New to the CF scene

 
Join Date: May 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
DESI6N is an unknown quantity at this point
floating problems in IE

I am trying to float and image for a webpage - it works in FireFox but not in IE - any ideas what I am doing wrong? Thanks!

}
.photo_left {
color:#660033;
background: #BFCBB1;
padding: 1px;
border-top: 2px double #6F006F;
border-right: 2px double #6F006F;
border-bottom: 2px double #330033;
border-left: 2px double #330033;
text-transform: uppercase;
float: left;
font-family: Arial, Helvetica, sans-serif;
font-size: 9px;
font-weight: 100;
margin-top: 2px;
margin-right: 4px;
margin-bottom: 2px;
margin-left: 0px;
clear: left;
}


DESI6N is offline   Reply With Quote
Old 05-09-2009, 11:04 PM   PM User | #2
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Hello DESIGN,
Normally to float an element, you need to specify a width. That width could come from inline styling in the markup, which you don't show, but it's definitely missing in the CSS you quoted.
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote
Old 05-10-2009, 04:35 PM   PM User | #3
abduraooft
Supreme Master coder!

 
abduraooft's Avatar
 
Join Date: Mar 2007
Location: N/A
Posts: 14,689
Thanks: 158
Thanked 2,184 Times in 2,171 Posts
abduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really nice
Quote:
it works in FireFox but not in IE - any ideas what I am doing wrong? Thanks!
Can we have a link to your page?
__________________
Quote:
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)
abduraooft is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:58 AM.


Advertisement
Log in to turn off these ads.