Go Back   Webmaster Malaysia Forum » Website Design & Development » Website Design

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 17-03-2008, 02:13 AM
Novice Webmaster
 
Join Date: Mar 2008
Location: PK
Posts: 21
Rep Power: 0
mwaraitch is on a distinguished road
H1 Tag

Whenever i use heading tag ie h1 tag around a sentence the next immediate text goes to next line automatically. as under:-

My Heading
other text appears here when h1 tag is used for above heading

While I want it like this

My Heading other text desired to appears here.

Can any one advice how to achieve it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 17-03-2008, 02:20 AM
amaRDaniel's Avatar
Inspired Webmaster
 
Join Date: Sep 2005
Location: shah alam
Posts: 111
Rep Power: 40
amaRDaniel is on a distinguished road
Quote:
Originally Posted by mwaraitch View Post
Whenever i use heading tag ie h1 tag around a sentence the next immediate text goes to next line automatically. as under:-

My Heading
other text appears here when h1 tag is used for above heading

While I want it like this

My Heading other text desired to appears here.

Can any one advice how to achieve it.
so dont use heading.. use font size..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 17-03-2008, 09:24 AM
mysticmind's Avatar
Super Moderator
 
Join Date: Jun 2001
Location: Mystic Kingdoms
Posts: 2,633
Rep Power: 142
mysticmind will become famous soon enough mysticmind will become famous soon enough
Send a message via Yahoo to mysticmind
yup.. use font size.

it's HEAD separated level from our body right? hehe
head is always on top.. :P
__________________
Personal's Blog! - Malaysian Artist!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 17-03-2008, 11:07 AM
yipguseng's Avatar
Lost Webmaster
 
Join Date: Jan 2007
Location: Petaling Jaya
Posts: 858
Rep Power: 40
yipguseng will become famous soon enough yipguseng will become famous soon enough
Send a message via MSN to yipguseng
if u really want it to be in <h1>, can use <span> within <h1> and u change the <span>'s font size, however is not encourage as <h1> suppose to be all big big big BIG
__________________
Boonage - Freedom is Everything
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 18-03-2008, 01:42 AM
Novice Webmaster
 
Join Date: Mar 2008
Location: PK
Posts: 21
Rep Power: 0
mwaraitch is on a distinguished road
Quote:
Originally Posted by mysticmind View Post
yup.. use font size.

it's HEAD separated level from our body right? hehe
head is always on top.. :P
Turtle can move it in or out at will, thats what I am looking at.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 18-03-2008, 01:49 AM
Novice Webmaster
 
Join Date: Mar 2008
Location: PK
Posts: 21
Rep Power: 0
mwaraitch is on a distinguished road
Lightbulb

Quote:
Originally Posted by yipguseng View Post
if u really want it to be in <h1>, can use <span> within <h1> and u change the <span>'s font size, however is not encourage as <h1> suppose to be all big big big BIG
Hm, can you please explain it a bit.I am not reffering to the sized of heading font.

The Heading and the rest of the text here.

Compared with


The Heading
the rest of the text here.

I want to achieve as in first case but have not been able to manage.
Regards
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 18-03-2008, 01:51 AM
Novice Webmaster
 
Join Date: Mar 2008
Location: PK
Posts: 21
Rep Power: 0
mwaraitch is on a distinguished road
Quote:
Originally Posted by amaRDaniel View Post
so dont use heading.. use font size..
Thanks, thats one way. Just want to do it other way. If possible. Just trying to learn few things.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 18-03-2008, 09:05 AM
mysticmind's Avatar
Super Moderator
 
Join Date: Jun 2001
Location: Mystic Kingdoms
Posts: 2,633
Rep Power: 142
mysticmind will become famous soon enough mysticmind will become famous soon enough
Send a message via Yahoo to mysticmind
If you thinking of getting better SEO with H1.
It's a bad idea if too many H1 in a single page...and maybe considered as a spam page/site by Search engine?

anyway.. to make it work.. maybe you can set a margin for:
1 - H1
2 - p
(including minus margin ie: -10px)

that's only what i think can be done.
__________________
Personal's Blog! - Malaysian Artist!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 18-03-2008, 10:33 AM
iamfreelancer's Avatar
Vibrate your Brain Please
 
Join Date: Sep 2005
Location: in my body lar...
Posts: 1,244
Rep Power: 63
iamfreelancer will become famous soon enough iamfreelancer will become famous soon enough
Quote:
Originally Posted by mwaraitch View Post
Turtle can move it in or out at will, thats what I am looking at.
ya... but the head will still be the head on its own.. the eye or mouth still cannot be located at the buntut (aka butt) wat...

use a table to seperate the two


HTML Code:
<table border="0" witdth="200" cellpadding="0" cellspacing="0">
<tr>
  <td width="100" align="left"><h1>HEADING</h1></td>
  <td width="100" align="left">normal text </td>

</tr>

</table>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 18-03-2008, 11:53 AM
yipguseng's Avatar
Lost Webmaster
 
Join Date: Jan 2007
Location: Petaling Jaya
Posts: 858
Rep Power: 40
yipguseng will become famous soon enough yipguseng will become famous soon enough
Send a message via MSN to yipguseng
HTML Code:
<h1>The Heading <span style="font-size: 10px">and the rest of the text here</span>.</h1>
something like this if i understand what u wan :P
__________________
Boonage - Freedom is Everything
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 18-03-2008, 12:48 PM
mysticmind's Avatar
Super Moderator
 
Join Date: Jun 2001
Location: Mystic Kingdoms
Posts: 2,633
Rep Power: 142
mysticmind will become famous soon enough mysticmind will become famous soon enough
Send a message via Yahoo to mysticmind
Quote:
Originally Posted by yipguseng View Post
HTML Code:
<h1>The Heading <span style="font-size: 10px">and the rest of the text here</span>.</h1>
something like this if i understand what u wan :P
It works.. but
is that valid?
__________________
Personal's Blog! - Malaysian Artist!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 18-03-2008, 02:29 PM
iamfreelancer's Avatar
Vibrate your Brain Please
 
Join Date: Sep 2005
Location: in my body lar...
Posts: 1,244
Rep Power: 63
iamfreelancer will become famous soon enough iamfreelancer will become famous soon enough
its works in ie and firefox... so i think it is valid statement....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 22-03-2008, 01:40 AM
hashie's Avatar
Inspired Webmaster
 
Join Date: Jun 2007
Location: Kuala Lumpur
Posts: 165
Rep Power: 20
hashie is on a distinguished road
haha..don understand what he wants actually. from his example..it's look like just simply <b>heading</b> is enough..lol
__________________
Hash here..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

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



All times are GMT +8. The time now is 03:00 AM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.


WebmasterMalaysia.com is Proudly Hosted by Exabytes Semi Dedicated Server.

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 58 59