Table widths - HELP!
I’m trying to get to grips with DW. I’ve built my
table layout and added a few elements but I’ve decided that I
want to alter the width of my tables.
Trouble is every time I key in the new table width in the
properties panel it just defaults back to a blank value and I cant
change any of the widths of my tables.
Why is this? How do I change my table widths?
Also why are the table widths now displayed as
‘blank’ in the properties panel when I had keyed them
in previously when originally building the layout.
Is this a template child page? Can we see the code on the
page, including
the CSS?
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
==================
"Damo303_2" <[email protected]> wrote in
message
news:go8rhb$jak$[email protected]..
> I?m trying to get to grips with DW. I?ve built my table
layout and added a
> few
> elements but I?ve decided that I want to alter the width
of my tables.
>
> Trouble is every time I key in the new table width in
the properties panel
> it
> just defaults back to a blank value and I cant change
any of the widths of
> my
> tables.
>
> Why is this? How do I change my table widths?
>
> Also why are the table widths now displayed as ?blank?
in the properties
> panel
> when I had keyed them in previously when originally
building the layout.
>
>
Similar Messages
-
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 -
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. -
Issue with tables :( Plz Help!
Hey all!
Never posted before on this forum and pretty new with
dreamweaver. So I'm having the strangest issue with dreamweaver
tables. I bought a template that I'm modifying by my self which
isnt all that hard haha. But Here's what I ran into. Whenever I put
one table and then another one under it and another one under it
and I insert txt or pics in there and save it, after I upload it
and preview it, I can only see the info from the first table.
Everything else under it, wont show up.
So no matter where and on what page I do it from that
template, if I put more than 1 table down, it'll only show the info
from the first and top table and everything else in other tables
under it, wont show up at all (after I upload it) even thou it
looks good on dreamweaver itself :(
Is there an option to enable or disable something? Plz help,
thank you all!"Unknown7" <[email protected]> wrote:
> So no matter where and on what page I do it from that
template, if I put more
>than 1 table down, it'll only show the info from the
first and top table and
>everything else in other tables under it, wont show up at
all :(
>
> Is there an option to enable or disable something? Plz
help, thank you all!
The bad news is that if you want to do anything remotely
complicated with
Dreamweaver you will have to learn a fair amount about HTML.
I would virtually
guarantee that when you put your new table in something is
going wrong so that
one or other table is not being defined correctly.
As you are modifying someone else's template there is
virtually no way to find
out what is happening other than to examine the HTML. It is
unlikely that
fiddling with any Dreamweaver settings will make any
difference.
Every table should start with something like:
<table width="100%" border="0" cellspacing="0"
cellpadding="5"
bgcolor="#e0e0ff">
<tr align="center" valign="middle">
<td width="9%"><a href="#Bottom">
and end with:
</td>
</tr>
</table>
You can have more or less as many columns as you like in a
table, (<td> ...
</td>
And more or less as many rows ( <tr><td> ...
</td></tr>) as you like, but
unless you get up to special tricks you should have the same
number of columns
in every row. You can put anything you like -- images, more
tables, whatever --
inside a cell e.g.:
<td> image, blah, table </td>,
but you mustn't put any content anywhere else, and every
opening definition
(<table>, <tr>, <td> must have a matching
closing definition in the correct
order.
You can nest tables more or less indefinitely, but
Dreamweaver Design View
sometimes blows its top if you go more than three deep.
HTML usually doesn't produce any error messages, but the
effect of omitting any
of the steps in building a page is quite unpredictable.
Sometimes a major error
will not produce any visible effect, but on other occasions a
minor error will
send the page completely haywire.
You may care to have a look at:
http://www.corybas.com/Technical/Wrapping.htm
This has a series of demonstration pages illustrating what
happens when you try
to display increasingly complicated page layouts on narrow
screens.
Once you have learnt to interpret HTML, you can often learn a
lot by inspecting
the source code for the page (in IE click view, then Source).
This works with
anybody's page, so you can look at the source code for my
pages if you wish.
Clancy -
Hello Guys,
Im just new in ABAP...and currently using smartforms . Im quite confuse in table width..
my report should be in legal size with 18 columns...dont know what is the exactly size for each column. I tried to use a table width of 300 MM..but once i preview the report..its just so small and the top and bottom size of each cell is large..so it looks like this :
Please give me some advice or technik on what to do:
99,99999
Thanks in advance
aVaDuDzHi
Go through the doc and handle the Table width/height in smartforms
How to create a New smartfrom, it is having step by step procedure
http://sap.niraj.tripod.com/id67.html
Here is the procedure
1. Create a new smartforms
Transaction code SMARTFORMS
Create new smartforms call ZSMART
2. Define looping process for internal table
Pages and windows
First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
Here, you can specify your title and page numbering
&SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
Main windows -> TABLE -> DATA
In the Loop section, tick Internal table and fill in
ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
3. Define table in smartforms
Global settings :
Form interface
Variable name Type assignment Reference type
ITAB1 TYPE Table Structure
Global definitions
Variable name Type assignment Reference type
ITAB2 TYPE Table Structure
4. To display the data in the form
Make used of the Table Painter and declare the Line Type in Tabstrips Table
e.g. HD_GEN for printing header details,
IT_GEN for printing data details.
You have to specify the Line Type in your Text elements in the Tabstrips Output options.
Tick the New Line and specify the Line Type for outputting the data.
Declare your output fields in Text elements
Tabstrips - Output Options
For different fonts use this Style : IDWTCERTSTYLE
For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
5. Calling SMARTFORMS from your ABAP program
REPORT ZSMARTFORM.
Calling SMARTFORMS from your ABAP program.
Collecting all the table data in your program, and pass once to SMARTFORMS
SMARTFORMS
Declare your table type in :-
Global Settings -> Form Interface
Global Definintions -> Global Data
Main Window -> Table -> DATA
Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
http://sapr3.tripod.com
TABLES: MKPF.
DATA: FM_NAME TYPE RS38L_FNAM.
DATA: BEGIN OF INT_MKPF OCCURS 0.
INCLUDE STRUCTURE MKPF.
DATA: END OF INT_MKPF.
SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
MOVE-CORRESPONDING MKPF TO INT_MKPF.
APPEND INT_MKPF.
ENDSELECT.
At the end of your program.
Passing data to SMARTFORMS
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZSMARTFORM'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
if sy-subrc <> 0.
WRITE: / 'ERROR 1'.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
call function FM_NAME
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
GS_MKPF = INT_MKPF
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
for Smartforms material
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sapgenie.com/abap/smartforms.htm
How to trace smartform
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
http://www.sap-img.com/smartforms/smart-006.htm
http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
Re: Need FAQ's
check most imp link
http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
<b>step by step good ex link is....</b>
<b>http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html</b>
Reward points if useful
Regards
Anji -
Dreamweaver Table Width Extending Past Page Border Question
I am updating a template for a client and my layout keeps extending beyond the width designated. I have went through the layout and tried to find and take out any extra table rows and columns or images. I have tried find/replace and replaced all widths with the correct widths. I have tried to physically click on the edge of the table and move it to the correct width. Nothing is working. Please help me get these tables to be the size I tell them to be!
That helps quite a bit.
The first rule of troubleshooting layout problems is to make sure that the code on your page validates. Let's start with the template page. It doesn't.
Go here and validate your template page - http://validator.w3.org - and you will find 49 errors, some of which are caused by not knowing the rules, others of which are caused by careless rummaging in the code. Any one or combination of ones of these could be causing your table to behave poorly. So now the trick is to go through the page and fix the validation errors. Note that both the name attribute and the id attribute can only contain letters and numbers, and cannot begin with a number. Yours contain spaces and punctuation - a real no-no. All of these should be fixed.
Also note that one of your nested tables (they are nested at least 6 deep!) has this code -
<table width="1349"
Maybe that's why it's wider than you wanted - 965px? -
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 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. SHi,
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 -
I am using pages '09. I have been trying to put together a report and I am using tables to help keep my data in line. My data is free text and would like to footnote certain data as to it origin, but footnoting is grey-out. How can I footnote in table mode inpages '09?
Footnotes can only be inserted in the main text area between the margins on a Word Processing document.
Peter -
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 -
F4-Help without using a table search help
Hi,
We´re using CRM 2007 and I have created several F4-Helps for different fields on the webui.
There it was always necessary to use an existing table search help in the GET_V-method:
CREATE OBJECT rv_valuehelp_descriptor
TYPE
cl_bsp_wd_valuehelp_f4descr
EXPORTING
iv_help_id = lv_help_id "search help name
iv_help_id_kind = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name
iv_input_mapping = lt_inmap
iv_output_mapping = lt_outmap
iv_trigger_submit = abap_true.
But how can I create a f4-help without an existing search help. I have an internal table that I want to be shown like an f4-help (not as dropdown -> a dropdown-field wouldn´t be a problem).
Structure of the internal table: COML_PROD_CAT_REL_F4
Thanx for help.
Greetings,
Sven
Edited by: Sven Keller on Aug 13, 2008 4:26 PMHi Sven,
you already pasted the correct call for creating a value help. Now what you have to alter is the variable lv_help_id to reflect a F4-Valuehelp class.
CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_f4descr
EXPORTING
iv_help_id = '(CL_CRM_UIU_BP_IDTYPE_2_F4)' "#EC NOTEXT
iv_help_id_kind = if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
iv_input_mapping = lt_inmap
iv_output_mapping = lt_outmap.
As you can see CL_CRM_UIU_BP_IDTYPE_2_F4 is a normal ABAP class implementing interface IF_BSP_WD_CUSTOM_F4_CALLBACK. Please take a look at it.
It should not be very hard to implement the single method
cheers Carsten -
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?
>
Maybe you are looking for
-
Home network for multiple users
Hi, We have an iMac and two Air's, plus phones & iPad's, but, I am struggling to find a way to make everything work together. My wife & I utilise seperate apple ID's, have our own camera rolls on phones, have our own aplications etc on our laptops, b
-
I have a 2.4GHz DP Power Mac G5(ppc) and want to know if buying a new graphics card
I need an editing computer and don't have the money to buy a new $1500 or so system. I have a 2.4GHz DP Power Mac G5 (ppc) and want to know if it would be worth buying a new graphics card and more RAM. I'm looking at around a $300 or so upgrade. I am
-
Can't restore from Time Machine during SL install?
I wanted to restore my new system from a Time Machine backup of my old computer, so I inserted the install disk and restarted holding down "C". I got a message saying "to restore from a TM backup use the utilities menu" ... but ... there is no utilit
-
On the first back-up to iCloud, my iPad1 took over 11 hours to complete. It wasn't backing up successfully to iTunes before I upgraded, but I was hoping iOS 5 would cure it. Is this normal, or should I panic?
-
Download iTunes 1 for iBook "Clamshell G3"
Is there like a website where I can download an older version of iTunes (like iTunes 1) for my clamshell iBook ?