Jul 9, 2004 #1 derwent Programmer May 5, 2004 428 GB Is there a css command that will stop my h1 tag starting on the next line? I have an image to the left of it and would like to begin the h1 tag to the right of the image, but it is moving to the next line at the moment! Thanks
Is there a css command that will stop my h1 tag starting on the next line? I have an image to the left of it and would like to begin the h1 tag to the right of the image, but it is moving to the next line at the moment! Thanks
Jul 9, 2004 1 #2 Vragabond Programmer Jul 23, 2003 5,100 AT Code: <style type="text/css"> h1.inline { display: inline; } </style> This should do it. Haven't tested it though. Upvote 0 Downvote
Code: <style type="text/css"> h1.inline { display: inline; } </style> This should do it. Haven't tested it though.
Jul 9, 2004 Thread starter #3 derwent Programmer May 5, 2004 428 GB thanks mate, worked a treat. Tried everything in google to get that result! Upvote 0 Downvote
Jul 9, 2004 #4 manarth Programmer Jul 2, 1999 1,705 GB alternatively, you could float the image to the left: Code: <img src="my_pic.jpg" width="100" height="30" style="float: left;" /> <marc> i wonder what will happen if i press this...[ul][li]please tell us if our suggestion has helped[/li][li]need some help? faq581-3339[/li][/ul] Upvote 0 Downvote
alternatively, you could float the image to the left: Code: <img src="my_pic.jpg" width="100" height="30" style="float: left;" /> <marc> i wonder what will happen if i press this...[ul][li]please tell us if our suggestion has helped[/li][li]need some help? faq581-3339[/li][/ul]