Help with Font size and cfincludes

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Help with Font size and cfincludes

    Can anyone help... I am collaborating on a site that uses includes. (i am not
    the include person, rather the designer). is the code below the reason why the
    font size is HUGE on some browsers and not others? ie: in Safari it looks like
    an 18pt size! Should be 10pt. <CFQUERY datasource='#application.datasource#'
    name='getEvent'> select Calendar.* from Calendar where ((###tempDate### =
    calendar.startdate) or (###tempDate### = calendar.enddate) or
    ((###tempdate### > calendar.startDate) and (###tempdate### <
    calendar.enddate))) </CFQUERY> <p align='left'
    class='style2' > <span style='{font-size: 0.1in;}'><CFOUTPUT>#temp#
    #tempWeekday#</CFOUTPUT></span><BR> <span style='{font-size:
    0.09in;}'> <CFOUTPUT query='getEvent'> <A
    HREF='../cal/entrydetail.cfm?calendarID=#getEvent.calendarID#'> <font
    color='#getEvent.groupcolor#'>#getEvent.title#</font></A><BR>
    </CFOUTPUT> </span> </p> <CFSET tempday = tempday+1> </CFLOOP> </TD>

    skydiver99 Guest

  2. Similar Questions and Discussions

    1. How to change the font, the font size, and color text
      How to change the font, the font size, and the color for a selected text in C++. David
    2. Font and Font Size Disabled
      In the Administration area where you edit settings for a user, I have the value checked for "Allow users to apply fonts and sizes". The Style...
    3. font, font size, background color preferences
      I tell you, this 7.06 drives me nuts. What was so simple in 5.0 now seems so screwball. I am trying to add text to a form I downloaded, but...
    4. Font and Font Size menus not available on Contribute3.11 on OSX
      I have several iMacs and eMacs that have Contribute 3.11 installed on them. I have granted the users full rights to edit pages using the font menu...
    5. Retrieving Font and Font Size Through VB
      How can I retrieve the font and font size for a piece of text in a pdf file? I have tried many thing, however, I am only able to select and highlight...
  3. #2

    Default Re: Help with Font size and cfincludes

    Yes, it is lines like this that are causing the problem

    span style='{font-size: 0.1in;}

    BTW you not really express font sizes in pt as these are different in size
    between mac & pc.

    --
    Regards

    Paul Whitham
    Macromedia Certified Professional for Dreamweaver MX2004
    Valleybiz Internet Design
    [url]www.valleybiz.net[/url]

    Team Macromedia Volunteer for Ultradev/Dreamweaver MX
    [url]www.macromedia.com/support/forums/team_macromedia[/url]

    "skydiver99" <webforumsuser@macromedia.com> wrote in message
    news:d04uoi$bh4$1@forums.macromedia.com...
    > Can anyone help... I am collaborating on a site that uses includes. (i am
    not
    > the include person, rather the designer). is the code below the reason why
    the
    > font size is HUGE on some browsers and not others? ie: in Safari it looks
    like
    > an 18pt size! Should be 10pt. <CFQUERY
    datasource='#application.datasource#'
    > name='getEvent'> select Calendar.* from Calendar where
    ((###tempDate### =
    > calendar.startdate) or (###tempDate### = calendar.enddate) or
    > ((###tempdate### > calendar.startDate) and (###tempdate### <
    > calendar.enddate))) </CFQUERY> <p align='left'
    > class='style2' > <span style='{font-size: 0.1in;}'><CFOUTPUT>#temp#
    > #tempWeekday#</CFOUTPUT></span><BR> <span
    style='{font-size:
    > 0.09in;}'> <CFOUTPUT query='getEvent'> <A
    > HREF='../cal/entrydetail.cfm?calendarID=#getEvent.calendarID#'> <font
    > color='#getEvent.groupcolor#'>#getEvent.title#</font></A><BR>
    > </CFOUTPUT> </span> </p> <CFSET tempday = tempday+1> </CFLOOP>
    </TD>
    >

    Paul Whitham TMM Guest

  4. #3

    Default Re: Help with Font size and cfincludes

    Paul,
    Thanks for your reply.
    What unit (for font size) should i use then?
    I know they will not always be exact, but I want a consistent look cross-browser and platform.
    thanks,
    mg
    skydiver99 Guest

  5. #4

    Default Re: Help with Font size and cfincludes

    The most consistent look is achieved with pixels, but generally ems are
    recommended in cases where accessibiliy issues could arise.

    --
    Regards

    Paul Whitham
    Macromedia Certified Professional for Dreamweaver MX2004
    Valleybiz Internet Design
    [url]www.valleybiz.net[/url]

    Team Macromedia Volunteer for Ultradev/Dreamweaver MX
    [url]www.macromedia.com/support/forums/team_macromedia[/url]

    "skydiver99" <webforumsuser@macromedia.com> wrote in message
    news:d0b57m$cf$1@forums.macromedia.com...
    > Paul,
    > Thanks for your reply.
    > What unit (for font size) should i use then?
    > I know they will not always be exact, but I want a consistent look
    cross-browser and platform.
    > thanks,
    > mg

    Paul Whitham TMM Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139