rockinaway Posted April 4, 2008 Share Posted April 4, 2008 Information on my query can be seen here: http://forums.digitalpoint.com/showthread.php?t=783195 Thanks Quote Link to comment Share on other sites More sharing options...
rhodesa Posted April 4, 2008 Share Posted April 4, 2008 You want {position: absolute; top: ###px; left: ###px;} That will move the box the specified number of pixels from the top left corner of the page, or the closest parent with {position: relative;} (aka, you may want to make you table position:relative; Quote Link to comment Share on other sites More sharing options...
rockinaway Posted April 4, 2008 Author Share Posted April 4, 2008 Hmm, that gave me a slight problem. http://www.etcworld.co.uk/ That is the result :S Quote Link to comment Share on other sites More sharing options...
rhodesa Posted April 4, 2008 Share Posted April 4, 2008 Try making the TD position relative, and then add a DIV inside it for the logo box, and position the DIV absolute Quote Link to comment Share on other sites More sharing options...
rockinaway Posted April 4, 2008 Author Share Posted April 4, 2008 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 Quote Link to comment Share on other sites More sharing options...
rockinaway Posted April 4, 2008 Author Share Posted April 4, 2008 No worries, I have fixed it Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.