Fel!x Full Member
  
[AVATAR] Posts: 171 Status: Offline Gender: Male Location: Sydney Age: 31 Joined:
pmmsn | Side Table at Same Level as Banner. (5th Oct 09 at 10:23am UTC) Or something which actually makes sense. ;) | | Okay, I'm thinking this is going to be quite simple because it's commonplace on many websites, but I was wondering how you can make the normal side table begin at the same place as the banner. By that I mean something like this:

Thank you very much in advance. :] | |
|
|
dog199200 Guest | Re: Side Table at Same Level as Banner. (5th Oct 09 at 4:42pm UTC) | | want to try to do this one on your own or want to to do it for you, its very very easy, just got to merge two codes that will take like 30 seconds, no coding experience required:
Floating Menu ~ Global Header
 Code: - <style>
- body {
- margin-top: 20px;
- }
- </style>
- <table width="100%" border="0" style="position: fixed; left: 0px; top: -4px">
- <tr>
- <td align="center">
- <table cellspacing="1" cellpadding="3" class="border" border="0" width="95%">
- <tr>
- <td class="title1" id='new_menu'></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <script>
- /*Floating Menu
- Created By Wrighty
- Do Not: Rip, Repost or Claim*/
- get('new_menu','id').appendChild(get('menu_buttons','id').getElementsByTagName('font')[0]);
- get('menu_buttons','id').parentNode.style.display = 'none';
- </script>
Left Side Tables ~ Global Header
 Code: - <table border="0" cellpadding="3" cellspacing="4" style="margin-top: -30px">
- <tr>
- <td width="300px" valign="top">
- <table border="0" cellpadding="3" cellspacing="1" class="border" width="100%">
- <tr>
- <td class="title2">
- Title Here
- </td>
- </tr>
- <tr>
- <td class="window1">
- Content HERE!
- </td></tr></table>
- <br /><br />
- </td>
- <td align="right" valign="top">
Left Side Tables ~ Global Footer
 Code: - </td>
- </tr>
- </table>
-
*Hint, Remove the JS script from floating the menu and change the id's in the table and it will work fine
If you can't do that let me know and i'kll do it, I got nothing better to do. | |
|
Fel!x Full Member
  
[AVATAR] Posts: 171 Status: Offline Gender: Male Location: Sydney Age: 31 Joined:
pmmsn | Re: Side Table at Same Level as Banner. (6th Oct 09 at 7:51am UTC) | | I'd have no idea how to do that, I'm not very code-savvy, sorry. If you wouldn't mind that would be wonderful, thank you. :] | |
|
|
dog199200 Guest | Re: Side Table at Same Level as Banner. (7th Oct 09 at 5:23am UTC) | | well ok here it is
Side Tables ~ Global Header
 Code: - <style>
- body {
- margin-top: 20px;
- }
- </style>
- <table width="100%" border="0" style="position: fixed; left: 0px; top: -4px">
- <tr>
- <td align="center">
-
-
- <table cellspacing="1" cellpadding="3" class="border" border="0" width="95%">
- <tr>
- <td class="title2">
- Table 1 Title
- </td>
- </tr>
- <tr>
- <td class="window1">
- Table 1 Content
- </td></tr></table>
-
-
- <br /><br />
-
-
- <table cellspacing="1" cellpadding="3" class="border" border="0" width="95%">
- <tr>
- <td class="title2">
- Table 2 Title
- </td>
- </tr>
- <tr>
- <td class="window1">
- Table 2 Content
- </td></tr></table>
-
-
- </td>
- <td align="right" valign="top">
Side Tables ~ Global Footer
 Code: - </td>
- </tr>
- </table>
-
you'll have to adjust the margin to make it the right height though, but thats easy | |
|
Fel!x Full Member
  
[AVATAR] Posts: 171 Status: Offline Gender: Male Location: Sydney Age: 31 Joined:
pmmsn | Re: Side Table at Same Level as Banner. (7th Oct 09 at 6:56am UTC) | | That didn't work, it just made everything float in front of the banner... http://wevefoundthem.vforums.co.uk/ :/ | |
|
|
dog199200 Guest | Re: Side Table at Same Level as Banner. (7th Oct 09 at 7:14pm UTC) | | hmm... try this:
 Code: - <style>
- body {
- margin-top: 20px;
- }
- </style>
- <table class="border" width="10%" cellpadding="4" cellspacing="1" style="position: fixed; left: 25px; top: 4px">
- <tr>
- <td class="title2" align="center" width="100%">
-
-
- Title 1
-
- </td>
- </tr>
- <tr>
- <td class="window1" align="center">
-
- Content 1
-
- </td>
- </tr>
-
-
- <tr>
- <td class="title2" align="center" width="100%">
-
- Title 2
-
- </tr>
- <tr>
- <td class="window1" align="center">
-
-
- Content 2
-
-
- </font>
- </td>
- </tr>
- </table>
all of it goes in the global header | |
|