Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

aligning graphic vertically next to text

Posted on 2011-03-17
2
Medium Priority
?
168 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 2000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses

972 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