Previous Message
Next Message

Text and Line height woes in Opera, and one other little issue Also, MAC checks please . . .

Sent by Andrew Gregory on 14 January 2005 05:05


On Thu, 13 Jan 2005 22:33:19 -0500, BJ [EMAIL-REMOVED]> wrote:

> I want a slightly bigger than normal line height for easier reading in  
> the #textbox div, which is what shows in FF, but Opera doesn't recognize  
> that at all.

It's in the "#textbox p" rule where you set line-height to 2.25ex. Using  
ex units is not recommended because very few fonts apparently specify  
their ex-height, which results in browsers needing to guess some value.  
Inevitably, different browsers guess differently. I found 1.3em looked  
good.

> The second problem is the bottom of the right hand nav column, called  
> #navbox which wraps the linklists.  I can't seem to get the margin to  
> show up

That's margin collapsing. Try using padding to push it up.

> is there any way to override the amount of indent on those unordered  
> lists?

When dealing with lists some browsers use padding, some margins. You  
should fully specify both padding and margin on the ul/ol elements. eg,  
add to the ".linklist" rule something like "margin:0;padding:0 0 0 10px;"

Cheers,
-- 
Andrew Gregory, <URL: [EMAIL-REMOVED] >
<URL: http://www.scss.com.au/family/andrew/ >
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: