vForums Support :: Programming & Coding :: Code Requests & Support :: Frame Work (Help Please) - View Topic
| |
| dog199200 Guest | Frame Work (Help Please) (28th Mar 09 at 11:49am UTC) Resolved | | hey i was wondering how I can go about adding like a bale setup to the .welcome table as well as the #user_table, this is what I got so far: http://inuyashasworld.virtualforums.co.uk
Currently I was trying to ago about doing the same thing that's done for adding a border around the main area of the forum, but i wanted a border around each section, i think it would look really cool, but i don't know how to delete the old tables, and then recall them within the code, Well her eis what i got so far mainly the div setup.
~CSS~
Code: - <style type="text/css">
- <!--
- /* Place a border around the forum */
- #welcome_border {
- width: 800px;
- margin: auto;
- }
- #user_table_border {
- width: 800px;
- margin: auto;
- }
- #forum_border {
- width: 800px;
- margin: auto;
- }
- #welcome_border_head {
- height: 37px;
- width: 800px;
- background-image: url('http://i25.photobucket.com/albums/c51/dog199200/Inuyasha%20Images/bgtopblue.png');
- background-repeat: no-repeat;
- }
- #welcome_border_middle {
- padding-top: 0px;
- background-image: url('http://i25.photobucket.com/albums/c51/dog199200/Inuyasha%20Images/bgmiddleblue.jpg');
- background-repeat: repeat-y;
- background-position: center center;
- }
- #weelcome_border_base {
- height: 40px;
- width: 100%;
- background-image: url('http://i25.photobucket.com/albums/c51/dog199200/Inuyasha%20Images/bgbottomblue.png');
- background-repeat: no-repeat;
- }
- #user_table_border_head {
- height: 37px;
- width: 800px;
- background-image: url('http://i25.photobucket.com/albums/c51/dog199200/Inuyasha%20Images/bgtopblue.png');
- background-repeat: no-repeat;
- }
- #user_table_border_middle {
- padding-top: 0px;
- background-image: url('http://i25.photobucket.com/albums/c51/dog199200/Inuyasha%20Images/bgmiddleblue.jpg');
- background-repeat: repeat-y;
- background-position: center center;
- }
- #user_table_border_base {
- height: 40px;
- width: 100%;
- background-image: url('http://i25.photobucket.com/albums/c51/dog199200/Inuyasha%20Images/bgbottomblue.png');
- background-repeat: no-repeat;
- }
- #forum_border_head {
- height: 37px;
- width: 800px;
- background-image: url('http://i25.photobucket.com/albums/c51/dog199200/Inuyasha%20Images/bgtopblue.png');
- background-repeat: no-repeat;
- }
- #forum_border_middle {
- padding-top: 0px;
- background-image: url('http://i25.photobucket.com/albums/c51/dog199200/Inuyasha%20Images/bgmiddleblue.jpg');
- background-repeat: repeat-y;
- background-position: center center;
- }
- #forum_border_base {
- height: 40px;
- width: 100%;
- background-image: url('http://i25.photobucket.com/albums/c51/dog199200/Inuyasha%20Images/bgbottomblue.png');
- background-repeat: no-repeat;
- }
- body {
- margin-top: 20px;
- }
- //-->
- </style>
~Div~
Code: - <div id="welcome_border">
- <div id="welcome_border_head">
-
- </div>
- <div id="welcome_border_middle">
- <div class="welcome"></div>
- </div>
- <div id="welcome_border_base"></div>
- </div>
-
-
- <div id="user_table_border">
- <div id="user_table_border_head">
- </div>
- <div id="user_table_border_middle">
- <div id="user_table"></div>
- </div>
- <div id="user_table_border_base"></div>
- </div
i put the whole css, but i'm sure you can filter out what is what | |
| Michael Moderator
Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
pmvForum | Re: Frame Work (Help Please) (30th Mar 09 at 11:00am UTC) | | So you want to remove the old borders & just have one all the way around the outside of each one? | |
| dog199200 Guest | Re: Frame Work (Help Please) (30th Mar 09 at 12:46pm UTC) | | wrighty go to the forum and you'll see what i am trying to do. I got the background in place like by copying the table structure and even got them in place with the images and stuff, Though the very top frame header images is messsed up even though the css is right, i had to add center tags to it to center it, and because of taht its 1 pixel to far to the right i think.
Mainly right now i need to rebuild the functions for the login/logout, like what buttons will show when a person is logged in and when a person is logged out, and when a person is an admin, as well hiding the user bar when the person isn't logged in, as well as all the user bar features,
sorry i know it seems like a,ot, but even showing me working examples of the code i can rework the codes or fragment them and make my own working code, but i've still got php and brisk on my mind and it am having some minor problems getting the mind set for js again... | |
| Michael Moderator
Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
pmvForum | Re: Frame Work (Help Please) (30th Mar 09 at 4:18pm UTC) | | Could you do a screenshot & tell me what I'm meant to be looking at? :S | |
| dog199200 Guest | Re: Frame Work (Help Please) (30th Mar 09 at 9:38pm UTC) | | lol i'll do my best, but do to the coding in place, it will have to be of two different forums to show you what i mean, i'll edit this when i get the sceenshots
Edit:
OK umm here is the screen shot, basically what you see in the screenshot shows no matter what, logged in, logged out, admin or not admin, when i need it to all work like a normal forum would...trust me i wish i would just call the features via css, but i did it the way you said to..
Logged In View: http://i25.photobucket.com/albums/c51/dog199200/forumdis.jpg
Guest View / Logged Out View: http://i25.photobucket.com/albums/c51/dog199200/forumdisoff.jpg
see the problem when you compare it to what a forum should look like? | |
| |
| |
|