|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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:
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 |
|
#2
|
|||
|
|||
|
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.
__________________
K1 |
|
#3
|
|||
|
|||
|
Quote:
Agreed, although I would apply a Class to the text rather than adding a <font> tag ![]() |
|
#4
|
|||
|
|||
|
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! |
|
#5
|
|||
|
|||
|
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. |
|
#6
|
|||
|
|||
|
Here's an introduction to CSS:
http://www.htmlgoodies.com/beyond/css.html |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > silly little css problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|