Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

Different size text on one line?
 

Macie




quote this post edit post

IP Loged report this post

Old Post  08-20-04 - 03:38 AM  
Apologies if this is not the correct qroup in which to ask this
question, but here goes.....

On a page I had two words on one line of text that displayed as
different sizes, thus:

<div id="heading">
<h1 align="left">WORDONE<font color="#000000"><em><font
size="3">....WORDTWO</font></em></font></font></h1>
</div>

and the css was:

#heading {
LEFT: 0px; POSITION: relative; TOP: 0px
}
#heading H1 {
PADDING-RIGHT: 10px; BORDER-TOP: #006 2px solid; PADDING-LEFT:
10px; FONT-SIZE: 30px; BACKGROUND: #cc99ff; PADDING-BOTTOM: 5px;
MARGIN: 25px 0px; COLOR: #000000; PADDING-TOP: 5px; BORDER-BOTTOM:
#006 2px solid

This would not validate under 4.01 strict due to the use of 'color'
and 'size'.

It's now tidied up and validates, but I can't figure a way to get the
two words to display as different sizes without using the unsupported
elements.

Would creating a new new div [#heading2] and positioning that relative
to #heading be the way to go?

Cheers



--

Macie


Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 03:53 PM. Post New Thread   
  Previous Last Thread   Next Thread next
Site Ratings & Reviews archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top