Jump to content

Offset?


rockinaway

Recommended Posts

Ok..

 

Done that, I have the following code for HTML:

 

			<td style="position:relative;" width="35%">
				<div class="logo-box">
Test
				</div>
			</td>

 

And CSS:

 

.logo-box
{
        background-color: #262626;
        background-image: url("images/bg.gif");
        background-position: top left;
        background-repeat: repeat-x;
        text-align: left;
        padding: 0px;
	width:35%;
	position: absolute;
	top: 10px;
	left: 10px;
}

 

And you can see the result: http://www.etcworld.co.uk/

 

Still not right.. Does the same, but there is the space for the shape in the header.. just the actual DIV isn't aligned to it :S

Link to comment
https://forums.phpfreaks.com/topic/99593-offset/#findComment-509533
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.