Font-size rule in table
Hello,
I am having trouble understanding why a CSS rule isn't making it into a table. Here is an example:
http://alumweb.mit.edu/clubs/pugetsound.pages/table-experiment.html
The stylesheet associated with this page has a rule for body that specifies a font-size of 12px. None of the containing div's has a rule that would override this. As a consequence, the two lines of text not inside the table (the "outside world" lines) are rendered at 12px. However, for some reason, the text inside the table is not; it looks like it renders at 16px. I don't understand why this is so. I don't think there are any rules in the stylesheet that should cause this. Needless to say, I would like the text inside the table to use the same text-size as the rest of the body!
Although consistent with how the page behaves in a browser, the behavior of Dreamweaver (I'm using CS4) seems strange as well. If I click in text outside the table, the CSS Styles palette shows the values I expect--the correct font-family, font-size, line-height, and color values (from the body rule), and text-align (from the #containerMain rule). However, when I click in text inside the table (for example, in "world"), the only property shown in the "Summary for Selection" area in the palette is the font-family, and the lower part of the palette (in this case, labeled "Properties for 'body'", all the property names are lined-through except font-family. Even more confounding, Dreamweaver does not offer an explanation for why some of the properties (including font-size) are not applied. In other words, if I hover over the lined-through background-color, a tooltip appears explaining why it doesn't apply, but if I hover over font-size, no tooltip appears.
I'd really like to understand why this is happening, not just find a workaround. I'm happy to provide additional information if needed. Any help is greatly appreciated.
thanks!
--Dave
Yes! That did the trick! I didn't even notice that it was such an old doctype; luckily, just had to make the change in the base template. Thank you so much, sir!
--Dave
Similar Messages
-
How to change font size in a table?
How to change font size in a table without using the font style of another document? Please show a sample script. Thanks!
Hi Dave,
Thank you so much for the email. I tried every object and method I can
posibly think about such as
myTable.Rows.Item(1).PointSize = 24
myCell.Characters.Item(1).PointSize = 24
I got error message all the time. These objects don’t support PointSize.
All I need is to change point size of the text in InDesign tables created
using VBScript. Could you help me with this? Thanks,
Regards,
Li -
Change font size of an table with javascript
Hello!
i am new to developing in javascript as well as to indesign. i have to make a few changes to an existing script. in a user dialouge i get the font size in which the imported table should be. but how can i change the font size of an table???
please respond as soon as possible. thanks very much in advance.
moketasHi
do you want do like this (rightside) ?
To apply font to each cell, you must access TextFrame => Table => Cell => any TextObject
var doc = app.documents[0];
// two textframes, they have a table (2x2)
var tf_one = doc.textFrames[0];
var tf_two = doc.textFrames[1];
//applied to story
tf_one.parentStory.appliedFont = "Myriad Pro\tLight";
tf_one.parentStory.pointSize = 24;
//not effective against table text
//applied to text-object of each cells of table
tf_two.parentStory.tables[0].cells.everyItem().texts[0].appliedFont = "Myriad Pro\tBold";
tf_two.parentStory.tables[0].cells.everyItem().texts[0].pointSize = 24;
thank you
mg. -
How to change font size, in a table component!
Hello,i im trying to change the font size of the text inside a table component and i want to disappear the borders of the table, i was trying to achieve this using style, but this dont work, can anybody can help me with this?
Beltazor!As i recall you gotta write css styles that overide the default behaviour. There's a tutorial on the subject.
-
I have one cell in a table where the font size is different than in all the other cells. I didn't even know you could have different font sizes within a cell. I thought it was table-wide.
I went to change the table font size from medium to small, thinking it would change all of the cells, buy I still have that one odd cell. I had to bring it into the Mac version of Pages to fix it.
Did I miss something?
Dandid this file originate on the ipad, or did you start it on the desktop? Because it will preserve what you have on the desktop for some things when importing to ipad. Not everything, but some. I think this was one of them.
Jason -
CSS - Can I fractionalize font size rule?
fr'instance
font-size: 12.5px;
Many thanks
thanThank you Michael,
Kinda thought so, but the client's designer specified a table
cell had to be
186px x 111.129px
"Michael Fesser" <[email protected]> wrote in message
news:[email protected]..
> .oO(Ken Binney)
>
>>fr'instance
>>
>>font-size: 12.5px;
>>}
>
> If you can tell how a monitor should display a half
pixel? Of course you
> can define it that way, but browsers will round it up or
down.
>
> Micha -
Changing row or cell background and Font size in the table in Adobe Form
Hi Experts,
I have a problem in the Adobe Forms (Non-interactive). I have developed a form in which a table is displayed dynamically. I wanted to highlight some rows depending upon the cell value.
Kindly help me regarding this .
Thanks,
-R.S-
Moderator message: wrong forum, please have a look in the forum for "Adobe Interactive Forms".
Edited by: Thomas Zloch on May 3, 2011 5:54 PMhi,
you have to use a script for the tableline like formcalc or javascript to implement that logic.
regards,
christian -
Tables in iBooks not honoring font-size: css attributes
Within my validated flowing layout epub, I would like to have a table that is rendered 80% of the base font and the superscripted text within the table render some size smaller than the rest of the text within a particular cell.
However, iBooks on iPhone 5 renders not only the table but the 'span' text at the same size as the rest of the surrounding text. iBooks appears to ignore font-size: styling in tables completely (it does honor font-weight: though).
Is this normal/intentional behavior for iBooks?
table {
width: 60%;
font-size: 0.8em;
margin-left:auto;
margin-right:auto;
border-collapse: collapse;
.super_script {
font-size: 80%;
vertical-align: super;
<table id="table_1a-27">
<caption class="table_caption">Table 1A-27</caption>
<tr>
<td>Some text<span class="super_script">Note 1</span></td>
</tr>
<tr>
<td>
<ol>
<li>Beginning of sentence<span class="super_script">Note 2</span> than the rest of the sentence.</li>
<li>Some stuff here</li>
</ol>
</td>
</tr>
</table>
Message was edited by: zephyrmays to display markupOk so I puzzled thru my issues with getting iBooks to render superscripts and honor the CSS
font-size:
attribute.
After playing around with verious versions of my stylesheet and different setting within iBooks for iPhone, it appears that iBooks does honor the font-size: attribute to a point. If you set the text very small within iBooks using the 'AA' function, the app will only allow the content to become so small and then starts to disregard to proportional setting of superscripted text.
It appears as you scale back out the font-size: attribute settings are applied when the resulting size is at or above the minimum font size for the device.
The confusing part is when making the app text display size smaller the superscripted items stop being scaled while the normal text keeps getting smaller to the point of being the same size (or nearly so) as the superscripted content.
Hope this assists someone else in the future.
Btw is there a dev reference (Apple or otherwise) site for iBooks? I'm have an iTunesConnect membership but the resources there are limited and vague at best (with the notable exception of Book Proofer).
Regards,
Zephyr -
Change Report Font Size for Printer Friendly Page
I have a report using a template of 'Reports Region' and I have a link to a printer friendly page. Because the report text is so big I would like to make it smaller. I have already reduced the width of the report region but that has made 2 page reports run into 4 pages. I tried adding tags to the page to modify it but I was only able to make the text at the top of the page smaller and not the report. I tried modifying the theme_V3.css file but I could not find a place to modify text/font size in the report (This was trial and error as I am unfamiliar with css).
I would like to only have it smaller on the printer friendly page but if I will be forced to change it all the time I would like to know if there is at least an option.
If the only way to make this happen is to build a custom report then so be it. (But again the printer friendly page only pulls in the current page and I want it to only be small on the printer page)
I am on V2.2.
ThanksYou need to use a print media stylesheet. You'll need to find class(es) or other CSS selector(s) to attach the font size rule(s) to - look at the HTML source for your page.
-
Setting the default on font size
using a template from numbers.
and
trying to reset the font size.
can one not change the font size using a template?I am assuming you mean the font size in a table.
I have not made many templates but here is what I just did:
New document
Selected the table and set the font size to 18pt
In the sidebar next to "Basic" I clicked on the triangle and chose "redefine style from table"
Saved the document as a template
A new document created from this template has 18pt text in the table. New tables I create are created with 18pt text.
Is that what you are looking for?
If you use one of the other table styles from the sidebar, you will have to do the same thing to them as you did for the basic table style before you save it as a template. -
Dreamweaver MX -changing font size
Hi
I am using MX . When I create text in a table all looks fine in MX. However, when I view it in IE 8 or Mozillla some but not all of the lines of text have reduced in size.
I am not too familiar with the HTML code but I cannot see what is causing the problem.
Any suggestions as to what to look for would be most helpful.
JonHi Nancy O
Thank you for your response. I am sorry but I cannot give a link to the page because of Data Protection of the individuals that the page refers to, however below is some sanatized code that exhibits the same problem; after "Couples description" the font size increases.
<table width="100%" height="237" cellpadding="0" cellspacing="0">
<tr>
<td width="25%" height="215" valign="top"> <table width="100%" align="left" cellpadding="0" cellspacing="0">
<tr>
<th align="left" valign="middle" scope="row"><div align="left">MEMBERS' HOME</div></th>
</tr>
<tr>
<th align="left" valign="middle" scope="row"><div align="left">NEWS</div></th>
</tr>
<tr>
<th align="left" valign="middle" scope="row"><div align="left">MEMBERS' PROFILES</div></th>
</tr>
<tr>
<th align="left" valign="middle" scope="row"><div align="left">RALLY PROGRAMME</div></th>
</tr>
<tr>
<th align="left" valign="middle" scope="row"><div align="left">RALLY REPORTS</div></th>
</tr>
<tr>
<th align="left" valign="middle" scope="row"><div align="left">MEMBERS' FORUM</div></th>
</tr>
<tr>
<th align="left" valign="middle" scope="row"><div align="left" class="style4">PUBLICATIONS</div></th>
</tr>
<tr>
<th scope="row"><table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="25%" align="left" valign="top"> </td>
<td width="75%" align="left" valign="top"><div align="center"></div></td>
</tr>
<tr>
<td align="left" valign="top"><img src="../Partners%20Images/valmemb.gif" alt="" width="38" height="26"></td>
<td align="left" valign="middle"><div align="left">Validated Member</div></td>
</tr>
<tr>
<td align="left" valign="top"><img src="../Partners%20Images/Camera.gif" width="20" height="20"></td>
<td align="left" valign="middle"><div align="left">Photograph</div></td>
</tr><tr>
<td align="left" valign="top"><img src="../Partners%20Images/Blob%202009.gif" alt="" width="20" height="20"></td>
<td align="left" valign="middle"><div align="left">Rally Attendance 2009</div></td>
</tr>
<tr>
<td align="left" valign="top"><img src="../Partners%20Images/Blob%202010.gif" width="20" height="19"></td>
<td align="left" valign="middle"><div align="left">
<p>Rally Attendance 2010</p>
</div></td>
</tr>
</table></th>
</tr>
</table></td>
<td width="75%" valign="top"><p> </p>
<p align="center"><strong>MEMBERS' PROFILES </strong></p>
<table width="100%" border="2" cellpadding="0" cellspacing="0">
<tr>
<td width="13%" height="32"><div align="left">
<p align="center"><strong><span class="style2">SOUTH<br>
</span></strong><strong><span class="style2"> WEST </span></strong></p>
</div></td>
<td width="14%" class="style2"><div align="center"><strong>SOUTH<br>
EAST </strong></div></td>
<td width="13%"><div align="left" class="style2">
<div align="center"><strong>EAST</strong></div>
</div></td>
<td width="13%"><div align="center"><strong class="style2">MIDLANDS</strong></div></td>
<td width="10%"><div align="left" class="style2">
<div align="center"><strong>NORTH</strong></div>
</div></td>
<td width="12%" class="style2"><div align="center">
<p><strong>NORTH & <br>
BORDERS
</strong></p>
</div></td>
<td width="11%" class="style2"><div align="center"><strong>WALES</strong></div></td>
<td width="14%" class="style2"><div align="center"><strong>SCOTLAND</strong></div></td>
</tr>
</table>
<table width="100%" border="2" cellpadding="0" cellspacing="0">
<tr>
<td width="27%"> </td>
<td width="73%"><p align="left"><strong><small>Tom and Jerry </small></strong></p>
<p align="left"><small>Female age: 50 Male age: 50 <br>
<br>
<strong>Location:</strong> West Midlands<br>
<br>
<strong>We are a:</strong> Couple<br>
<strong>Experience:</strong> None<br>
<strong>Consider Ourselves:</strong> Happy <br>
<strong>Rig owned:</strong> Caravan <br>
<strong>Travel:</strong> 100 miles<br>
<strong>Will we rally:</strong> Yes <br>
<br>
<strong>Couples Description:</strong> </small> We are both non-smokers, social drinkers and very happilly married.</p>
<p align="left">We are just looking for sociable weekends. </p>
<p align="left">We love walking and cycling.<br>
<br>
<a href="mailto:[email protected]">[email protected]</a><br>
<br>
<b><font color="#FF0000">2010</font></b></p></td>
</tr>
</table>
<table width="100%" border="2" cellpadding="0" cellspacing="0">
<tr>
<td width="27%"> </td>
<td width="73%"> </td>
</tr>
</table>
<table width="100%" border="2" cellpadding="0" cellspacing="0">
<tr>
<td width="27%"> </td>
<td width="73%"> </td>
</tr>
</table>
<table width="100%" border="2" cellpadding="0" cellspacing="0">
<tr>
<td width="27%"> </td>
<td width="73%"> </td>
</tr>
</table>
<table width="100%" border="2" cellpadding="0" cellspacing="0">
<tr>
<td width="27%"> </td>
<td width="73%"> </td>
</tr>
</table>
<table width="100%" border="2" cellpadding="0" cellspacing="0">
<tr>
<td width="27%"> </td>
<td width="73%"> </td>
</tr>
</table> <p align="center"> </p></td>
</tr>
</table> -
DW CS6, two column table in form, changing font size in 1st col and can't change in 2nd
In DW CS6, I made a two column table in a form for label/data. I reduced the font size in the 1st col (label) from 12 to 10px but can't change in 2nd col (data).
Give data an ID or Class name and style it with CSS.
For better answers, we need to see your code.
Nancy O. -
Is it possible to change the font size and weight in an ADF table?
Is it possible to change the font size and weight in an ADF table? I have tried to change the various font size and weight settings for a table and its columns and they seem to have no effect on the font size or weight in a table row.
You would use skinning to modify font-size & weight for the table.
In addition to the link suggested by Vinod,
Take a look at http://biemond.blogspot.com/2009/01/adf-skinning-in-jdeveloper-11g.html
Thanks,
Navaneeth -
Font sizes between Photoshop and Edge - Any Accurate conversion table?
I have been trying to make sense of the font sizes between Photoshop and Edge. It seems that the conversion tables I have found do not actually give the right numbers and I am wondering if there is a table from Adobe that would make it easy to have the right size rather than an approximation.
I prefer to use text in Edge rather than Photoshop for many different reasons one being dynamic text.
For example a font in Photoshop in a 780 x 475 image is 8pt - In Edge, according to conversion tables it should be 11 px but it is totally wrong. It needs to be closer to 30 px to be about the same.
So, Adobe Team, any documentation on that?By the way, I have to correct the numbers but they still do not make too much sense. The artist gave me a 300 dpi file so of course the px size what wrong. After converting the file to 72 dpi, the font size happens to be 33.33 pt or 40 px which is now way too big in Edge. It looks like the size my just be the same 33.33 pt would be 33.33 px. Is this correct?
-
Change font size/type in all cells of table
Hi,
I cannot figure out how to change the font size/type in an existing table. There seems to be no way to select all cells and make a global change.
I can select individual columns and rows, and change the font for these, but that is tedious.
Anyone help?Click in one cell
Select all
cmd + T to get the Font panel then select the font and the size.
Yvan KOENIG (from FRANCE jeudi 11 septembre 2008 21:15:51)
Maybe you are looking for
-
HI, Exported the data,when we are choosing the option as Query ready format FILE --> EXPORT --> microsoftexcel --> Query ready --> selected object I am getting the following error: web page cannot be displayed --most likely cause Some content or file
-
SAP 4.7 installation error
Hi i am trying to install SAP 4.7 on windows 2003 server with oracle. I have tried to install twice, but i am getting the same error after 10 to 12 hours of installation ie nearly at the ending stage. i am giving my log file below. please help me to
-
Application server file F4 help
Hi Gurus, I am working for implementation proj in SAP ecc 6.0. i just want to understand the purpose of the function module '/SAPDMC/LSM_F4_SERVER_FILE'. Now i am working on a program which uses apacheta interface and checks for the duplicate invoi
-
How do you add video clips to an iPhoto slideshow?
I've made a slideshow for my daughter's graduation. I tried to include a couple of video clips in it, but when the slideshow gets to the first one the screen goes black and the video doesn't play. How do I do this the correct way? I use iPhoto '11
-
JDeveloper 10.1.3.3 ADF Swing - Images not rendering after deployment
Hi, I have deployed my ADF Swing application in production in very simple 2 tiers architecture. One executal jar on my desktop and The database running on a Linux server. When I run MyApp.jar from my desktop, none of my images is rendered and LOV but