Table width issue in ie
hi all
I am using the JDeveloper11g.i am facing problem with adf table width in ie.i need to align two tables side by side .
when i am specifying width in percentages each table is allocating 100% blank space .
if i say width:30% for the table it showing 30% table with scroll ,but remaining 70% as blank and then my second table starting after that blank space.
how to remove this extra blank space (I want the width to specify in % not in Px)?
Thanks in advance
NIRANJAN REDDY. S
Hi,
does this only show on IE ? If it is the same on FF, try surrounding both tables with af:panelgroup and set its orientation to horizontal
Frank
Similar Messages
-
CS3 Conversion Table Width Issue
I recently converted to CS3 from MX. The issue is table
(widths) created in MX, look completely different in CS3 (using
layout/code view). Although in a browser appear (correctly) as
should be. What do I need to do to make the table widths appear as
they should in layout view?Please publish (upload) the page with all supporting files
and post a link
so we can see everything in context. Incomplete bits of code
are no help, to
me at least.
Walt
"CLSSuser1" <[email protected]> wrote in
message
news:g8c49n$6oa$[email protected]..
>I have noticed playing with the "cell pad" has some
really strange effects.
> I did have the cell pad set at "4". Which again, looks
OK on the browser.
> Only
> number that jumps things back into place is "0". But
that tightens things
> up
> considerably, it works, but does not look the best.
>
> Thinking back though, the table width is set for 810,
the 2 columns below
> are
> 400 and 410.
> Somehow in DW MX, if the cell padding had any number at
all, somehow the
> table
> "adjusted"?
> DW CS3 won't do that, so must be an operator error in
this case.
>
> I will adjust the right column and play with it to see
what effects
> happen...
>
> The code for the table is:
>
> <table width="810" border="0" align="center"
cellpadding="0"
> cellspacing="0">
> <tr>
> <td width="400" bgcolor="#CCCCCC"><p><img
src="../photos/4084.jpg"
> width="144" height="180" align="left">
> <td width="410" valign="top" bgcolor="#CCCCFF">
<p>
<font
> size="3" face="Verdana, Arial, Helvetica,
sans-serif">Bargaining
> Unit Supervisor</font></p>
>
> Thanks!
> Craig
> -
Hi,
I have a table with 2 rows. Row 1 = 2 columns. Row 2 = 1 column. I have a graphic in R1C1 and text in R1C2. I have text in R2C1.
When I put in a medium graphic (not close to half the width of the page) it pushes the display of R1C2 really far to the right.
here it is in edit mode:
Here it is in preview mode:
What is the cause? How do I fix?Try going to table properties and setting a defined width for the table and the columns.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
.:: SERIOUS TABLE WIDTH ISSUE ::.
everytime i pull a sliced image into dreamweaver as an html file generated from photoshop it looks great.
then sometimes :
1/100 of the times :
it becomes one pixel larger and ruins the fluidity of centering between the pages
i'm not a code creator : more like a code smuggler + manipulator :
so i've gone into the code and i'm left with nothingness as to why this one table on one
page which i've redone several times is 1135 pixels instead of 1134.
i've tried manually changing it : making them all a constant and then shrinking it : typing it in
changing code : NOTHING.
SOMEONE SAVE ME AND TELL ME WHY IT SAYS TWO WIDTHS AND HOW TO CHANGE IT :
here the image of what it's doing : http://ohsobeit.com/PROBLEM.png
thanks in advance for saving my life
.::katy bea::.First off - the worst thing you can do to a web page is to not include a doctype. Browsers have two major rendering modes: 1) Standards mode, and 2) Quirks mode. The latter is used for all pages without a valid and complete doctype. Each browser's quirks mode rules are different. Pages rendered in quirks mode will be unpredictably rendered cross-browser/platform.
Open your pages in DW, and use FILE | Convert > HTML 4.01 Transitional to get a proper doctype on them. This lack of a doctype alone could account for your inter-page variability.
Next thing - your pages have NO CONTENT! This means that search engines have nothing by which they can rank your site, since content rules your rankings. You have just pages filled with images. Period. That will never do - you'll never appear in a search.
Finally (for now) the reason your pages are shifting is related to your use of Photoshop HTML. A common feature of such HTML is that colspans and rowspans are used extravagantly in order to exactly reproduce the layout in the graphic. Read this to find out why that is the worst -
http://www.apptools.com/rants/spans.php
I'm afraid this site is not ready for prime time. You should start over, really. Sorry.... -
Consider these two simple examples which reproduce the issue I am experiencing:
http://www.y3xz.com/test2/table.html
http://www.y3xz.com/test2/table2.html
Note that on the second link (table2), there is only one TR with 3 TDs and looks ok. When you look at the first link, I added another TR with some text, and it messes up the entire first TR.
Can anyone explain the difference as to why another line in the table creates the jump in the upper cells? This behavior does not happen in any other browser out there...
Thanks for your help
- YuvalThank you for your reply.
So how exactly am I supposed to define the requested layout?
I want two fixed sized cells on either side, with the center cell spanning the rest of the available space.
I'd apreciate it if you could give an example as to how you suggest defining this in CSS.
Thanks again. -
RoboHelp 10 - Table Preferred Column Width Issue
I converted a RoboHelp 9 project to RoboHelp 10 and noticed that Column 1 in all tables has a preferred width setting of 93% and it is not allowing me to remove this setting. When I uncheck the Preferred width checkbox and click OK, then go back to the Table Properties>Column tab, the Preferred width checkbox is checked again with a width setting of 93%. The column width is not specified in the HTML, it is set to fit to the contents (<col />). The odd thing is that Column 1 only displays this way in Design view. When previewing and publishing the topic, it displays correctly (fits to contents). This however makes editing content in tables extremely difficult in Design view. Any assistance is appreciated.
If it doesn't have a width setting of 93%, where are you finding it is set to 93%?
There was a bug in Rh10 with table widths and I cannot recall the exact details without some testing. I think it was along the lines that in design view there would be problems unless the columns had a width and so did the table.
I do know that once I set up tables in a specific way, they were also fine in design view. Post back if stuck and I will look but it may not be for a few days.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
Table width not displaying correctly in IE - Works in Mozilla / Chrome
I am working tirelessly trying to optimize my site for SEO purposes and I have been able to strip out over a hundred lines of extra code while maintaining my sites look. The problem is in doing so I messed something up - well at least Internet Explorer seems to think so. My site renders just fine in Mozilla and Chrome but for whatever reason, the width of the main table for my product pages is showing up a lot wider than it should. I currently have it set to 859 pixels but Explorer is rendering a much larger table. For the life of me, I can not figure out why this is happening. Our sites homepage The BlueDot is located at http://www.thebluedot.net is showing up as it should in Explorer, but if you click on any of the products it goes wider for some reason? I have limited code access in my store front whereas I have complete control over my home page. Again - it shows as it should in Mozilla and Chrome but not Explorer...
If you happen to decide to help and see anything else I can strip down in the code or make more Google friendly - please let me know - I would so much appreciate any help you could provide. I have tried stripping out any extra tables I could with my current experience with CSS, HTML and Div tags but I know I could probably strip out much more unneeded code if my skills were a bit better.
What am I doing wrong in my code that explorer is deciding to make the table width much wider?
Thanks so much in advance.body {
background-color:fff;
font-family: Arial, Helvetica, sans-serif;
color: #006;
Add a # to your background color above.
Also align="center" is deprecated code just so you know. It looks like the table is being populated dynamically from a database. Tables will expand to hold the content it's given - just make sure your dynamically created tables use CSS that constrains the width as you desire it. Potentially this is an ASP .NET control issue (it looks like you're using .asp) and you may need to change that (the control) through whatever CSS it uses.
Hope this helps. -
Anchored Table Width in Printed Documentation
Hi all,
I'm working in RoboHelp 8 HTML and am dealing with a new pain point. Recently I created a step by step how to guide on a page within a table. Instructions are in one column and images in an adjacent column. I discovered however that the table widths weren't anchored in printed documentation. I read online that that this was a known bug so I installed the necessary patch (8_0_1.exe). Now, even after the install, I'm still seeing the problem. The generated webhelp looks fine but when I print the page the margins no longer align. Any insight into the issue would be most appreciated.
- MeredithBefore tackling your question, I strongly recommend you apply patch 802. See Opening Projects on my site.
I once investigated a problem where some cells were going off page and others were fine, is that what you are seeing? The answer is in in Print Issues on my site.
When RoboHelp generates printed output, it sends tables to Word as the defined width unless that width is greater than the width between the margins. Then it does the following:
If there are no merged cells, the table is scaled to fit the width between the margins.
If there are merged cells, the table does not get scaled and overruns the margins.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
Custom report - Can't customize font / table width etc
So i'm authoring my first report - that works fine; however I can't seem to figure out how to customize the font / table width etc. I'm creating an RDL file from Report Server Project Wizard in Visual Studio and in there i'm changing font sizes and table
widths and I can see its changing in the RDL file's XML. I then plug the RDL file into my managment pack and import it. I run the report and the results always have this huge font and the table widths don't change. Anyone have any idea what i'm missing or
why that would be happening? heres the RDL file for reference:
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<Body>
<ReportItems>
<Textbox Name="textbox1">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Report1</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>12pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>SteelBlue</Color>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>textbox1</rd:DefaultName>
<Height>0.36in</Height>
<Width>5in</Width>
<Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Tablix Name="table1">
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>1in</Width>
</TablixColumn>
<TablixColumn>
<Width>2.75in</Width>
</TablixColumn>
<TablixColumn>
<Width>3.58333in</Width>
</TablixColumn>
</TablixColumns>
<TablixRows>
<TablixRow>
<Height>0.22in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="textbox2">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Raised Date Time</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>6pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>textbox2</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>SteelBlue</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="textbox3">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Alert Name</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>6pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>textbox3</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>SteelBlue</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="textbox4">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Alert Description</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>6pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>textbox4</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>SteelBlue</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.21in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="RaisedDateTime">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!RaisedDateTime.Value</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>5pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>RaisedDateTime</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="AlertName">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!AlertName.Value</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>5pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>AlertName</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="AlertDescription">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!AlertDescription.Value</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>5pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>AlertDescription</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows>
</TablixBody>
<TablixColumnHierarchy>
<TablixMembers>
<TablixMember />
<TablixMember />
<TablixMember />
</TablixMembers>
</TablixColumnHierarchy>
<TablixRowHierarchy>
<TablixMembers>
<TablixMember>
<KeepWithGroup>After</KeepWithGroup>
<RepeatOnNewPage>true</RepeatOnNewPage>
<KeepTogether>true</KeepTogether>
</TablixMember>
<TablixMember>
<Group Name="table1_Details_Group">
<DataElementName>Detail</DataElementName>
</Group>
<TablixMembers>
<TablixMember />
</TablixMembers>
<DataElementName>Detail_Collection</DataElementName>
<DataElementOutput>Output</DataElementOutput>
<KeepTogether>true</KeepTogether>
</TablixMember>
</TablixMembers>
</TablixRowHierarchy>
<DataSetName>DataSet1</DataSetName>
<Top>0.36in</Top>
<Height>0.43in</Height>
<Width>7.33333in</Width>
<ZIndex>1</ZIndex>
<Style />
</Tablix>
</ReportItems>
<Height>0.79in</Height>
<Style />
</Body>
<Width>8.1875in</Width>
<Page>
<LeftMargin>1in</LeftMargin>
<RightMargin>1in</RightMargin>
<TopMargin>1in</TopMargin>
<BottomMargin>1in</BottomMargin>
<Style />
</Page>
<AutoRefresh>0</AutoRefresh>
<DataSources>
<DataSources>
<DataSource Name="DataWarehouseMain">
<DataSourceReference>Data Warehouse Main</DataSourceReference>
<rd:DataSourceID>e4235c51-407f-4065-8519-a1e57374bc45</rd:DataSourceID>
</DataSource>
</DataSources>
</DataSources>
<DataSets>
<DataSet Name="DataSet1">
<Query>
<DataSourceName>DataWarehouseMain</DataSourceName>
<QueryParameters>
<QueryParameter Name="@AlertName">
<Value>=Parameters!AlertName.Value</Value>
</QueryParameter>
<QueryParameter Name="@StartDate">
<Value>=Parameters!StartDate.Value</Value>
</QueryParameter>
<QueryParameter Name="@EndDate">
<Value>=Parameters!EndDate.Value</Value>
</QueryParameter>
<QueryParameter Name="@ObjectName">
<Value>=Parameters!ObjectName.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
</QueryParameters>
<CommandText>SELECT dbo.vManagedEntity.FullName,
dbo.vManagedEntity.TopLevelHostManagedEntityRowId,
dbo.vManagedEntity.ManagedEntityRowId,
Alert.vAlert.ManagedEntityRowId,
Alert.vAlert.AlertName,
Alert.vAlert.AlertDescription,
Alert.vAlert.RaisedDateTime
FROM dbo.vManagedEntity
INNER JOIN Alert.vAlert
ON dbo.vManagedEntity.ManagedEntityRowId = Alert.vAlert.ManagedEntityRowId
WHERE dbo.vManagedEntity.FullName LIKE '%' + @ObjectName + '%'
AND Alert.vAlert.AlertName LIKE '%' + @AlertName + '%'
AND Alert.vAlert.RaisedDateTime >= @StartDate
AND Alert.vAlert.RaisedDateTime <= @EndDate
ORDER BY Alert.vAlert.RaisedDateTime DESC</CommandText>
<rd:UseGenericDesigner>true</rd:UseGenericDesigner>
</Query>
<Fields>
<Field Name="AlertName">
<DataField>AlertName</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="AlertDescription">
<DataField>AlertDescription</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="RaisedDateTime">
<DataField>RaisedDateTime</DataField>
<rd:TypeName>System.DateTime</rd:TypeName>
</Field>
<Field Name="ObjectName">
<DataField>ObjectName</DataField>
<rd:UserDefined>true</rd:UserDefined>
</Field>
</Fields>
</DataSet>
</DataSets>
<ReportParameters>
<ReportParameter Name="AlertName">
<DataType>String</DataType>
<Prompt>Alert Name</Prompt>
</ReportParameter>
<ReportParameter Name="StartDate">
<DataType>DateTime</DataType>
<Prompt>Start Date</Prompt>
</ReportParameter>
<ReportParameter Name="EndDate">
<DataType>DateTime</DataType>
<Prompt>End Date</Prompt>
</ReportParameter>
<ReportParameter Name="ObjectName">
<DataType>String</DataType>
<Prompt>Object Name</Prompt>
</ReportParameter>
</ReportParameters>
<Language>en-US</Language>
<ConsumeContainerWhitespace>true</ConsumeContainerWhitespace>
<rd:ReportUnitType>Inch</rd:ReportUnitType>
<rd:ReportID>4250ddf1-3c87-47b1-b8c2-314aad86ad86</rd:ReportID>
</Report>
Any suggestions would be greatly appreciated. Thanks!I did some digging and found a link that might help you/have an answer.
http://stackoverflow.com/questions/14850503/change-default-font-ssrs-visual-studio
https://connect.microsoft.com/SQLServer/feedback/details/574003/modify-the-default-font-family-for-sql-server-business-intelligence-development-studio-while-creating-a-report#
If you click on work around someone posted that they were able to modify the default font in visual studio.
"If I am not mistaken, you can update your Report.rdl template file in visual studio
to use the default font you wish to use.
navigate to this location (where x is your visual studio version):
C:-\Program Files\Microsoft Visual Studio x\Common7\ide\PrivateAssemblies\ProjectItems\ReportProject
copy report.rdl to an already created report project.
Add the report to your report project
Update the default font where applicable.
Copy the updated report.rdl back to the location above and that is it.
The next time you open your project, you will be using the update rdl file as your
template.
You can do this as many times as you want.
Use this link as a reference
http://weblogs.sqlteam.com/jhermiz/archive/2007/08/14/60283.aspx
Cheers,
Martin
Blog:
http://sustaslog.wordpress.com
LinkedIn:
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. -
Can you make table width editable in a template
I am new to html and am trying to use a template to create a
site that will eventually have 10-12 pages. All of the pages will
have the same basic design, but some need 1 main body section and
some need 2 (1 main and 1 smaller off to the side). After doing 4
pages, I realized I could use a template so I wouldn't have to
re-enter all the links in the nav bar, etc., but if I do a page
with just one main section, I would like that section to be wider.
The template will not allow me to adjust the table. Is there a way
to make the table width editable/adjustable? Thanks for any help
you can give me... I'm sure to have many more questions once this
gets solved!Well, it's OK, but I'm not sure where you want to go with
this. I'm not
crazy about how you have used the CSS - there are things
there that I think
are unnecessary....
Consider this -
<style type="text/css">
<!--
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 80%;
color: #000;
background-color: #FFF;
margin: 0 0 0 15px;
padding: 0;
color: #000;
#wrapper {
width:720px;
div {
border:thin solid #FFF;
#banner {
background-image:
url(
http://homepage.mac.com/nminicozzi37/PFC_Web_Test_Site/ahsban_02.gif);
background-repeat: no-repeat;
height: 20px;
#main {
font-size: 90%;
#spacer {
background-color: #FFF;
height: 32px;
#welcome {
font-size: 125%;
font-weight: bold;
background-color: #FFCC00;
height: 40px;
padding-left: 5px;
padding-top: 18px;
#BlueSpacer {
background-color: #00C;
height: 20px;
#welcome2 {
font-weight: bold;
color: #00C;
background-color: #FC0;
height: 45px;
padding-left: 5px;
padding-top: 18px;
-->
</style>
</head>
<body>
<div id="wrapper">
<div id="banner"></div>
<div id="spacer">Content for id "spacer" Goes
Here</div>
<div id="welcome">Welcome to the Agoura High School
Parent Faculty Club
(AHS
PFC) </div>
<div id="welcome2"> Your source for all the latest PFC
news and
information </div>
<div id="BlueSpacer"></div>
<div id="main">Content for id "main" Goes
Here</div>
</div>
</body>
</html>
Don't get into additive trouble with percent sized fonts.
Remember, when
you have an element with font-size:100%, that's 100% of 80%,
and when you
have one with font-size:60%, that's 60% of 80%.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"AH_Nancy" <[email protected]> wrote in
message
news:[email protected]...
> Thank you thank you thank you for your helpful
suggestions, Murray.
>
> I am definitely prepared for time in the trenches.
Anything worth doing is
> worth doing right. You can see what I have done so far
>
http://homepage.mac.com/nminicozzi37/PFC_Web_Test_Site/.
(The top graphic
> will
> be replace by the correct one when I get it.) Any
comments/suggestions
> welcome.
>
> Of the ways you suggested to organize the CSS, is there
one you would
> recommend over the others, or is it simply a matter of
personal
> preference?
>
> Nancy
>
> -
Dynamic Table Width for XML Renderer
Hi Guys,
I'm looking for a way to get a XML documents with a dynamic table width.
Using a dynamic result table doesn't work.
The test program looks like this.
REPORT xml_test.
TYPE-POOLS: ixml.
DATA: go_ixml TYPE REF TO if_ixml.
go_ixml = cl_ixml=>create( ).
DATA: go_xml_document TYPE REF TO if_ixml_document.
go_xml_document = go_ixml->create_document( ).
DATA: go_xml_root_elm TYPE REF TO if_ixml_element.
go_xml_root_elm = go_xml_document->create_simple_element(
name = 'flights'
parent = go_xml_document
value = 'Texas Flight' ).
DATA: go_xml_main_elm TYPE REF TO if_ixml_element.
go_xml_main_elm = go_xml_document->create_simple_element(
name = 'airline'
parent = go_xml_root_elm ).
DATA: lv_rc TYPE i.
lv_rc = go_xml_main_elm->set_attribute( name = 'code' value = 'LH401' ).
DATA: go_xml_streamfactory TYPE REF TO if_ixml_stream_factory.
go_xml_streamfactory = go_ixml->create_stream_factory( ).
* Static Creation of X tab ---------------------------------------------
DATA: BEGIN OF gs_xml_line,
data(255) TYPE x,
END OF gs_xml_line.
DATA: gt_xml_table LIKE TABLE OF gs_xml_line,
gv_xml_size TYPE i,
go_ostream TYPE REF TO if_ixml_ostream.
* END Static Creation of X tab ------------------------------------------
* Dynamic Creation of X tab ---------------------------------------------
FIELD-SYMBOLS: <lf_x_tab> TYPE STANDARD TABLE,
<lf_x_stru> TYPE ANY.
DATA: lt_fldcat TYPE lvc_t_fcat.
DATA: lr_tab TYPE REF TO data,
lr_stru TYPE REF TO data,
ls_fldcat TYPE lvc_s_fcat,
lv_dyn_width TYPE i.
lv_dyn_width = 255.
* Append Dynamic Field.
CLEAR ls_fldcat.
ls_fldcat-fieldname = 'DATA' .
ls_fldcat-datatype = 'X'.
ls_fldcat-inttype = 'X'.
ls_fldcat-intlen = lv_dyn_width.
APPEND ls_fldcat TO lt_fldcat .
* Create dynamic internal table and assign to FS
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = lt_fldcat
IMPORTING
ep_table = lr_tab.
ASSIGN lr_tab->* TO <lf_x_tab>.
* Create dynamic work area and assign to FS
CREATE DATA lr_stru LIKE LINE OF <lf_x_tab>.
ASSIGN lr_stru->* TO <lf_x_stru>.
CHECK sy-subrc = 0.
* END Dynamic Creation of X tab ------------------------------------------
* Static Table works
go_ostream = go_xml_streamfactory->create_ostream_itable( table = gt_xml_table ).
* Dynamic Table doesn't work
go_ostream = go_xml_streamfactory->create_ostream_itable( table = <lf_x_tab> ).
* Show result
DATA: go_renderer TYPE REF TO if_ixml_renderer.
go_renderer = go_ixml->create_renderer( ostream = go_ostream
document = go_xml_document ).
lv_rc = go_renderer->render( ).
gv_xml_size = go_ostream->get_num_written_raw( ).
DATA: lv_str TYPE string,
lv_xstr TYPE xstring.
LOOP AT gt_xml_table INTO gs_xml_line.
lv_xstr = gs_xml_line-data.
CALL FUNCTION 'HR_KR_XSTRING_TO_STRING'
EXPORTING
* FROM_CODEPAGE = '8500'
in_xstring = lv_xstr
* OUT_LEN =
IMPORTING
out_string = lv_str.
WRITE: / lv_str.
ENDLOOP.
If the static table is used, the program gets a result, but it doesn't work with the dynamic table.
* Static Table works
go_ostream = go_xml_streamfactory->create_ostream_itable( table = gt_xml_table ).
* Dynamic Table doesn't work
go_ostream = go_xml_streamfactory->create_ostream_itable( table = <lf_x_tab> ).
Any Ideas?
Thanks in advance
DominikI've never used dynamically changing popup items variable before, and I'm not sure it will work(?)
But, if it's displaying a long string, it does not sound like 'items' is being assigned a proper table yet.
I don't know what you mean by a "chunk" of values. I assume you mean table.
In any case, if SYPNEventResults[1].title is a string, then SYPNEventResults[1].value can be any legal lua type.
Likewise for SYPNEventResults[2], SYPNEventResults[3], ...
If you can index/display the title with this syntax, e.g. LrDialogs.message( SYPNEventResults[1].title ), then the popup should be initialized thusly:
viewFactory:popup_menu {
items = SYPNEventResults,
value = LrView.bind('eventname2'),
width_in_chars = 40,
if a function is returning multiple values, then to get it into a table "array", do this:
local tableArray = { myTableArrayFunc( myTableArrayParameters ) }
Does this help?
Rob -
Web Content Overlay - iFrame Width Issue
I'm adding a web content overlay in one of my articles. I've created and hosted a webpage that contains an iFrame of a Google Form.
When I select my text frame in the article, apply the Web Content Overlay option, add the URL, and load/test the folio on my iPad, the iFrame width I set in my html file isn't taking effect. The web overlay isn't displaying (and wrapping the text and form) according to the width that I specified in the html file. Testing the html file in different browsers on my desktop shows a change in width, but not so on the web content overlay frame in my article. Vertical scrolling is working just fine but I'd like to have a narrower width for the form so that a user only scrolls vertically; instead of having to scroll left/right to read more information on the form.
I've tried editing the iFrame width in the code: inside the iframe element, adding a div wrapper, defining a table width... No adjustments in the html seem to be rendering correctly on iPad.
And I'm not a huge fan of the Web Content Overlay's option of Adjusting content to fit the frame since it makes the form very small.
I'm running on CS5.5; I haven't tested the direct embed into
Any help is greatly appreciated!Try to paste the code directly into InDesign. Sometimes it creates better results than just using a web overlay. I'm also dealing with some similar problem trying to get SoundCloud into the document.
-
HTMLEditorKit renders tables width attribute wrong inside paragraph
I noticed that the following html
<html>
<body>
<p>
<table width="100%" border="1">
<tr>
<td>
something
</td>
</tr>
</table>
</p>
</body>
</html>
.. doesn't 'stretch' the tables width to 100% when using JTextPane and HTMLEditorKit - it's only a few chars wide. Mozilla, Explorer and other browsers display the table right. If I remove the <p> then it works as expected.
Is there a workaround for this behavior.. it sure would be nice to have it display the table like the 'standard' browsers do.I noticed that the following html
<html>
<body>
<p>
<table width="100%" border="1">
<tr>
<td>
something
</td>
</tr>
</table>
</p>
</body>
</html>
.. doesn't 'stretch' the tables width to 100% when using JTextPane and HTMLEditorKit - it's only a few chars wide. Mozilla, Explorer and other browsers display the table right. If I remove the <p> then it works as expected.
Is there a workaround for this behavior.. it sure would be nice to have it display the table like the 'standard' browsers do. -
Fit Table width/height to Margin
It would be a great handy feature if the table width could be fitted to the margin of the page.
Moreover 'tables' need some more extra features like : distribute rows/column evenly to fit table width/height. At present this feature extends the table width/height when applied. Once I fix the width and height of the table, distribute rows/column must fit to that width/height only. The table should only extend when I add rows or column.>I have a 2-page site for a customer and have set it up as
tables (from
> Photoshop CS to Dreamweaver MX).
Bad start. Read this for a better approach -
Taking a Fireworks comp to a CSS-based layout in Dreamweaver
http://www.adobe.com/devnet/fireworks/articles/web_standards_layouts_pt1.html
http://www.adobe.com/devnet/fireworks/articles/web_standards_layouts_pt2.html
Then read this -
http://apptools.com/examples/pagelayout101.php
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Jonclyde" <[email protected]> wrote in
message
news:gfenmb$dek$[email protected]..
>I have a 2-page site for a customer and have set it up as
tables (from
> Photoshop CS to Dreamweaver MX). The first page opens
fine with the table
> occupying 100% up and down as required, but clicking a
link to the second
> page
> causes the table to shrink in size, even though (as far
as I can tell)
> both
> pages are virtually identical when it comes to layout. I
did one page,
> then
> copied it to make the second page. Check it out for
yourself here:
> www.jonathanstewart.com/chc/index.html. I can get the
second page
> (Services) to
> open properly only if I set the target to _blank. Check
the far right and
> bottom of screen on both pages. The bar at the bottom
should rest on the
> bottom
> of the browser window whatever the window's size, and
the bar at the top
> should
> extend "off the page" at both left and right. Any ideas?
> -
Advance Table Width Formatting
Hi
I have created a shared region having a advance table.
I added the shared region in the page using personalization.
The table width changes as per the data contained in it.
Sometimes, the user has to horizontally scroll on the browser.
I want to data to be displayed in table without the need for horizontal scrolling.
I tried to specify the column width, but it does not work.
Also, the cell No Wrap property is all set to default "False".
is there any way to control the width and cause the data to wrap instead of horizontal scrolling.
Thanks
GopalNo, you can't handle this.
See this note from dev guide:
No matter what value you specify for the table width, if the width is not large enough to accommodate the table content, the value is overridden at display time to take up the minimum amount of necessary space.
--Shiv
Maybe you are looking for
-
Description of marketing attribute not transfered to MSA
Hello, we have created new BPs in CRM Online 4.0 and assigned marketing attributes. After replication we've seen that the description of some attributes is not visible on mobile clients and clients on the workgroup server. Only the value of the attri
-
Hello! Can i run the host command by WEBUTIL_HOST without promt window opening? And can i pass parameters to my java code that i run form WEBUTIL_HOST? Thanks!
-
All my files suddenly disappeared. No domains in Applications Support. No iDisk anywhere. (The site is published with baremetal.com) I have the files in a folder on my desktop, but HOW do I get them back into the iWeb application?
-
How to activate field contract in transaction F-43.
Hello. In transaction F-43 is hidden field "Contract". How to activate this field (BSEG-VERTN) ? I am waiting dor help. Bogdan
-
OS 10.4.8 disables firewire connections
I have been unable to connect my La Cie firewire hard drive to my 1ghz emac since updating to 10.4.8 and having searched extensively through many post have found this to be a pretty common problem across the board. All the turn off and disconnect eve