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
<dl> float:right not working in firefox
Old 09-27-2009, 08:25 PM <dl> float:right not working in firefox
MattCoops's Avatar
Ultra Talker

Posts: 423
Name: Matt Cupan
Location: Charlotte, NC
Trades: 0
Redesigning my portfolio yet again.
I wanted to keep everything organized into a list of work.
I am using a definition list that is floated right.
I have two problems:

1. The float seems to not work in Firefox after the <dd> element.

and

2. The bottom border of the first <dt> flows along the top of page in FF.

the css is located here
__________________
Matt - Tweeting
Please login or register to view this content. Registration is FREE


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

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

Last edited by MattCoops; 09-27-2009 at 11:01 PM..
MattCoops is offline
Reply With Quote
View Public Profile Visit MattCoops's homepage!
 
 
Register now for full access!
Old 09-27-2009, 09:07 PM Re: <dl> float:right not working in firefox
MattCoops's Avatar
Ultra Talker

Posts: 423
Name: Matt Cupan
Location: Charlotte, NC
Trades: 0
sure, I could use a simple <div> to float:right a list

but all I want is a <dl> on the right side of the screen
and then whatever <dd> that is being displayed to push over with a margin-right

only problem is the <dt>s after the <dd> won't stay right
I figured since the whole <dl> is floated right, shouldn't the <dt>s and <dd> also float:right since they are held within the <dl>?
__________________
Matt - Tweeting
Please login or register to view this content. Registration is FREE


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

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

Last edited by MattCoops; 09-28-2009 at 02:08 PM..
MattCoops is offline
Reply With Quote
View Public Profile Visit MattCoops's homepage!
 
Old 09-27-2009, 10:28 PM Re: <dl> float:right not working in firefox
MattCoops's Avatar
Ultra Talker

Posts: 423
Name: Matt Cupan
Location: Charlotte, NC
Trades: 0
It's got to be a clear issue.

I brainstormed a little and a creative way to fix may be to float the <dt> instead of the whole <dl>. Then how will I get the <dt>s to line up vertically instead of floating beside each other?
I could place a <hr> in between each <dt> and use css to style the width to match that of the <dt>s and more importantly add a clear:right attribute.
__________________
Matt - Tweeting
Please login or register to view this content. Registration is FREE


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

read my
Please login or register to view this content. Registration is FREE
MattCoops is offline
Reply With Quote
View Public Profile Visit MattCoops's homepage!
 
Old 09-27-2009, 10:43 PM Re: <dl> float:right not working in firefox
MattCoops's Avatar
Ultra Talker

Posts: 423
Name: Matt Cupan
Location: Charlotte, NC
Trades: 0
actually, the hr trick I thought up above didn't work out like I thought it might
__________________
Matt - Tweeting
Please login or register to view this content. Registration is FREE


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

read my
Please login or register to view this content. Registration is FREE
MattCoops is offline
Reply With Quote
View Public Profile Visit MattCoops's homepage!
 
Old 09-28-2009, 05:35 PM Re: <dl> float:right not working in firefox
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
I'd done what you're trying to do. You will need to float the <dt> include "clear:both" in order to get the next <dt> under the one above it.
__________________
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 09-28-2009, 07:09 PM Re: <dl> float:right not working in firefox
MattCoops's Avatar
Ultra Talker

Posts: 423
Name: Matt Cupan
Location: Charlotte, NC
Trades: 0
so the css looks like: dt { clear:both; float;right; }

you can have both those two attributes within the same styled element?
__________________
Matt - Tweeting
Please login or register to view this content. Registration is FREE


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

read my
Please login or register to view this content. Registration is FREE
MattCoops is offline
Reply With Quote
View Public Profile Visit MattCoops's homepage!
 
Old 09-28-2009, 07:18 PM Re: <dl> float:right not working in firefox
MattCoops's Avatar
Ultra Talker

Posts: 423
Name: Matt Cupan
Location: Charlotte, NC
Trades: 0
It works out fine.
Just had to clear:right the <dd> to keep it where I want it to be.
Thanks Lady
__________________
Matt - Tweeting
Please login or register to view this content. Registration is FREE


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

read my
Please login or register to view this content. Registration is FREE
MattCoops is offline
Reply With Quote
View Public Profile Visit MattCoops's homepage!
 
Old 09-29-2009, 04:46 PM Re: <dl> float:right not working in firefox
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
You're welcome
__________________
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 09-29-2009, 07:23 PM Re: <dl> float:right not working in firefox
orionoreo's Avatar
Ultra Talker

Posts: 335
Name: Jerry
Trades: 0
this is not a chat box, type out your whole message before you submit
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
orionoreo is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to <dl> float:right not working in firefox
 

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.28535 seconds with 12 queries