Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
How to prevent H3 tag break the line?
Old 01-06-2006, 03:43 AM How to prevent H3 tag break the line?
Junior Talker

Posts: 3
Trades: 0
Hi,

I've tried but don't know why H3 tag always break the line after close tag , this is my code:

<td>
<a href="..."><h3>some text here</h3></a>this text always breaked to new line</td>

thanks,

http://www.mobicolors.com
__________________

Please login or register to view this content. Registration is FREE

mobile review, mobile compare, mobile themes, wallpapers, ringtones
tuananh247 is offline
Reply With Quote
View Public Profile Visit tuananh247's homepage!
 
 
Register now for full access!
Old 01-06-2006, 03:52 AM
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
Trades: 0
Headings are block-level elements, which is why that happens. What you can do is use CSS to make it display in-line.
Code:
h3 {
    display: inline;
}
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Old 01-06-2006, 07:43 AM
Novice Talker

Posts: 9
Trades: 0
Try this out:

<HTML>
<HEAD>
<TITLE> blahblah </title>

<BODY>

<TABLE BORDER=0 NOWRAP width = "600" ALIGN = "LEFT">
<CAPTION>A test table with merged cells</CAPTION>
<th NOWRAP><td div align = "left" NOWRAP>
<h3 align = "left"><a href="...">some text here</a> <td><BR><h5>this text always breaked to new line </h5><td></tH>

</TABLE>


Should work
__________________

Please login or register to view this content. Registration is FREE

pandela is offline
Reply With Quote
View Public Profile
 
Old 01-07-2006, 01:16 AM
Junior Talker

Posts: 3
Trades: 0
Minaki: it worked like a charm, thank you

pandela: I don't want to put entire A tag into H3, thank you,
__________________

Please login or register to view this content. Registration is FREE

mobile review, mobile compare, mobile themes, wallpapers, ringtones
tuananh247 is offline
Reply With Quote
View Public Profile Visit tuananh247's homepage!
 
Reply     « Reply to How to prevent H3 tag break the line?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.12947 seconds with 12 queries