Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 02-17-2007, 07:04 PM Weird float issues
carterdea's Avatar
Ultra Talker

Posts: 353
Location: Arizona
Trades: 0
Hello,

I need to fix the right panel on this. In FF and Safari, I can't figure out what's going on. Check it out.

http://www.carterdea.com/clients/painlimited/

thanks a ton.
__________________

Please login or register to view this content. Registration is FREE
carterdea is offline
Reply With Quote
View Public Profile Visit carterdea's homepage!
 
 
Register now for full access!
Old 02-18-2007, 11:46 AM Re: Weird float issues
RanaD's Avatar
Super Talker

Posts: 139
Name: David
Trades: 0
Code:
#right_panel{
    width:200px;
    float:right;
    margin:10px 40px 0 0;
    padding-left:25px;
    border-left:1px dashed #ccc;
}

#forgot{
    position:relative;
    left:200px;
}

<p><a href="password.php" id="forgot">forgot my password</a></p>

.submit{
    position:relative;
    left:200px;
    width:230px;
    height:20px;
    cursor:pointer;
    font-weight:bold;
    padding-bottom:2px;
}

<p><input type="submit" value="Login &raquo;" class="submit" /></p>
Right panel width is 200px, yet you put stuff with a width of 230px inside that, with a left margin of 200px, for a total of 530px?
RanaD is offline
Reply With Quote
View Public Profile
 
Old 02-18-2007, 12:02 PM Re: Weird float issues
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
There's nothing wrong with your float at all. Your problem is the position: relative on .forgot and .submit. Remove that and they will pop back into the right panel box where you want them.

Why did you set them to position: relative anyway ?
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 02-19-2007, 02:05 AM Re: Weird float issues
carterdea's Avatar
Ultra Talker

Posts: 353
Location: Arizona
Trades: 0
Thanks a ton.

I put the relative positioning in order to make them even with the rest of the form inputs.



carterdea
__________________

Please login or register to view this content. Registration is FREE
carterdea is offline
Reply With Quote
View Public Profile Visit carterdea's homepage!
 
Reply     « Reply to Weird float issues
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13817 seconds with 12 queries