Dreamweaver Club Forums

Dreamweaver Club Forums (http://www.dreamweaverclub.com/forum//index.php)
-   HTML and CSS (http://www.dreamweaverclub.com/forum//forumdisplay.php?f=170)
-   -   img float beside H tags (http://www.dreamweaverclub.com/forum//showthread.php?t=34811)

Blue_Vision 01-02-2010 01:01 AM

img float beside H tags
Doing an "about" page.

Inside 1 container, I want to use an H tag on the left for a title with an floating img beside it to the right. When I do this, it puts the floating img below the heading instead of beside it.

Solution ideas?


Blue_Vision 01-02-2010 01:11 AM

Ok, I put the H tags below the floated image and now it lines up adjacent to each-other. Not sure if this is proper or not but it lines up right until I hear back opinions I guess...

sitewidecf 01-02-2010 12:37 PM

First I assume when you say H you mean h1?

There are alot of variations on how do accomplish what you want with CSS, floats and positioning. You can even use image replacement for the h1 and position the text within the image.

However, by not seeing your code it is hard to explain the best solution for your needs.

DWcourse 01-02-2010 02:43 PM

A CSS float or an HTML align positions the image left or right (as specified) and then wrap the content that appears after the image around the image. So what you did (in your second post) was correct. (Hopefully you are using CSS positioning)

All times are GMT. The time now is 03:33 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com