CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 2nd, 2002, 06:36 PM
calebdzahnd calebdzahnd is offline
Just Another Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: Middle America
Posts: 41 calebdzahnd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 41 m 17 sec
Reputation Power: 12
silly little css problem

ok... i have a really dumb question, and it probably stems from me not really understanding CSS very well.

I am simply putting calling on a <h3> style for an area of text.

My code is as follows...
PHP Code:
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<
tr
<
td bgcolor="BBC3D3" align="left">
<
img src="images/navbar/curve.jpg" width="30" height="20"> <h3>EVENTS</h3>
</
td>
<
code continues on....> 


for some reason, and this is probably SUPPOSED to happen, this always brings my text down to the next line like i put a <p> before it. I want my text to be right next to the image like it should be in my code.

what am i doing wrong? and feel free to ridicule me as i realize this is probably a dumb question.

thanks

Reply With Quote
  #2  
Old February 2nd, 2002, 08:24 PM
Keiichi Keiichi is offline
aHVoPw==
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jan 2001
Posts: 1,058 Keiichi User rank is Lance Corporal (50 - 100 Reputation Level)Keiichi User rank is Lance Corporal (50 - 100 Reputation Level)Keiichi User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 15 h 42 m 24 sec
Reputation Power: 14
this is just a misunderstanding of html tags. any <h#> tags are header tags, and it automatically adds that paragraph break.
So you should use the <font size=#> tag to do this.
__________________
Visit my new IIS Tutorial Series!

Reply With Quote
  #3  
Old February 2nd, 2002, 08:53 PM
degsy degsy is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2001
Posts: 1,882 degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 Days 21 h 19 m 30 sec
Reputation Power: 18
Quote:
this is just a misunderstanding of html tags. any <h#> tags are header tags, and it automatically adds that paragraph break.


Agreed, although I would apply a Class to the text rather than adding a <font> tag

Reply With Quote
  #4  
Old February 2nd, 2002, 11:29 PM
calebdzahnd calebdzahnd is offline
Just Another Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: Middle America
Posts: 41 calebdzahnd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 41 m 17 sec
Reputation Power: 12
so.... how do i use a <class> tag. i am looking some stuff up on the net tutorial-wise, but it's just confusing me more.

Thanks for all your help!

Reply With Quote
  #5  
Old February 3rd, 2002, 12:58 AM
Keiichi Keiichi is offline
aHVoPw==
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jan 2001
Posts: 1,058 Keiichi User rank is Lance Corporal (50 - 100 Reputation Level)Keiichi User rank is Lance Corporal (50 - 100 Reputation Level)Keiichi User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 15 h 42 m 24 sec
Reputation Power: 14
Code:
<style>
.bleh	{ color: green; }
</style>

<font class="bleh">Title</font>

and it doesn't have to be in the font tag. it could be in span, inputs, etc.

Reply With Quote
  #6  
Old February 3rd, 2002, 11:43 AM
degsy degsy is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2001
Posts: 1,882 degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 Days 21 h 19 m 30 sec
Reputation Power: 18
Here's an introduction to CSS:
http://www.htmlgoodies.com/beyond/css.html

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > silly little css problem

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap