Row height betweeen the elements H2 and P
I would like to set the row height between the <h2>What this is</h2> <p>A simple page put together using HTML</p>.
The space is too high for me and I need do make the height smaller. How to do it?
Thank you.
<body> <h1>My first web page</h1> <h2>What this is</h2> <p>A simple page put together using HTML</p> <h2>Why this is</h2> <p>To learn HTML</p> </body>
Both P and H2 tags have inherit values for margins and padding and it's possible there is also values in your CSS. Without seeing your code it's impossible to say whether that is at play or not. All you can do is set the margin and padding from the CSS panel or set it in the code manually (see below links).
http://www.w3schools.com/css/css_padding.asp
http://www.w3schools.com/css/css_margin.asp
Similar Messages
-
How to increase the row height of the table in the smartform
Hi,
Can any one say,
How to increase the row height of the table in the smartform.
It is presently show the row width very small, i want to increase the row with of the table in the smartform.
Plase say how can we increase the row height in the smartform.Hi Ravi,
In Smartforms , Select the Table and you can adjust the cell hieghts in OUTPUT OPTIONs TAB.
Reward points if that Helps.
Manish -
I accidently deleated a file from the Elements organizor and from the hard drive. Can I get it back? How to do it?
There's a good chance that you can if you haven't done too much work after deleting it. Typically files are not actually wiped from the hard drive, rather the space they take is marked as free to use by another file if needed. So if it hasn't been used by another file it can be recovered.
Try this program... it will help if you know where the images were stored.
http://www.piriform.com/recuva
Colin -
How to bind JTable row height to the maximum height of a the columns
Suppose i have a JTable. data setup is done. Thing is whenever data font size increases table row height should change. How?
Add a PropertyChangeListener to the table to listen for a font change event. Then use the setRowHeight() method of the table.
-
Compare previous row values for the same id and decide
Hello ,
I have this sample data
create table #student_academic
pk_id int identity(1,1) primary key ,
student_id int ,
[year] int,
[aggr_marks] float
insert into #student_academic
student_id ,
[year] ,
[aggr_marks]
values
(112,2012,55.4),(113,2012,65.4),(114,2012,82.32),
(112,2013,75.4),(113,2013,91.22),(114,2013,45.45),
(112,2014,61.2),(113,2014,95.2),(114,2014,75.6)
select * from #student_academic
from the above data i have to generate an extra status column. this status column should be decided by comparing the previous row value. the exact output should be like below.
student_id year aggr_marks Staus----------------------------------------------------------
112 2012 55.4 None
112 2013 75.4 Promoted
112 2014 61.2 Demoted
113 2012 95.2 None
113 2013 75.6 Demoted
113 2014 91.22 Promoted
113 2012 45.45 None
113 2013 65.4 Promoted
113 2014 82.32 Promoted
is there any way to write the t-sql with out using cursors ? this table has around 25GB of data. Any idea would be appreciated.
Thanks in advance.Hello,
The difficulty of your example is
that there are several rows for
the same year and the same student.
I present a solution
if there is
one line per year per
student:
TRUNCATE TABLE #student_academicinsert into #student_academic
student_id ,
[year] ,
[aggr_marks]
values
(112,2012,55.4),(113,2012,65.4),(114,2012,82.32),
(112,2013,75.4),(113,2013,91.22),(114,2013,45.45),
(112,2014,61.2),(113,2014,95.2),(114,2014,75.6)
Go
WITH CTE AS
(SELECT pk_id, student_id, year, aggr_marks,
(SELECT TOP 1 aggr_marks FROM #student_academic AS b
WHERE a.student_id = b.student_id AND a.year -1 = b.year
ORDER BY student_id) AS prev_aggr_marks
FROM #student_academic AS a
SELECT
pk_id, student_id, year, aggr_marks,
CASE
WHEN prev_aggr_marks IS NULL THEN 'None'
WHEN aggr_marks < prev_aggr_marks THEN 'Demoted'
WHEN aggr_marks >= prev_aggr_marks THEN 'Promoted'
END AS Status
FROM CTE
ORDER BY student_id, year
Regards,
Charlie
Charlie Dancoisne - Independent Consultant & Trainer (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable. This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!) -
How to set row height of the row in the interactive report?
Some of the values in the columns of my interactive report are wrapped up changing the height of the row to 2 or 3 characters.
Is there any way to change it? I would like to have all rows set to 2 characters height.
RobertAdd the following style sheet to the page HTML Header.
<style>
table.apexir_WORKSHEET_DATA td {
height: 2.8em;
</style> -
Remove the duplicate rows but keep the most recent and oldest records
I have a Product table, some products have duplicate rows(same productID). I want to keep the most recent and the oldest records based on ETL load date (or min and max productKey), delete others. How to do this in a simple way?
ProductKey | ProductID |ETL_Load_Date
1001 | 501 | 2014-01-01
1002 | 501 | 2014-01-02
1003 | 501 | 2014-01-03
1011 | 502 | 2014-01-01
1012 | 502 | 2014-01-02
1013 | 502 | 2014-01-03declare @table table (ProductKey int, ProductID int, ETL_Load_Date date)
insert @table (ProductKey, ProductID, ETL_Load_Date)
values
( 1001 , 501 , '2014-01-01' ), ( 1002 , 501 , '2014-01-02' ),
( 1003 , 501 , '2014-01-03' ), ( 1011 , 502 , '2014-01-01' ),
( 1012 , 502 , '2014-01-02' ), ( 1013 , 502 , '2014-01-03' )
SELECT *
FROM @table t
INNER JOIN (
SELECT MIN(etl_load_date) min_load_date, MAX(etl_load_date) max_load_date, ProductID
FROM @table
GROUP BY ProductID
) m
ON t.ProductID = m.ProductID
AND t.ETL_Load_Date IN (min_load_date,max_load_date)
This will show both the min and max load dates, for each ProductID
Thanks to Saeid for posting some test objects. -
BPEL function to query the Element Name and get the count of elements
Hi Guys,
I have problem with the following, can you please help me out with this.
Say i have an xml pay load:
<ns1:sampleEBO>
<ns1:PhysicalLocation>
<ns1:propertis>
<ns1:filedType>12</ns1:filedType>
<ns1:filedType1>12</ns1:filedType1>
<ns1:filedType2>12</ns1:filedType2>
<ns1:filedType3>12</ns1:filedType3>
<ns1:filedType4>12</ns1:filedType4>
<ns1:filedType5>12</ns1:filedType5>
</ns1:properties>
<ns1:propertis>
<ns1:filedType>12</ns1:filedType>
<ns1:filedType1>12</ns1:filedType1>
<ns1:filedType2>12</ns1:filedType2>
<ns1:filedType3>12</ns1:filedType3>
<ns1:filedType4>12</ns1:filedType4>
<ns1:filedType5>12</ns1:filedType5>
</ns1:properties>
<ns1:sampleEBO>
<ns1:PhysicalLocation>
Here i want to retrive the Element name ( filedType,fieldType1,fieldType2......) using any BPEL function, not the value and also get the total number of elements in the each node ( <properties> ). If i am using the "count" function its returning 2 and it's counting the properties node not the elements in the properties node.
So, can you please let me know of any function in BPEL which can do this ?
Thanks,
Krishyou only want to use a default bpel function for this? not from within xsl?
and the function should return an arraylist of elementnames i assume ?
<xsl:for-each select="//properties">
<xsl:for-each select="./*">
<xsl:value-of select="local-name()"/>
<xsl:choose>
<xsl:when test="substring(local-name(),1,9) ='filedType' ">
</xsl:when>
</xsl:choose>
</xsl:for-each>
</xsl:for-each>
<count1><xsl:value-of select="count(//properties[1]/*)"/></count>
<count2><xsl:value-of select="count(//properties[2]/*)"/></count>the count can also be used in some for-each construction or from within your bpel flow itself (if you want to loop over there, instead of xsl) -
"For explaination , like this
1 1 1 1 1 1 1 ....... to 640
+2 2 2 2 2 2 2 .......
+3 3 3 3 3 3 3 .......
=6 6 6 6 6 6 6 ....... this is the final 1D array of summed elements."
Appreciate the sample VI's but I can't open them ( I have Labview 5.01 )Here is Mikael solution, expanded to include rows and ready to use as a subVI. Now all is needed is the polymorphic version
www.vartortech.com
Attachments:
Sum_rows_or_colums.vi 25 KB -
at this juncture Elements contains very little. I need room on my memory and hard drive.
any advice greatly appreciated.at this juncture Elements contains very little. I need room on my memory and hard drive.
any advice greatly appreciated. -
CSS issue when changing the table row height to 16px
Hello,
After changing the table row height through css like this:
.table-row-cell, .table-cell {
-fx-cell-size: 16;
the table rows are correctly displayed with a 16px height but the cell bottoms seem to be incorrectly set.
For example the following css style (a red 3px bottom border):
.table-cell {
-fx-border-width: 0 0 3 0;
-fx-border-color: red;
doesn't work anymore with the new row height whereas it works with the 24px standard row height.
While investigating with Scenic View, I noticed that changing the row height changes the TableRow layoutBounds height (from 24px to 16px so that's ok) but not the boundsInParent height which remains to 27px. I think it should become 19px (16 + 1.5 + 1.5). I don't know if it's a bug.
Anyway, any help making the css red border working for a 16px row height would be greatly appreciated.
Regards,
Bruno.Q: Would this help to just use absolute div tags and give me 'ABSOLUTELY ABSOLUTE' positioning?
No. APDivs are not a good primary layout method. Use default CSS positioning (which is no positioning at all). Align page elements with margins, floats and padding.
See example -- 2-Column CSS Layout with Grids
(View Page Source in your browser to see the code)
http://alt-web.com/TEMPLATES/2-col-fixed-with-grid.shtml
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com -
Table Component and Row Height
I am using XCelsius 4.5 and using the table component. Is there anyway the row height on the table component can be linked to the Excel file? It is not dynamically changing or wrapping text based on the amount of data that is imported in.
Judging from the stack trace this has nothing to do with your variable row height. You are simply not respecting some array bounds (maybe your data array for the table model) when you insert the new row.
In newRouteFare() do you fire a tableRowsInserted event? Or something similar? Check the rows passed into the Event object to see if you are exceeding the limits of the current table model.
Thomas -
Report Generation Toolkit Table Row Height-MS Word
I am having trouble setting the table row height in the report generation toolkit. I can set the column width fine, but the row height seems to remain the same no matter what I set it to. I have attached the VI that generates and formats the table, and the printout it is resulting in. I have also attached the template file I am using.
Any tips to get this to work right? I am trying to make the cells exactly the same height as the text inside.
Solved!
Go to Solution.
Attachments:
AddMarkersToReport.vi 20 KB
badFormatting.pdf 179 KB
splitter.docx 13 KBHi,
So I tried .2 and it didn't work. So I went to Word to manually change it, and it did not work either. There is a selection box in word, for the table properties, that seems to default to the value "at least". When I changed this manually to "exactly" in word, no problem with the .2 manually in Word.
Hopefully this can be set within the template, for all new inserted tables. I'm not sure the report generator VI's expose this property. Well, this is a start for the issue.
Edit ****
You can go into the add table VI and expose the property. See pic. However, you have to decide if you want to "upgrade" this VI permanently to expose this property or make a copy with the property exposed. I haven't messed with the new class reports too much, so not sure of the ins and outs with this.
I think this is the issue with the row size becoming smaller.
Mark Ramsdale -
Different row heights in one table - is this possible?
I want the height of each row in a table to be set to fit the contents of that particular row.
The column which drives the cell height uses the cell formatting options "Wrap Text" and "Row by Row Auto Fit". These options will set the row height of all rows to that which fits the tallest cell. What I prefer is to have one row height be 4, if that's all it needs, while the next row may have a height of 32 because of a long line of wrapped text.
Can this be done with DeskI XI 3.1?In BO XIR3.1 the row height does not appear to be based on individual rows. Instead the row height is the same for each row in the table. Is there some setting that I need to adjust here?
-
Can we adjust ROW height in ALV report as like of Excel ?
Dear all,
Can we adjust ROW height in ALV report as like of Excel sheet ?
Can we increase/decrease the row height in the output display ?
How ?kps204020 wrote:
Thanks a lot for your response.
I've tried your proposal, but it has no affect. The report cells show all their content using as much lines as necessary for this.This is the default behaviour for HTML table data (tables and cells expand to fit their content).
So I still have rows with lots of lines and rows with only a few lines mixed in my IR dependant on the cell content. Because some rows filling nearly the whole screen, it is difficult to get an overview with regard to adjacent rows.
I'm using Application Express 4.1.1.00.23. with Theme 21. Scarlet and Firefox 17.0.1.Are all users using Firefox?
Actually I'm working on my first APEX Solution for usage in my company and the customers demanding a solution for this topic . So I'm very keen to find a solution.
I'm very much looking forward to your response.I've been involved with similar issues in the past. My first response is simple: Does this data have to be shown in the report? Can the offending column(s) be removed from the primary report? They will still be visible in the single row view, and the detail view if there is one.
The second option is to create a detail view for the report with a structure that is better suited to the data involved, and make this the default view. (For an example of this, see the treatment of the PRODUCT_DESCRIPTION column in the detail view of the Products report in the Sample Database Application: click on the View Detail button on the Products page.)
The third possibility is some kind of customization of the presentation of the data. This will involve using some combination of HTML/CSS/Dynamic Actions/Plug-ins/JavaScript that you may not be familiar with: do you have experience of these? To go down that route you need to describe in detail how you want to present the data, or what behaviour is required when the data is too long, and share an example of the report on apex.oracle.com that we can work with.
Maybe you are looking for
-
Problems logging in Adobe Application Manager
I have a new Adobe CC license, but I'm not able to put my credentials in Adobe Application Manager. If I click on Login, the button just Spins... my trial version stops today! Can Someone help?
-
Hangs when loading websites at times
this happens only in firefox if it is taking too long to load website, which happens quite often on desktop and laptop, I have to stop the load, then restart and it always comes up immediately. Explorer doesn't do that, but I don't want to switch bac
-
Hi, running 10.0 MP1 in clustered mode. Seeing an NPE.. java.lang.NullPointerException at weblogic.rmi.cluster.WeightBasedReplicaHandler.failOver(WeightBasedReplicaHandler.java:120) at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemot
-
Can't download driver from HP site model no. pavilion ab032tx
I can't download driver from HP site model no. pavilion ab032tx please help
-
IPod Shuffle 4th generation background noise
Apple appear to have archived the original discussion about background noise. I find the noise to be prominent. Through the (presumably low end) headphones that came with the iPod, I can't hear that much hiss, nor any whine - just as with my old 2nd