Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   Multiple font sizes in single .ASP Table cell (http://www.velocityreviews.com/forums/t71066-multiple-font-sizes-in-single-asp-table-cell.html)

coleenholley 01-20-2004 10:49 PM

Multiple font sizes in single .ASP Table cell
 
HI All :-)

I don't know if I will be able to do this type of formatting, but what I
need to do is have a table row where the text wraps (This is easy) the first
line of text is font size 10 pt and the second (wrapped text) is 6 pt. I
know how to create a style sheet to get all of my font one size or the
other, but does any one have any suggestions on how to do this?

Line 1: font size 10pt>Hi, My name is Coleen<font size 10 pt
Line 2: font size 6pt>I need this to be small like a footnote<font size 6pt

Both lines need to be in the SAME table row/cell...

TIA if any one can help, I really appreciate it :-)

Coleen


---
Posted using Wimdows.net NntpNews Component - Posted from .NET's Largest Community Website: http://www.dotnetjunkies.com/newsgroups/

=?Utf-8?B?am9uLWpvcg==?= 01-20-2004 11:51 PM

RE: Multiple font sizes in single .ASP Table cell
 
Use span elements, as in

<td><span class="top">Line one</span><br/><span class="bottom">line two</span></td>

coleenholley 01-21-2004 12:08 AM

re: RE: Multiple font sizes in single .ASP Table cell
 
Thank you - I didn't know you could do that in ASP, only in HTLM...beginner's luck - Thanks!

---
Posted using Wimdows.net NntpNews Component - Posted from .NET's Largest Community Website: http://www.dotnetjunkies.com/newsgroups/

coleenholley 01-21-2004 12:15 AM

re: RE: Multiple font sizes in single .ASP Table cell
 
Well, I tried Span, it does NOT work with ASP .Net -- any other suggestions? I'm looking at RowSpan, but have never used it before. Do you have any links to examples of how this might work? Thanks for your help :-) Coleen

---
Posted using Wimdows.net NntpNews Component - Posted from .NET's Largest Community Website: http://www.dotnetjunkies.com/newsgroups/

Jerry III 01-21-2004 06:03 AM

Re: Multiple font sizes in single .ASP Table cell
 
Use :first-line pseudo element in your style sheet. Unless of course it's
you who's wrapping the text, then just put the first line in a span or div
element and set the style on that...

Jerry

"coleenholley" <coleenholley@-NOSPAM-dmv.state.nv.us> wrote in message
news:OEZi2e63DHA.2528@tk2msftngp13.phx.gbl...
> HI All :-)
>
> I don't know if I will be able to do this type of formatting, but what I
> need to do is have a table row where the text wraps (This is easy) the

first
> line of text is font size 10 pt and the second (wrapped text) is 6 pt. I
> know how to create a style sheet to get all of my font one size or the
> other, but does any one have any suggestions on how to do this?
>
> Line 1: font size 10pt>Hi, My name is Coleen<font size 10 pt
> Line 2: font size 6pt>I need this to be small like a footnote<font

size 6pt
>
> Both lines need to be in the SAME table row/cell...
>
> TIA if any one can help, I really appreciate it :-)
>
> Coleen
>
>
> ---
> Posted using Wimdows.net NntpNews Component - Posted from .NET's Largest

Community Website: http://www.dotnetjunkies.com/newsgroups/



coleenholley 01-21-2004 06:28 PM

re: Re: Multiple font sizes in single .ASP Table cell
 
I tried using Span, but you can not use a span element inside an ASP table row...if there is a way to do that, do you happen to have an example? Thanks for your help :-) Coleen

---
Posted using Wimdows.net NntpNews Component - Posted from .NET's Largest Community Website: http://www.dotnetjunkies.com/newsgroups/


All times are GMT. The time now is 05:46 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57