| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
css is for divs
Join Date: Feb 2003
Location: Norwich
Posts: 4,512
|
Putting the basics together for a web interface. I'm designing the page so that it fits perfectly when maximized in a 1024 x 768 resolution (but also works at other resolutions). But I'm having problems with either the padding or margin differences between Mozilla and IE. At the moment, it fits fine in IE, but is about 15 pixels short in Mozilla. I know it's some simple tweak somewhere but I can't find the bugger and want to get it sorted at this early stage before the interface gets any more complex. The file's here (css here) Thanks muchly in advance |
|
|
|
|
|
#2 (permalink) |
|
css is for divs
Join Date: Feb 2003
Location: Norwich
Posts: 4,512
|
One more thing, I was hoping to use Trebuchet MS but it doesn't seem to be working, is this because: a) Trecuchet isn't exactly a system font, what a fool b) The css font family needs some jiggery-pokery More muchly thanks |
|
|
|
#5 (permalink) | |
|
I Ain't Losing Any Sleep™
Join Date: Apr 2003
Posts: 5,237
|
Quote:
hic. bit of a lightweight too actually. That's fuckin' ingenious, if I understand it correctly. It's a Swiss fuckin' watch.
|
|
|
|
|
#7 (permalink) |
|
css is for divs
Join Date: Feb 2003
Location: Norwich
Posts: 4,512
|
Ok then, now I've got the grey area (#calendarView) at 100% width (relative positioning). It's pushing further than the browser window because of padding and margins (I assume) so I'm trying to clip the area, but it's not playing ball, anybody know why? (lazy scrollers click here) |
|
|
|
#8 (permalink) |
|
I Ain't Losing Any Sleep™
Join Date: Apr 2003
Posts: 5,237
|
Just get rid of the width: 100% and all that other crap. Does this work? Code:
That's fuckin' ingenious, if I understand it correctly. It's a Swiss fuckin' watch.
|
|
|
|
#9 (permalink) |
|
I Ain't Losing Any Sleep™
Join Date: Apr 2003
Posts: 5,237
|
If you do get rid of the height: 510px you'll have to put in a clearer div... Code:
That's fuckin' ingenious, if I understand it correctly. It's a Swiss fuckin' watch.
|
|
|
|
#13 (permalink) |
|
css is for divs
Join Date: Feb 2003
Location: Norwich
Posts: 4,512
|
Argh I'm not really trying to get Smallbeer to do the whole thing, honest. It's just that, it all works fine in IE, it has a minimum width of 975ish, if the browser goes any smaller you have to scroll, any larger and it fills the window: great. The problem is that if the browser goes smaller in Mozilla, then the diary boxes wrap below - they don't stay in a line like in IE, causing the grey area to scroll to cope with the height of two diary boxes. Is this a "Display" property that I'm missing? |
|
![]() |