vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Code Requests & Support :: Menu Buttons (again) - View Topic
Topic Rating: *****
Printable View
Sven
Full Member
***

Posts: 215
Status: Offline
Joined:  
Reputation: 5%  


pm
Menu Buttons (again) (10th Aug 08 at 9:26am UTC)
Help?
I use this code:

http://support.virtualforums.co.uk/board/database/action/view_topic/topic/3401

To try and put my menu in my banner cause I'm having a bit of difficulty getting my menu done properly and this looks to be the easiest way to do it.

As a result though, even if i put 1000 into the spot to move my menu around, the banner still results in being on 15pixels high, I've got the banner height set at 140 which is the height of the banner.

It's annoying me >_>. Halp someone {Tongue Out}

Proud Owner Of www.passportstudios.com
Proud Business Partner Of www.pardio.net
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 33
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: Menu Buttons (10th Aug 08 at 7:07pm UTC)
Have you tried the CSS alternative that DregondRahl posted in the same thread? {Smile}

rroll.to— Shorten a link, rickroll your friends.
Sven
Full Member
***

Posts: 215
Status: Offline
Joined:  
Reputation: 5%  


pm
Re: Menu Buttons (10th Aug 08 at 10:03pm UTC)
Yea, apart from the fact that it just showed up as plain text from there... Clearly was doing something wrong lol.

Proud Owner Of www.passportstudios.com
Proud Business Partner Of www.pardio.net
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 33
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: Menu Buttons (10th Aug 08 at 11:37pm UTC)
Ahh, I see that Dreggie didn't see the need to include the tags. {Tongue Out}

Give this a try:

Code:
 
  1. <style type="text/css">
  2. <!--
  3. #welcome_table .menu font {
  4.      position: absolute;
  5.      top: 0;
  6.      left: 100px;
  7. }
  8. //-->
  9. </style>
 

rroll.to— Shorten a link, rickroll your friends.
Sven
Full Member
***

Posts: 215
Status: Offline
Joined:  
Reputation: 5%  


pm
Re: Menu Buttons (11th Aug 08 at 1:14am UTC)
ty. fixed that. You might want to post that in the thread. To use the CSS one {Tongue Out}

Proud Owner Of www.passportstudios.com
Proud Business Partner Of www.pardio.net
Sven
Full Member
***

Posts: 215
Status: Offline
Joined:  
Reputation: 5%  


pm
Re: Menu Buttons (11th Aug 08 at 8:15am UTC)
Double Post:

I have another issue. Using the CSS code, I put it in px and because of that it screwed up using different resolutions.

However, I changed it to %s, causing a HUGE problem. In FF, it's how I want it - then I open up a tab and it moves, view it in IE and the same problem occurs, though, because it has a different window size to FF, it's off to begin with!

Anyway to fix this?

Proud Owner Of www.passportstudios.com
Proud Business Partner Of www.pardio.net
Alex Bailey
Senior Member
****

Posts: 503
Status: Offline
Gender: Male
Location: Uk
Age: 33
Joined:  
Reputation: 8%  


pmmsnaim
Re: Menu Buttons (again) (11th Aug 08 at 10:16am UTC)
 
ty. fixed that. You might want to post that in the thread. To use the CSS one {Tongue Out}


I thought you knew how to code css {Tongue Out} and ya didn't even add the tags {Tongue Out}

ting-tong2k6@hotmail.com
Sven
Full Member
***

Posts: 215
Status: Offline
Joined:  
Reputation: 5%  


pm
Re: Menu Buttons (again) (11th Aug 08 at 11:31am UTC)
Not CSS {Tongue Out}

HTML and PHP (learning MySQL at the moment, stupid thing), though, I must say. Coding for a forum is very different. I've scavenged around looking for how it was done with the skin, and can't find squat for it - probably cause it's mainly done in JS, which I can't even begin to comprehend lol.

Proud Owner Of www.passportstudios.com
Proud Business Partner Of www.pardio.net
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 33
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: Menu Buttons (again) (11th Aug 08 at 2:31pm UTC)
 
Not CSS {Tongue Out}

HTML and PHP (learning MySQL at the moment, stupid thing), though, I must say. Coding for a forum is very different. I've scavenged around looking for how it was done with the skin, and can't find squat for it - probably cause it's mainly done in JS, which I can't even begin to comprehend lol.


The reason for the error is because it's position is being set at absolute. Give this a try instead:

Code:
 
  1. <style type="text/css">
  2. <!--
  3. #welcome_table .menu font {
  4.      position: relative;
  5.      top: -50px;
  6.      left: 0px;
  7. }
  8. //-->
  9. </style>
 


This will position the menu buttons relative to where the original cell is, hopefully fixing the resolution error. {Smile}

rroll.to— Shorten a link, rickroll your friends.
Sven
Full Member
***

Posts: 215
Status: Offline
Joined:  
Reputation: 5%  


pm
Re: Menu Buttons (again) (11th Aug 08 at 9:42pm UTC)
Kind of worked, still slightly off in IE - but, I should be able to fix it.

Proud Owner Of www.passportstudios.com
Proud Business Partner Of www.pardio.net
 Printable View

All times are GMT+0 :: The current time is 2:49am
Page generated in 3.6604 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums