lining up image with text

F

freemont

http://tinyurl.com/2awmg8

What else is new? Looks ok in Opera and Konq, but not IE or (surprisingly)
FF.

I wish for the items with buttons to show the image lined up with the text
in the <dt>. Solving with margins only messes it up in the browsers it
looks ok in now. I could place the items in the <dt> into a table, and
they'd line up perfectly, but then I'd have a block element inside an
inline element, which is a no-no. And I don't wanna stickem in no stinkin
table anyway.

Little things like this drive me nuts. I need help.

HELLLLP!
 
E

Els

freemont said:
I wish for the items with buttons to show the image lined up with the text
in the <dt>. Solving with margins only messes it up in the browsers it
looks ok in now. I could place the items in the <dt> into a table, and
they'd line up perfectly, but then I'd have a block element inside an
inline element, which is a no-no. And I don't wanna stickem in no stinkin
table anyway.

Switch the order of the right floated image and the left-aligned text.
(and then play with line-height and padding)
Little things like this drive me nuts. I need help.

:)
 
J

Jonathan N. Little

freemont said:
http://tinyurl.com/2awmg8

What else is new? Looks ok in Opera and Konq, but not IE or (surprisingly)
FF.

I wish for the items with buttons to show the image lined up with the text
in the <dt>. Solving with margins only messes it up in the browsers it
looks ok in now. I could place the items in the <dt> into a table, and
they'd line up perfectly, but then I'd have a block element inside an
inline element, which is a no-no. And I don't wanna stickem in no stinkin
table anyway.

Little things like this drive me nuts. I need help.

HELLLLP!

Change from:

..button {
border:none;
float:right;
line-height:80%;
}

To:

..button {
border:none;
float:right;
margin-top: .4em;
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,734
Messages
2,569,441
Members
44,832
Latest member
GlennSmall

Latest Threads

Top