Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: ignoring external styles css  (Read 341 times)
0 Members and 1 Guest are viewing this topic.
delicia
New Member
*

Karma: 0
Offline Offline

Posts: 7


WWW
« on: April 19, 2006, 07:16:00 PM »

I am trying to use calendar in an existing website and make it look like other pages. the background colors and navbar look fine. i have declared an explicit size for the navbar (in pixels) so it looks fine. but i'm using relative sizes for other divs. i want most of text to be 'small'. but calendar is ignoring my sidebar text size and making text way too big. calendar grid itself looks fine, but list view looks too big.

i linked to the external stylesheet that i'm using for other pages in the site and know it works because the colors and top navbar are fine.

my div structure looks like this (abbreviated!):
body
div=wrap (wraps around entire page content)
div = navbar
/div
div = container
div = container2
div = left sidebar
/div (left sidebar
div = right sidebar
/div (right sidebar
div = main content - calendar output goes here
/div (main
/div container2
/div container
div footer
/div
/div wrap
/body

i can't figure out why my text is so big!!!

see www.kudzuartzone.org

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: April 19, 2006, 08:45:00 PM »

That doesn't really have anything to do with CalendarScript per se, just CSS. You might have more luck asking your question in a forum dedicated to CSS?

** i can't figure out why my text is so big!!! **

I don't see where you've defined a font size for any of the following.

DIV#navigation ul
DIV#navigation ul li
#navigation ul li

I don't know if any should be necessary (which is where asking in a CSS support forum would likely yield the best results IMO).

JMO

Dan O.

------------------

Logged
delicia
New Member
*

Karma: 0
Offline Offline

Posts: 7


WWW
« Reply #2 on: April 19, 2006, 09:18:00 PM »

i think it must have something to do with calendarscript because the same style sheets work fine in other pages, event those generated by other cgi script. i'm using an @import link to set font-size and a regular link to set colors. i tried specifying sizes as you mentioned for div#navigation for just the calendarscript but it had no effect.

------------------

Logged
delicia
New Member
*

Karma: 0
Offline Offline

Posts: 7


WWW
« Reply #3 on: April 19, 2006, 09:37:00 PM »

it's fixed now. i noticed that all the other pages have a doctype statement. i added that to default.html and now it looks fine.

------------------

Logged
Pages: [1]   Go Up
Print
Jump to: