...

View Full Version : line-height and fieldset



JAVAEOC
05-19-2005, 06:51 PM
I have a div (id=custom) with a fieldset and some text and a few input boxes

then I have this code:

#custom{
padding: .2em;
margin: .2em;
line-height: 150%;
}

however the line height doesnt work... why?

_Aerospace_Eng_
05-19-2005, 07:02 PM
First off when you use a decimal for a size less than 1 you have to put 0 in front of it.


#custom {
padding: 0.2em;
margin: 0.2em;
line-height: 150%;
}

That should work, well it did for me locally, can we see all of your code please?

JAVAEOC
05-19-2005, 07:20 PM
nope doesnt work

_Aerospace_Eng_
05-19-2005, 11:19 PM
That should work, well it did for me locally, can we see all of your code please?
READ ^^

JAVAEOC
05-20-2005, 04:44 PM
READ ^^

the entire code is to long to post... thanks for the help tho

_Aerospace_Eng_
05-20-2005, 07:30 PM
then put it in a zip file and attach it to your post, or leave a link to your site.

JAVAEOC
05-20-2005, 08:38 PM
a link: www.bluephoenix.uni.cc :P

_Aerospace_Eng_
05-20-2005, 09:02 PM
Its case sensitive, your id for that div is "Custom" but you have #custom in your css.

#Custom{
padding: 0.2em;
margin: 0.2em;
line-height: 150%;
}

JAVAEOC
05-20-2005, 09:17 PM
oops... lol :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum