Solved

aligning graphic vertically next to text

Posted on 2011-03-17
2
162 Views
Last Modified: 2012-08-13
Headline on this page:

http://www.sterlingmodular.com/v2/pro-series.asp

Is there any possibility of aligning the graphic text next to the HTML text in a cross-browser way, so that it reads in-line? I've tried all the HTML align choices,nothing even comes close.

Thank you!
0
Comment
Question by:bbdesign
2 Comments
 
LVL 5

Accepted Solution

by:
rucky544 earned 500 total points
ID: 35157510
You could do something like this:

<h1 style="float:left; line-height:36px;">Pro Series</h1> 
<img height="36" width="209" border="0" src="art/tx_bysterlingmodular.jpg" alt="by Sterling Modular" style="float:left; padding-left:5px;">
<div style="clear:left;"></div>

Open in new window


0
 

Author Comment

by:bbdesign
ID: 35157783
That seems to work great, thanks!
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question