I need to code an area like this: http://www.bedingfield.org.uk/example.gif
Can anyone comment? I am having problems getting the H4 to sit to the right of the image.
Many thanks Karl Bedingfield
Karl:
You can use position:relative to move the text where you want it.
For example, I've used the following html:
<h1>Home</h1>
<div class = "divider">
<img src="gifs/swagding.gif" alt=" ">
</div>with the following css:
.divider img
{
position: relative;
top: -2.5em;
height: .94em;
width: 12.5em;
margin-left: 16em;
}to produce the image next to the "Home" as found in:
http://www.earthstones.com/
My example is the same as your's other than the text and image are reversed right/left.
tedd -- -------------------------------------------------------------------------------- http://sperling.com/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
