Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> [help] Navigation Button Problem
dhanesh
post May 8 2007, 06:31 AM
Post #1


Binary Geek
Group Icon

Group: Members
Posts: 444
Joined: 4-November 05
From: The Digital Arena
Member No.: 9,440



This is a html+css template i took off the net for my college end sem project. I wanted to use this template for my ASP .NET application. There is a slight problem with the navigation button when clicked, please download the attached file and guide me to a solution if you can.
Open succlogin.html and then navigate through the buttons. The following htmls are linked together:

succlogin.html
succunibase.html
succstudbase.html
succprof.html
accabt.html

Also please tell me if this template can be used with ASP .NET 2005.

Awaiting your replies
Thanks in Advance
Regards
Dhanesh



Attached File(s)
Attached File  THIS.zip ( 46.93k ) Number of downloads: 3
 
Go to the top of the page
 
+Quote Post
saint-michael
post May 8 2007, 02:33 PM
Post #2


SM- the Man -The Myth - The Legend Himself
Group Icon

Group: Members
Posts: 429
Joined: 4-September 05
From: Drinking da rootbeers
Member No.: 8,313



That is weird , it is obviously a alignment error with the second tab, but when checking the other tabs out it is fine, what I suggest is that you tweak with this part of the coding:

CODE
/*Inner Stuff*/
#inner
{
    margin-top: 10px;
    margin-left: 1px;
    width: 705px;
    height: auto;
    padding-bottom: 1px;
    background-color: #f7f7f7;
}

/*Navigation Stuff*/
#navigation
{
    width: auto;
    height: 23px;
    background-color: transparent;
    margin: 0px;
    padding: 0px;
}

#navigation ul
{
    margin: 0px 0px 0px 10px;
    padding: 0px;
    position: relative;
    top: 5px;
}

#navigation li
{
    margin-left: 10px;
    background-color: #f7f7f7;
    list-style: none;
    font-size: 15px;
    font-family: Verdana, Arial, sans-serif;
    line-height: 20px;
    color: #9c0000;
    letter-spacing: -1px;
    text-align: center;
    float: left;
}

#current_tab
{
    width: 95px;
    height: 23px;
    display: block;
    background: url("./current_tab.gif") transparent no-repeat;
    border: 0px;
    border-bottom: 5px solid #ffffff;
    font-weight: bold;
}


At first I thought removing one of the tabs would work, but thats not the case since it did the same thing to the second lin. So thats hwy I would suggest tweaking the CSS and if nothing works and no one has a solution here I would suggest getting in contact with the person who originally coded this because they didn't pay attention to aligning these images properly.
Go to the top of the page
 
+Quote Post
dhanesh
post May 9 2007, 11:58 AM
Post #3


Binary Geek
Group Icon

Group: Members
Posts: 444
Joined: 4-November 05
From: The Digital Arena
Member No.: 9,440



Thanks for the quick reply michael, i compared the code you've provided. Nothing seems to be different. Could you please tell me whats to be changed exactly. Its odd that i found no mistakes with the code but still the navigation buttons are miss placed. Please guide me to the exact point of change in the code.

Thanks and regards
Dhanesh.


Go to the top of the page
 
+Quote Post
TavoxPeru
post May 14 2007, 03:28 AM
Post #4


Super Member
Group Icon

Group: [HOSTED]
Posts: 740
Joined: 8-April 06
From: Lima - Peru
Member No.: 12,579



QUOTE(dhanesh @ May 8 2007, 01:31 AM) *
This is a html+css template i took off the net for my college end sem project. I wanted to use this template for my ASP .NET application. There is a slight problem with the navigation button when clicked, please download the attached file and guide me to a solution if you can.
Open succlogin.html and then navigate through the buttons. The following htmls are linked together:

succlogin.html
succunibase.html
succstudbase.html
succprof.html
accabt.html

Also please tell me if this template can be used with ASP .NET 2005.

Awaiting your replies
Thanks in Advance
Regards
Dhanesh

It is very strange your situation, i just download your code to test it and i see what you say, then i view the index.html and indexabt.html files to see what happens and it displays correctly, so, i copy/paste this last file 3 times and edit the contents according to your files and i view that all of them displays correctly, i dont know why you got that weird situation, why you don't do this????

The only thing i notice with the ones i create is that the text of the links exceeds the width of the tab so i decide to modify the font-size -i set this property to 12px- and the text links, i use University and Student instead of UniBase and StudentBase.

I attach the new files i create if you want to download them.

I think that this template can be used without any problem with ASP, you only need to add all the server-side code to the pages and rename it accordingly.

Best regards,
Attached File(s)
Attached File  myTHIS.zip ( 5.19k ) Number of downloads: 0
 
Go to the top of the page
 
+Quote Post
viettre
post May 14 2007, 02:09 PM
Post #5


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 14
Joined: 14-May 07
Member No.: 21,935



thank you all very cool ^^
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Problem With Drag And Drop (or So It Seems).(11)
  2. Photoshop Cropping Problem(6)
  3. Administrator Account Problem In Microsoft Xp [solved](20)
  4. OnMouseOver Button(10)
  5. Error 406 - Problem In My Phpbb Forum(8)
  6. A Gaiaonline Problem(8)
  7. Trojan / Virus Problem ,please Help(17)
  8. Need To Hack An Admin Account On Xp... No Problem!(61)
  9. Fedora Core 6 Install Problem(6)
  10. Internet Explorer 7 Problem(8)
  11. Problem: I Need Urgent Help. Can't Boot.(9)
  12. Frustrating Problem With XP On Laptop(19)
  13. Spam Problem On My Forums(25)
  14. Problem With Move_uploaded_file()(5)
  15. XP Problem: Clicking On Folder Opens Search(4)
  1. New Wordpress Navigation Plugin(0)
  2. Einstein Quiz(29)
  3. Problem With The ReadOnly Property(3)
  4. Blue Screen - irql_not_less_or_equal(29)
  5. Mozilla Firefox And Runescape(10)
  6. Problem With Acdsee(4)
  7. Laptop Overheating(15)
  8. Website Navigation Hover Buttons Stick So Made Css Today(7)
  9. Problem Deleting Empty Folder In Win XP(13)
  10. Problem With Purchase Credits Page(7)
  11. Mp3 Player Problem: Sound In One Ear Only(8)
  12. Permission Problem With Mysql Database Creation(8)
  13. Mysql Problem(1)
  14. Live Messenger Display Pic Problem(5)
  15. How To Make A Simple Flash Button(1)


 



- Lo-Fi Version Time is now: 21st August 2008 - 11:29 PM