473,395 Members | 1,629 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Drop Cap in a Table

Hello,

I have versified text in a table, where each table row contains a
verse. Like :

Verse 1
Verse 2
Verse 3
Verse 4

I want to "drop cap" using CSS the first letter of Verse 1. Like :

| | erse 1
| | Verse 2
Verse 3
Verse 4

Any suggestions?

I don't think it can be done by splitting the rows in two columns. The
reason is that I cannot know how many rows the drop cap requires,
because I only use relative font size in my page. The only solution I
see is if the drop cap is an image. Like an image of the letter "V". In
that case, I need the image to automatically push right the text. The
problem is that the text is in multiple rows, so the image needs to be
floating over the table. I don't know if that's possible.

Thanks!

Feb 10 '06 #1
2 2236
pe**********@hotmail.com wrote:

I want to "drop cap" using CSS the first letter of Verse 1. Like :

| | erse 1
| | Verse 2
Verse 3
Verse 4
Completely ignoring the highly dubious use of a table...
Any suggestions?
<td rowspan="2">.
I don't think it can be done by splitting the rows in two columns. The
reason is that I cannot know how many rows the drop cap requires,
because I only use relative font size in my page. [...]

If the text size is relative, the drop cap sizes at the same scale as
the rest of the text. So why would its height be unknown?

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Feb 10 '06 #2
In article <11**********************@o13g2000cwo.googlegroups .com>, pepsi_cola40 writes:
Hello,

I have versified text in a table, where each table row contains a
verse. Like :

Verse 1
Verse 2
Verse 3
Verse 4

I want to "drop cap" using CSS the first letter of Verse 1. Like :

| | erse 1
| | Verse 2
Verse 3
Verse 4

Any suggestions?
Take it out of the table and it's simple:

CSS:
P.FirstStanza:first-letter {font-size: 180%; float: left;}

HTML:
<p class="FirstStanza">
Twas brillig, and the slithy toves<br>
Did gyre and gimble in the wabe:<br>
All mimsy were the borogoves,<br>
And the mome raths outgrabe.<br>
</p>
I don't think it can be done by splitting the rows in two columns.
Well, it can, but why do it that way? Lines of poetry don't sound
too tabular to me.
The
reason is that I cannot know how many rows the drop cap requires,
because I only use relative font size in my page.
If you make the drop cap 200%, it'll take up two rows.
The only solution I
see is if the drop cap is an image. Like an image of the letter "V".
This is backwards. The image won't resize with the text, which means
that, if you use it, you won't know how many rows it requires.
In
that case, I need the image to automatically push right the text.
Just float the image to the left.
The
problem is that the text is in multiple rows,


The real problem is that the text is in a table in the first place.

--
Michael F. Stemper
#include <Standard_Disclaimer>
A bad day sailing is better than a good day at the office.

Feb 13 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: James Knowlton | last post by:
Hello, I'm just returning to MS SQL Server after two years of dealing with Sybase ASE. I need to drop a column, using the alter table command. I keep getting an error indicating that a...
2
by: Ryan | last post by:
Just a quicky about temporarary tables. If using QA, when you create a temporary table, it gets dropped if you close the query. Otherwise you need to state 'DROP TABLE myTable' so that you can...
10
by: BuddhaBuddy | last post by:
Platform is DB2/NT 7.2.9 The table was created like this: CREATE TABLE MYTEST ( MYTESTOID bigint not null primary key, FK_OTHEROID bigint not null references other, FK_ANOTHEROID bigint not...
5
by: Markus | last post by:
I tried this: ALTER TABLE Dokumente DROP COLUMN docPrioID but I get this errormessage: DB2 SQL error: SQLCODE: -104, SQLSTATE: 42601, SQLERRMC: COLUMN;ABLE Dokumente DROP;CONSTRAINT
4
by: TycoonUK | last post by:
Hi, As I do not have IE7 on my computer, I was wondering if there is a fault in my CSS Menu when using IE7. Please can someone look at my site - http://www.worldofmonopoly.co.uk and tell me...
1
by: sparksol | last post by:
I have a form with a drop down box. If you select an option in the drop down box (depending which option is selected) one or two textbox(es) and a submit button display. I would like to keep the...
5
by: Romulo NF | last post by:
Greetings, I´m back here to show the new version of the drag & drop table columns (original script ). I´ve found some issues with the old script, specially when trying to use 2 tables with...
4
by: Joseph | last post by:
Can i drop a cloumn from a table in DB2 for Z/OS?
10
by: Dean | last post by:
My client has a db I am working that uses temp tables. During an update procedure, I had the code If fTableExists(tempTblName) = True Then DoCmd.DeleteObject acTable, tempTblName Then I thought...
11
by: tokcy | last post by:
Hi everyone, I am new in php and ajax, i am facing the prob while i click on element of first drop down then in second dropdown all element showl come from database. I mean i have three dropdown 1....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.