473,585 Members | 2,552 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2242
pe**********@ho tmail.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************ **********@o13g 2000cwo.googleg roups.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:f irst-letter {font-size: 180%; float: left;}

HTML:
<p class="FirstSta nza">
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_Discl aimer>
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
33372
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 constraint is using the column. Here is the create script for the table create table mytable (col1 char(1) not null, col2 char(1) default 'A' not null )
2
4017
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 re-run the query without the table being there. Sometimes, you can have quite lengthy SQL statements (in a series) with various drop table sections...
10
26083
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 null references another, FK_LASTLYOID bigint not null references lastly, unique (FK_OTHEROID,FK_ANOTHEROID))
5
51493
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
9282
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 if it works, and if it does not, tell me why it does not work. Thanks.
1
5060
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 textbox(es) and the submit button showing until another option is selected. Also the data that's submitted is showing on the form page. Here's an...
5
13758
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 drag&drop on the same page (which was not possible). Now i´ve a new concept of the script, more object oriented. I´ve also commented the whole code so you...
4
12901
by: Joseph | last post by:
Can i drop a cloumn from a table in DB2 for Z/OS?
10
49595
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 of using: If fTableExists(tempTblName) = True Then CurrentDb.Execute "DROP TABLE " & tempTblName Is there an advantage to either? What really be...
11
4621
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. category which comes from database 2. brand which comes from databse according to content of first dropdown . and 3. price which is static. when i...
0
7908
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7836
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8199
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7950
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8212
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6606
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3863
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1447
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1175
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.